skysight-inc/HackerNews huggingface dataset:
Unfortunately while C++ does distinguish between things which can appear on the left hand side and right hand side of assignment, the things that can go on the lhs are much broader than in most programming languages. For example, a pretty normal thing to write in C++ is `foo(map) = 1;`, where foo something like `int& foo(std::map<std::string, int>& map) { return map["key"]; }`.

The ability to compute and pass around lvalue references (where "lvalues" are approximately "things that can appear on the lhs of assignment") is a very powerful feature, but also one which causes complexity in all sorts of other places, which is a bit of a theme for C++. One of those complexities is that non-const `operator[]` essentially has to be `operator[]=` even if at this specific call site there's no assignment happening.

C++ could have had const `std::map:::operator[]` throw an exception if the key isn't present, but having const and non-const versions of a function do different things is extremely error-prone and instead you have to use at() if that's what you want.
In fact, in some European countries it was until recently general usage to prefix a postcode with the country abbreviation for cars,[0] i.e., A for Austria, B for Belgium, D for Germany, FIN for Finland, H for Hungary, NL for the Netherlands, SLO for Slovenia, etc. But I guess the ISO country codes are now at least as well recognized and will also work.

[0] http://www.columbia.edu/~fdc/postal/#europe "After World War II and up until the mid-1990s, all European postcodes included country-code prefixes. These were originally United Nations "car codes" (one, two, or three letters), kept in an annex, "Car (Or Road) Distinguishing Signs", to the 1949/68 United Nations Conventions on Road Traffic, adopted in part by the European Conference of Postal and Telecommunications Administrations (CEPT). These codes were not accepted by the Universal Postal Union as a world standard, but were widely used anyway."
> unless an Island is involved, then only the needed amount of JavaScript will be sent as well

It's not just HTML but also JS that gets sent.
Maybe AI issues could be solved using parallel models. Their analysis results must be unanimous before a final decision is reached by a human.
> The death of Open Source email, chat and messaging apps?

Not if you compile it yourself. Clearly bullish for gentoo and arch users.
And yet a bad seamstress can tank a clothing company if a single bad article of clothing gets into the wrong hands.

This kind of makes Kim K a safer play than a bad seamstress. As unless you go full Kanye a spokesmodel isn't going to tank a company.
> Why?

Having to manually kick off a build process is another thing that I have to go do that takes me out of the flow and is another point where things can go wrong.

When you run a Deno script, it has a build step that it does internally, so I don't have to think about it, and I don't have to configure anything. It just works because it was designed that way. I don't know why more language runtimes aren't.

Even when I want to compile a JavaScript bundle to run in the browser and there is an explicit build step, `deno bundle` is far simpler and more pleasant to use than the mess of npm packages I would have to worry about in the Node world.
I agree that defaults are not perfect, but I'd like to add that the initial idea was that they are, well, defaults, and you -- as a user -- are supposed to adjust them to what you prefer. In some dashboard usually called "preferences" or "settings". And fact is that you still can: you can tell your browser "for this script, for serif, use this font family, for sans use that one" etc etc. You can set you preferred text colours. You can even write your own style that will sit between user agent styles (those "ugly defaults") and author styles (those forcing weird stuff). Initial idea was that our browsers will be truly individual tools and one of their main task will be consolidating those preferences from various sources. That's the "cascade" in the CSS.
I think you missed the joke. It was quiet because literally no one was there for thousands of years.
That’s very interesting, thx!
US passenger service is theoretically and legally supposed to be prioritized over freight. Unfortunately this requires Amtrak to sue to enforce their rights, and that seems politically a non-starter.
Bringing back old memories of using Pidgin all the time. I miss having one service for all communication.
The behavior of individual low-level retail workers has very very little effect on Starbucks. That's literally the point of unions, and why it is (and should remain) illegal to obstruct them.

