skysight-inc/HackerNews huggingface dataset:
> If you benefit from something someone else does, you owe them a debt of gratitude. It's not a legal debt, and it's not denominated in dollars and cents... but you shouldn't be surprised that there are norms of repaying this debt in various ways

Yes and this is what I'm criticizing. If I am in dept, then say so and make it explicit to me before I take the dept unknowingly, otherwise I'm sorry, but I will in turn shame you for being a cry baby and I won't abide by these norms, because I disagree with them.

To me, social norm is just another form of force to impose ones will on others. And thus an attack on liberty. And the idea of a social contract is that I consent to give away some liberties for being able to participate in a functioning society. But when the social contract isn't explicit, and expectations arn't stated, I find that unfair, no matter if the force is physical or psychological. The act of coming back after the deed, and saying that accepting the deed bound me to X,Y,Z where none of those was stipulated, ya I find that crooked. At this point anything can be stipulated. For example, what is Amazon supposed to do here? Should they offer a job? Pay up some amount of money? Cancel their project? Put a banner on amazon.com thanking the contributor? How long should the banner stay up? Etc. They're just at the mercy of the wims of others, and they might start to regret having taken this "dept" which they didn't know came with all these strings attached. And by the way, it's not just that they didn't know, on fact, the author had written down in details as part of the attached license what all the expectations were, but now claims that more was implicitly expected based on some loosely defined social norms. Had the work been unlicensed, Amazon would not have used it.

P.S.: But again, just to be clear, I'm talking about the principles at play here, in this particular scenario, I acknowledge this isn't like a massive issue and a crazy demand or attack on Amazon's liberty. And I'd be really amazed and impressed and would think highly of Amazon if they went above and beyond the license here.
I guess what we are looking at is how good is someone relative to their peers, was Fangio a better driver compared to his peers than Lewis is now, likely, was he a better driver, we’ll never know as the two never competed.
The issue here is the people no longer work in Massachusetts. They may not even be setting foot in Massachusetts. My situation is that I used to work in Google’s NYC office but live in New Jersey (and have lived here since pre-COVID) and have set foot in New York maybe like six times since March, never for any work-related purpose, yet New York is still withholding income taxes.
I'm referring to their guiding principal that disclosure is necessary when that disclosure might change how a consumer evaluates the review. If it is reasonable to think the disclosure would make no difference, then no disclosure is required. Though I'll admit that can be interpreted broadly enough to say that disclosure is always necessary.
> chargen server

https://en.wikipedia.org/wiki/Character_Generator_Protocol in case anyone else had never heard of this... um... unfortunate protocol. Works on TCP and UDP, basically "DDoS vector as a service" if I ever saw one (seriously, could you design a better protocol for DDoS?). Just... Who? How? Why!?
Is that possible? Aren't there hardware video decoders that deliver, well, full video at high frame rates? I'm not sure how those things work. Maybe they have a direct route to the GPU and CPU just decides how things should get composited.
What is the point of an audit except to look for unexpected flows within the revenue streams of a company?

Fraud is among the most-egregious forms of bookkeeping errors.
Because you drive on that state’s roads, are protected by its police, etc.
...or Java, for that matter: https://en.wikipedia.org/wiki/Jazelle
What are good self-hosted enterprise alternatives for Jira, Confluence, etc? Anyone got some recommendations?
Because taxes allegedly pay for the government to do things. If you're not setting foot in the state you're not using the infrastructure and services.
Superficially, it sure seems unjustifiable and I live in MA. I sure hope it's not allowed, I wouldn't want to have to pay income tax for every state in which I have a client that I earn money from.

"Massachusetts previously allowed out-of-state residents who worked for Massachusetts-based entities to deduct whatever portion of their income was derived while working from home. In practice, this meant a worker who commuted four days a week but worked from home one day a week could reduce their taxable income by 20 percent."

So MA knew what was justifiable, and is now not doing it.

Based on this reading if I take my MA incorporated LLC and move to another state I'm still supposed to pay a chunk of income tax to MA? I guess for me it's easy enough to reincorporate in a new state or country, but it's clearly ridiculous to try to grab taxes out of what I'm already paying the place I actually live and the state I actually do work from.
A few cities have yellow bike projects that operate under this same model. Volunteer some time, learn how to contribute and fix bikes, after enough time has passed, You earn a bike of your own.

I love this kind of embedded, community driven pedagogy.
It is possible with a regex iterator

#include <iostream>
#include <regex>
#include <string>

int main()
{
std::string s = "Python*C++*Java";
std::regex regex("\\*");

std::vector<std::string> out(std::sregex_token_iterator(s.begin(), s.end(), regex, -1), std::sregex_token_iterator());

for (auto &s: out) {
std::cout << s << '\n';
}

return 0;
}
Hopefully not, with modules in C++20 and beyond.

Of course, it still will support headers.
> Saying "thank you" and giving credit to someone who did you a solid is pretty universally a norm.

How much time have you spent looking for counterexamples in the society where you live? Where people do something for the common good and most consumers do not say "Thank you". Have you done this exercise?

> Or, there's just the fraction of people who disregard and push back on norms

This is a convenient, self-fulfilling narrative. It is also pitting you into an adversarial position with someone. It's highly risky to insist on a norm and accuse others of not honoring it - and then be viewed as someone who is inflexible. It's your choice, though.
Don't modern browsers already use GPU acceleration?
Or Lisp: https://en.wikipedia.org/wiki/Lisp_machine
Shareholders do pay them. Auditors report to the board, who represent shareholders, not mgmt. In practice though the boards are usually rubber stamps.
TurtleDB – Offline-first, collaborative Web application framework
Same. My normal set up is having a shell window with 4 tabs:

1. Text editing
2. Command Line
3. Program logs
4. Code console

Flipping through them is a breeze, and I never have to leave Terminal. The displays are always simple, straight forward, and focused. No distractions. I'm able to just get in the zone with the code and forget anything else exists.
But you need to take a very long position on this.

Someone's beloved cat died? That's your problem, because it's affecting the way they work. You need to help them through it.

Someone's working well? That's great, but you can't rest on your laurels. You need to help them grow into a more senior position so they don't get bored or disillusioned.
Yeah, totally blind sided by it, so I never saw it coming. Someone tried to pass me on the left while I was turning left with my turn signal on (it was still flashing after the fact according to the police report). It was a 2 lane FM road in a double solid line. I also had a side impact airbag that deployed, so no telling how loud that was as well. Thankful for it, as it prevented all of the shattered glass from flying into the car and my face.
What does California have to do with all this?
TLDR Yes.

I having been writing C++ extensively for research/work/etc the past 5 years. Compared with modern languages it completely deserves the bad rap.

C++ has come a long way, can you write cleaner code than you could 10 years ago? yes.
Are there safer abstractions than there were? yes.

The amount of issues I have to deal with in C++ on a day to day basis which are just non-issues in Rust or Go, etc.

Without complaining too much dependency management and tooling are stuck in the stone age.

Every time I get to use Cargo going back to C++ is a nightmare, even Python which has pretty poor tooling around this is a million light years ahead.

Even simple things like having to carefully order headers or deal with obscure cross-platform incompatibility are mostly non-issues in newer languages and the baggage of C and C++ leads to a lot of unnecessary pain that doesn't provide low-level control or performance advantages.
To riff on a quote originally about unix:

"Excel doesn't stop you from doing stupid things because then it would stop you from doing smart things."
Right at the beginning,

> This calls for regular expressions

Why? A regular expression is a whole new program, written in a whole new programming language (one used to program finite state machines, instead of Turing ones, but still). Why not just write a simple function to compare string suffix? Is you programming language (C++, in this case) so anaemic that you need a whole different language to do such basic operations?