You argue elsewhere that changing jobs is easier than Starbucks closing all of their stores. The point is that this is one store, not all of them, and Starbucks can absolutely afford to close one or a few. They are betting that labor will back down before store closures start to hurt their business.
(At least in React) the JSX gets transpiled to function calls, which are then run at render time with a particular set of data. That first transpilation step will always come out the same and can be cached.
It's not they are using the wrong platform exactly... FB for example started with the idea that people should talk to each other.

But then it's worth a lot more money if they stop talking and start buying

https://catvalente.substack.com/p/stop-talking-to-each-other...
I'm no physicist but I'm pretty sure oxygen is the most prevalent element on Earth mass-wise, and hydrogen is the most abundant element in the universe, so it seems likely that there are a good number of water molecules that have never existed before, and that most (all?) water molecules will not exist indefinitely.

A lake can be a lake but that doesn't mean the water is the same water.

In any solution, the bonds of water molecules are being continuously rearranged. The odds that any of the water molecules leaving such a solution have any of the atoms they started with are infinitesimal.

For the most part, we live in a giant soup of chemistry on this planet. Everything changes all the time, nothing is forever.
> I much prefer to hire less "skilled" employees who are more interested in the problem domain or product than they are any specific tooling. Goal-oriented developers can be taught to do anything in my experience.

A million times this. When I've hired, the specific languages/platforms/whatever the applicant has is of tertiary importance at best. What counts is the ability to engage in problem-solving, how well they will fit into the team, and how readily they can learn.

Everything else can be trained.
> A common example here on HN would be the excitement regarding working from home. I get it, I love it too. But let's not dismiss that this further tilts things into a flat, isolated, touchless society. You want it, but it's still really bad for you.

Speaking for myself, yes I want to work from home, but I don't want a "flat, isolated, touchless society". In fact, regular face to face interactions with others is something I'd like more of, but I'd prefer that the majority of that be outside the workplace.

Don't get me wrong, everywhere I've worked I've loved most of my coworkers and got along with them well enough, but the workplace being a context that can't be opted out of by virtue of being one's livelihood can make it restrictive in ways that I'm not sure is healthy when serving as the place for the bulk of socialization.

Unfortunately building social groups outside of work is difficult and gets increasingly so with age.
I used the word "prolonged"
This sounds similar to the Netflix and Comcast/Verizon spat from 2014 in the US where Comcast wanted paid peering from Netflix.[1] The customers already pay their ISP for this content to be delivered and Netflix already pays for transit to deliver these bits.

It's interesting Netflix is framing this this as hurting content creators. I suppose this is probably more true today than it was in 2014 given that original content is now the key drivers for streaming services.

[1] https://www.theverge.com/2014/3/20/5530898/netflix-blasts-co...
> Touch and direct input like a stylus works much better on displays that can sit horizontal (or mostly so). No matter how good a touch interface is, people just physically can't use them for long periods on a vertical display.

Yes, and if you set up a horizontal display for a desk, you're going to end up with neck strain. You could maybe do something at an angle, like a drafting table, but probably still balancing neck and arm issues. And you'd probably need to adjust display construction to reduce the distortion from viewing it at such a high vertical angle.
Typical utility company margin is ~10%, so $60M profit for the buyer, it will take 58.3 years before they break even, or 1.7% return on their capital.

This just seems like a really bad deal for whoever buys it.
They're not forcibly unified if you don't use operator overloading. There is a find() and an insert().

I tend to use find() when doing a read only lookup, and operator overloading for writing.
Why is paying a celebrity spokesperson terrible?
this famously introduced bugs into norvig's published code (i forget if it was the sudoku solver or the spell checker) that nobody noticed for years

if norvig isn't smart enough to use defaultdict without introducing bugs then i'm not either
SEEKING WORK | Product UX/UI (Freelance) | Remote

Book a call here: https://calendly.com/raigo-lilleberg/lets-talk-30min

Interested in long-term collaboration, whereas addition to product/ux/ui focus, also keen to be involved in building design processes and systems, and support design-business strategies. High value on transparent communication, honesty and trust.