This is what people who don't like C++ complain about, in addition to the language, the self-indulgent culture around it.
I guess arguably the state is also creating the conditions for your job to exist (with infrastructure and services that you aren't paying for), but I sure hope that's not a convincing argument enough for income taxes.

That's about as literally what corporate taxes should be going to as it gets.
Considering how slow modern webpages have got, especially without adblocks, people would actually buy this.
This disagrees with my experience in both systems, especially if you’re using TFS for your build system, too and Visual Studio for programming. TFS was far better.
Yes, all the time. Imagine that Bob emails Sue and asks for help. Sue says, "I don't know the answer to this, but Jack does. I've CC'd Jack." And then Jack replies and says, "Moving Sue to BCC. Bob, I can help you with your problem..."

And now Bob and Jack can have a conversation and Sue doesn't get flooded with responses that she's no longer interested in...
And then there’s ranked-choice voting to vote yes on too! Lots of good reasons to vote in MA this year!
If you go to the latest tom Hanks trailer up on YT, the comment section is full of QAnon folks who claim he’s part of a cabal of paedos.

Some people are crazy and they should not have a platform.
I had this on my bookmarks but never used them:

https://news.ycombinator.com/item?id=18335723
In our case we're ditching our office and that probably means we'll be using the Atlassian cloud instance (since I imagine our server racks will be scrapped eventually), which might be a trend they're seeing altogether.
The current state of C++ is that of Madonna trying to stay relevant in the modern music world. You can have her rap, have her dab, or use autotune but she still won’t fit in as easily as a Billie Eilish.

I look at C++ and wish it had C#’s compile-time attributes, first-class reflection, mixins, a decent syntax for pure virtual functions, and a more logical pointer syntax (it’s illogical and you know it). However, they can’t give me those things without drastically breaking backwards compatibility. At that point it’s a new language.

I wish we could just develop a C++ 2 for greenfield projects and stop development of C++ where it’s at instead of Frankensteining more features onto it. I guess that’s what Nim and Rust are for.
Might as well be a capture card that serves the page as one long jpg.
This would be an appalling thing to happen to the web, so therefore it absolutely will be a real product in the next 5 years.
I’ve seen people do things like compare Seattle and SF housing prices and say, “see, they’re growing more slowly in Seattle because they’re building more!” Even if that’s the case (possible, but there might be other factors at play as well)…that doesn’t solve housing affordability for anyone. It was still getting more expensive, just more slowly.
Google is beginning the forced migration from Hangouts to Chat next year
The author concludes "it would seem to be fairly nice" but ... compared to what? Without comparing to a solution in at least one modern alternative, I'm not sure the statement means anything at all.
Even then, the interest tends to be in key moments and stages. A final sprint, a hard climb, a segment with side wind or cobblestones. Back in the 90s, during Indurain's dominance, just about everyone in Spain tuned in to watch, but other than special moments, most people dozed off the afternoon nap.
Thank you for your final comment. As a lawyer, reading people's reactions to 230 repeal attempts (especially when it comes from educated engineers and technologists) is shocking. What is more astounding is that, for some reason, they seem convinced that this will take out FB/Google/Twitter, etc. where we have ample evidence that the opposite will occur, and they'll just become further entrenched platforms since they are the only ones that would have the financial capacity to continue running community based platforms effectively. I have yet to come across a strong argument for repeal that doesn't exacerbate the issues that repeal proponents purport to want to address.
Sure. And people I know are moving officially remote to NH and will not be going into an MA office except rarely so they will/should no longer be on the hook for MA income taxes.
> "If you don't see the use of it, I certainly won't let you clear it away. Go away and think. Then, when you can come back and tell me that you do see the use of it, I may allow you to destroy it."
If you live in NH and work in MA, MA taxes you as if you were a resident. I think if you are under a fairly small number of days, you are exempt (e.g. you WFH permanently in NH and occasionally go to the office in MA for a meeting). More than that and you become a part year resident so your MA tax liability is pro-rated by days_in_ma/365. Anything over I think 180 days and you're just considered a resident and pay 100% (which will be most NH people with MA jobs).

With so many MA employee-but-NH-residents WFH since March, they will now qualify either as a part-year resident and pay the much smaller pro-rated amount under the part year residency rule, or if under the min-days nothing at all.

Predictably MA wants its tax $ and is now going after NH residents who it thinks would normally be working in MA even though they have been out of state.

Of course these NH residents don't get access to any of the services in MA, except for the roads they drive on to get to work (they likely buy their gas and Dunkin' Donuts in NH).
> Does the same thing happen along the NV CA border