Work – https://raigo.design/index

Resume – https://raigo.design/cv.pdf

Email – hi@raigo.design

I work remotely in London (UK) timezone – open to overlap up to 4 hours and occasional fly-over (agreed separately) – with a daily fee for ongoing and iterative nature projects (if not agreed differently). Invoices twice a month through my company, registered in Estonia.

Book a call here: https://calendly.com/raigo-lilleberg/lets-talk-30min

___
We’re glad you like it ;)
Look out for more coming up soon…
Also : there is a background color specified, but other colors are not overriden, which causes the text to appear in a color very close to the background color on my browser (the default text, and background colors are user configurable).
That's indeed correct [0]. esbuild is still a bundle though, so it wouldn't change much other than (much) faster production builds.

[0]: https://vitejs.dev/guide/why.html#why-not-bundle-with-esbuil...
Maggie Harrison (who is definitely not Hawaiian) appropriating Hawaiians’ prerogative to define the bounds of acceptable cross-cultural interaction with their group is actual, destructive appropriation. It’s a white person with a platform co-opting a minority group’s ability to decide how it interacts with the majority group.
Ah yes, anyone upset that their employer’s layoffs cite financial reasons while objectively wasting money is “shockingly” ignorant to capitalism! Luckily the enlightened fdsg has brought it to our attention!

Without knowing what any of them did, it’s obvious that none of them, nor in aggregate, brought any near the value to Salesforce as did one aging celebrity.

Anecdotally, I’ve never seen anything associating the actor with Salesforce in any capacity. Even those I know at the company didn’t know he advertised for them. (But capitalism!)
$60 / year for the connectivity, that is, $5 / mo. Compared to almost any other solution, it's peanuts, even in an urban environment where other options abound.

There definitely should be a lot of market for for such an extremely low-end kind of connectivity, with small hourly updates. Weather / water / fire monitoring stations, maybe even pipelines (as a fallback for the usual wires / fiber), a backup emergency link for trucks / cars / watercraft / small aircraft / drones. The built-in GPS is extra helpful.

No, this may be huge.
These ISP's are suffering under the delusion that they are in business with Netflix. No solvent business would agree to what they are asking. Its a devil's pact.

Though, I don't blame them for asking. It never hurts. Except perhaps on the PR front when they are turned down. Now they are facing customers that want Netflix and who know that their ISP's desire (or need) for a cut of the action is why they can't get it. Which is a business opportunity for an ISP that can better structure their offerings.
It's about whether the program is intelligent in a way that we don't fully understand, so it has the potential to do unexpected things. Which could be harmful, particularly as we make increasing use of these models.
> These same researchers point to age-related changes to hearing acuity – specifically a lowering tolerance for loud and high-frequency sound – as one cause for a reduced interest in new music for some people.

This can't be right, because I'm still stuck on 1980s heavy metal.
For-else could be useful, but I don't think Python's semantics would actually help here? Python's for-else runs when the for loop did not break (even if nonempty), but what would be needed here would be to run when the for loop was empty, which is a different condition.

cpp2 is both interesting and ambitious, I really hope it gets somewhere.
surely that deters people from stealing them
The cost of employing someone is roughly double their salary, once bonuses, benefits, payroll taxes and overheads are considered.

Plus for many companies, RSUs can be an additional significant fraction or even multiple of base salary.

So it's a lot of money, but would pay for fewer jobs than you might think.

It's also possible - I have no idea - that the marketing featuring McConaughy made more money in new sales than it cost. I assume this was the expectation for the deal.
It's using some form of DDOS protection, not Cloudflare, but something. Access it via tor to see an example.
Swapping jobs still takes time. A single 5 minute phone call worth of your time is a larger percentage of your working year than Starbucks closing a single store is to them.
Yes JIT building on route request sounds super non-wasteful and better. /s
Performance of Gather/Scatter Operations(2019)
Ah yes, the smoke-and-mirrors part of capitalism, the style-but-no-substance, image-above-competence, the elitism and cronyism part straight out of Adam Smith.
Sounds like what you really need is a contacts manager that links to recent conversations with them. You know who you want to contact, you pull them up and navigate to the relevant convos or apps.
It definitely is for me (US) - I basically check my mail once a week only to throw it all out. I do wonder if maybe I should just stop checking it entirely.
A lot of this is individual, and different strategies work for different people. I tried the grayscale trick and found that it weirdly enough increased my phone usage. Could be a long conversation potentially. Setting focus mode/time limits helped more.

But, it's good to experiment with this stuff, and this is a good list of things to experiment with.

In particular I want to throw out another vote for:

> * Delete any apps that you don't actually need. For me, I deleted all social media apps, and basically anything I could access on my desktop/laptop. Go further, and really question what apps you need. Do you really need easy access to your email, or Discord, or Reddit, on your phone?

This is probably the first thing I recommend to people after "install an adblocker."

It is a really big deal if the only notifications that happen on your phone are actually important ones, and deleting messengers is a big part of that. My phone is an important part of my organizational life for calendar events, notes, alarms, etc... When it dings, I need it to ding specifically because there's an alarm or reminder or important email that's come through, not because somebody DMed me on Discord.

Again, everyone is individual, but I think more people should experiment with this as a first step. Most of that communication is asynchronous, you should be able to walk away from it and get some relief from it, and having it only a desktop computer allows for that more easily. And it's not just notifications, it's the blue dot that shows up next to the app, is being able to instinctively check it without thinking. Restricting that can be very helpful.

I've had a policy at every job I've worked at that I do not have Slack on any of my home devices.

There are privacy/separation reasons for that as well, but attention is a part of it. Even if I could have Slack on my phone with no privacy risks and it wasn't a work-related app on a personal device, I still need that separation from my job when I disconnect at the end of the day. If it's an emergency, people in the company have my email and phone number. But I don't need to be getting dings on my phone because someone posted a joke into the "random" channel. My phone dings when it's important.

Having more dedicated/purposeful devices can be a big deal. Of course, it's a little privileged for me to be able to make that choice, not everyone has multiple devices that they can turn into more specialized machines. But if you have that privilege, consider taking advantage of it.
I got afib from years of running. I hear you about smoking, etc., but sometimes stuff happens. I was very glad they invented an effective treatment (an operation).
perl only does this in some cases; unlike with std::map, this is safe:

my $x = $h{$v};

this is not safe because it autovivifies $h{$v} as an ARRAY ref:

my $x = $h{$v}[$i];

with respect to idiosyncratic behavior, if a language doesn't have idiosyncratic behavior, it has no reason to exist; it's just gratuitously incompatible syntax for already-available semantics
There are a lot of alternatives that are cheap and perform well... but many of those have other safety concerns.

Some common examples are hydrocarbons or ammonia: https://en.wikipedia.org/wiki/Natural_refrigerant
The second paragraph makes clear that WhatsApp will need to open up equivalently.

In other words, iMessage will need to be able to send messages to WhatsApp, and WhatsApp needs to be able to send messages similarly to iMessage.
I see you got downvoted but people don’t get that choice of technology based on who you can hire is a valid point.