Well, the same thing happens for nonresident remote workers with CA employers: https://www.palmspringstaxandtrustlawyers.com/nonresidents-w...

> NV border towns

Aside from Stateline and Incline Village and other places around Lake Tahoe, towns on the NV side (really, either side, but the NV side is germane here) of the CA-NV border aren't exactly places that are attractive to live, and even those few aren't convenient commuting distance for the occasional office visit for the kind of WFH job where being close to the office in CA would matter, because the CA tech hubs aren't anywhere near the NV border. So, if you are going to work remotely out-of-state for a CA firm for tax advantage, you aren't especially likely to do it from an NV border town, as opposed to somewhere else in NV or an even more distant low-tax state.
This really resonates with me. I never understood why my mom would spend whole sundays with football on, but have probably watched 20 hours of worlds for league of legends in the last two weeks. I play with my friends and have for 10 years, it's part of who I am. It seems silly, I imagine, but it seems like it must be the same thing for me as it always was for her.
The ARM instruction set was expanded to better support JavaScript[0], so why not?

[0]: https://stackoverflow.com/questions/50966676/why-do-arm-chip...
And Zulip's UX is far better than Slack's. If you haven't tried it, I recommend it.
Portland gets winter, but you can just stay inside that weekend.
https://en.wikipedia.org/wiki/State_income_tax -- Mass is in the middle of the pack for total tax burden, way below places like Mississippi for example.

"Taxachussetts" is catchy, and MA is culturally liberal, so the perception sticks.
This is not too unusual. For me if I jut my jaw forward, it temporarily increases the noise also.
> Now, after all the struggle, my vimrc is around 50 lines in length. It only includes simple and frequently used commands, like this map to toggle search highlighting with ctrl-/

Isn't the usual one (perhaps it's even default) leader (default \)-l?

I used to use Esc, which honestly I really do prefer (intuitivly - I'm in 'search mode', ESC to get back to normal), but it's somewhere between painful and impossible to portably implement without weird bugs, so I eventually gave in.
It can happen, but it's pretty rare. And when it happens nothing changes because no one cares.
> five days difference in hospital stay that was implied costs a lot more than that

In case of COVID, it's not just a cost issue, but also clearing the bed as soon as possible, to put a new patient in.

10% less hospital stay, means 10% more patients able to get help.
Perhaps you should actually read the article :)
Is this a nerd sniping thing? It has been a while since I've wrestled with Perl, but I suppose the recursive file search would keep it from being a one-liner. 4-5 "reasonable" lines maybe? Definitely less than 80 characters? I see I don't even have Perl installed on this machine, oh well.
This weird ambiguous syntax exists to allow among other things templates that take either primitive or class types. It makes primitive types usable as if they are classes with copy constructors.

That being said, it can certainly be ugly. A lot of the ugliness comes from trying to maintain itself as a mostly superset of C. Technically it no longer is strictly that, but most C code will compile fine in a C++ source file.
More interestingly, is there an easy way to figure out if it is for you. Do you pay if it doesn't work?
I appreciate the suggestion. I do have a bit of aftershock (I avoid calling it PTSD) where if I'm sitting waiting for a left turn where will I suddenly get a weird flinch feeling without actually flinching.

For me, the ringing is only noticeable when it is quiet, so bed time is annoying. I run a small fan for the white noise to compensate. Other times of the day, music is playing while I'm working (not headphones).
Allegedly. And yet very few tax or government funding systems even attempt to measure usage to determine individuals' tax burden (there are some exceptions, like toll roads). Public schools are obviously paid for by everyone regardless of parenthood. The argument is that education is important to society and that everyone benefits from having an educated population, and yet the amount of funding and the amount of taxes varies wildly from district to district despite students being free to move anywhere they please after they finish their public education.
That's always been the way. If you register your LLC in Delaware or Nevada and live in MA, you still have to register it as a "foreign corporation" and pay the annual fees (which is approx the same as just having an MA registered LLC). And since you're "earning" in MA, yeah you'll have to pay MA taxes on that.

And if you have a co-founder in a different state, chances are they'll have to do the same in that state.
I think it's pretty nice in Scala. I don't know if "no virtual machines" was implied as part of the "no script languages" request, though.

scala> "Mary had a little lamb. The lamb was in federal witness protection.".split("lamb")
res0: Array[String] = Array("Mary had a little ", ". The ", " was in federal witness protection.")
This would even be effective, in my opinion, if they just merged your fingerprint with other, random users.
You can update FPGAs over-the-air, the are reconfigurable silicon. You already have this for your CPUs whenever you install an "Intel microcode update".
'Where you set foot' is actually the most important thing, or else we'd all be paying zero taxes in some state while 'not setting foot there'.

The most obvious artifact of 'where you set foot' is where you have your residence, and for taxation 'how long you're there per year' actually matters.

So if you spend > 1/2 of your waking life in Zone A, but sleep in Zone B ... well, it might make a little bit of sense to have some kind of tax regulation there, or not.

Because you get most services like water, roads, garbage, 'healthcare' where you 'reside' it's probably just easier to make it all about residence and that's that. But again, 'residence' is where you 'set foot the most'.
HomePod Mini Supports Low-Power Thread Networking Technology
Like every programming language out there, C++ is a tool. And like every tool out there it has its uses.

There isn't any point of using C++ to count words in a text file. Any high-level language like Python will beat you to it. However, there's one thing you can do in C++ and not in Python or JavaScript or PHP: fully control the memory layout of your data.

While you don't need it in most of the cases, it becomes a killer feature when directly dealing with large amounts of data:

* Try implementing an on-disk hash table in Python and you're stuck manually packing ints and longs in an out of arrays. In C++ it could a simple template used with a memory-mapped file.

* Try doing anything non-trivial on a microcontroller with 32KB of RAM. You could theoretically use a higher-level language, but you will end up using >10x amount of RAM.

* Try designing an application-specific data structure in any other language. Let's say you have an ~8GB in-memory database that slowly adds records one-by-one and then invalidates them in chunks. A C++ implementation will rip anything else to shreds. You just won't get the same speed and memory efficiency.

What it means in practice, is that unless you have an existing project that uses C++ anyway, you want to partition it: do the memory-critical part in C++, and communicate to it from a higher-level language via a high-level interface. You will get performance where you need it and a peace of mind everywhere else.
Atlassian does not provide particularly good guidance on how to get their tools to perform well. The first big issue for any moderately busy system is that you need to dedicate huge gobs of heap memory (think 16G+) to the tool. After that, they suffer from poor schema design - there are tables that are literally missing indexes on commonly queried columns, and some columns that have delimited values embedded in them.

It's hard for me to imagine that atlassian would allow individual instances of jira/confluence/etc in their cloud versions to get nearly as much resources as you need to give them on-prem. The incentive would always be for them to try to minimize the amount of memory every instance gets, which does NOT maximize your individual performance. Shared resources will also make performance more variable and "noisy", making it more difficult to narrow down specific causes. It's hard for me to see how "Java" and "cloud" go together.