I remember a guy who wanted to make company documentation in LaTeX. Well yes it is great tool and we could put it in a git repo and render nice documents for the customers easily. Downside was 15-20 sales people who were not thrilled to use it and spend time learning how to use it.
I’d also point out that non-capitalist systems don’t actually correct this problem in practice, they just change the means by which wealth is acquired (usually violence).
Cloudflare benefits during an attack but I'm not sure they'd benefit by secretly running attacks. Each attack would stand to gain a small number of customers at the risk of losing a huge number of customers were such a story ever true.
I don’t know how to get friends :(. I’m stuck with only virtual relationships.
In Canada, kids can write letters to:

Santa

H0H0H0

which is valid postal code, and used to be processed by volunteers around Christmas time.

I suspect you can just write H0H0H0 and it will work.
OpinionX | 2x Software Engineers (Full-Stack) | 100% Remote + Location Flexible | Pre-Seed Stage

OpinionX is a research tool for stack ranking people's priorities. 5000 teams use our product to identify and measure what matters most to their customers, colleagues or community (incl. teams from Salesforce, Mastercard, Google, Shopify, etc).

Looking for two full-stack developers. Our tech stack is Java, Typescript and Vue.js (data science experience a bonus but not essential). We're currently wrapping up our pre-seed round and the team today is just the two co-founders (CEO & CTO), so you'd be joining an early-stage company with promising indicators of early PMF and solid traction (new users growing ~23% MoM since June 2022).

Full job spec and application form → https://www.opinionx.co/software-engineer-2023q1
You want https://thebestmotherfucking.website
I have a complicated relationship with Reddit but it really depends on what you're subscribed to I think. A lot of the direction you're nudged in is consumerist rubbish and the whole platform has enough crappy astroturf to build a country's worth of poor quality football pitches, but if you're very careful about what subs you subscribe to and are diligent at blocking what you dislike it can be a useful platform.

I'd drop it in a heartbeat for the old, slightly janky PHP forums it ate though.
I once bought a paint so white it thought sliced bread was too spicy
Liked your other comments but this one was disappointing. Kids would eat ice cream for all meals if you let them. But they don’t because parents say no. “Lol good luck… other kids” is not an appropriate response to that duty.

That said, the lockbox part is not practical I think. More workable is to avoid data plans and use screen time/cut wifi outside core hours.
The economy hasn't crashed yet.
This is now pretty standard across the industry. PayPal made the same change last year.
The real travesty is dropping the fun Island vibe.
Yeah there's nothing better for mental health than spending 2 hours a day in a car to sit in a dark windowless room for 8 hours with headphones. I went back to remote work this past fall and it has been such a massive boost to my mental health. I spend a ton more time with my family and friends. I take a long lunch every day to spend with my daughter. Never going back to an office.
> "But we had to do <terrible thing> because it's the law" isn't an excuse

If the “terrible thing” you’re referring to is paying someone according to a contract signed then, yes, it’s an excuse for why they had to do it.

That’s literally how contracts work.
> it's removing competition itself.

That's pretty funny considering the European Commission's original complaint against Apple was for anti-competitive behavior.

Maybe things would have turned out differently if Apple hadn't embraced, extended and extinguished SMS. Maybe regulators would be a little more lenient if the App Store was ruled with anything other than an iron fist. But now they have to take action, not because Apple is unique, but because their business practices are interfering with the progress of the rest of the industry. Competitive agency is a weak excuse when they're a noted tyrant on their own platform.
You may need a few more words than that. My preferred definition of idempotency is that your actions take you to a desired state - if it didn't work, try again, and hopefully you'll get to the desired state this time.

The only time I've encountered an idempotency implementation in the wild, the team used the other interpretation of it, that is: the system will always respond the same for the same input. So if you try something and get an exception, they went through great lengths to ensure you would also get an exception the second time as well.

Which do you prefer?
I agree, it's a response to websites being over-designed to the point of being less usable/accessible, but this feels like a dramatic over-correction.
> that would only save 80 jobs

for one year
As long as we live in a system where the rich intrinsically have more power and the incentive to use it to squeeze more wealth out of others, this will be at best playing whack-a-mole and at worst a matter of time as corruption and manipulation inevitably win.

The reason we're seeing the same outcome around the globe is because it's essentially inevitable, it's just a question of pace.
Which is a great reminder for all the purchasers of SaaS or other business services on here:

If the terms of one provider are noticeably different than the rest (and those terms have a directly measurable economic impact on the provider), it's marketing. It will likely get pulled as soon as the provider is at a large enough scale that they no longer need that marketing.