skysight-inc/HackerNews huggingface dataset:
I have no experience in writing novels, but I do have quite a bit in being a student. I always cringe a bit at these purists thoughts of "you retain better when you write by hand" and "your creativity is better". The process of studying and learning is much, much more than just writing things down. Even if it was true that it's better to write by hand, the amount of productivity you lose by not having things in a digital format (weight, indexes, search, linking with other sources, corrections, drawings, etc) is just not worth it.

Not to mention that I think it's misguided to solve a problem by attacking it sideways. Writing by hand to fix excessive correction doesn't actually fix the issue, it just sweeps it under the rug. Maybe it's just delaying it until the point where the novel has to be reviewed and now they want to do the same corrections, but harder.
How can you remove a specific item from an array?
Sales constantly generate revenue and costs (feature requests) - do they get penalised when they don’t win client?
Unfortunately C is locked into null-terminated strings, given that all the printf-style functions work on the assumption there'll be a null terminator.
C++ has std::string_view which is pointer + length, but you've still got the same problem if you need to call older printf-style functions.
> They didn't have an answer and I could see the look on John's face and at that point realized they might not understand what they are getting into.

Ayup. The DEC guys cheered when Intel announced that Itanium would be VLIW. They knew that Intel was about to sink a huge amount of engineering effort into a dead end that would never work.

Of course, nobody realized that all the business management chains were complete cowardly dipshits and that Intel spending a Gigabuck was sufficient to terrify them into completely abandoning the high-end market to Intel who milked it for years.

So ... Itanic was a horrible engineering failure but a great business success.
We maintain a set of automated benchmarks against Yarn 1/2+ (PnP and node_modules tracked separately), pnpm, and npm:
https://yarnpkg.com/benchmarks

The fastest are usually either Yarn PnP or pnpm. Note however that regardless of the package managers it's quite clear that performances are reaching a plateau in the common cases. I personally believe a better thing to consider are feature set, stability, documentation, and general codebase health (since it impacts how fast features and bugfixes ship, and how dangerous upgrades may be). But those are quite a bit harder to measure, of course!
I'm really surprised that the most secretive tech company in the world uses a third party, non-encrypted, non-self-hosted app for internal communication.
> The logic appears to be, "why should our globally elite and governing classes be subject to the opinions of working class people we disagree with in these mere nations when we can just import people and money dependent on our policies, both from educated and wealthy and poor dependent classes, and then manage them to keep us power." It's post-national policy. The parties run offense by calling everyone they disagree with racists, and the whole thing is absolutely rotten.

Sounds like you need a new party.
>Actually the emissions and environmental damage are ongoing, and we need to stop doing them or the end result will be much worse.

Things already are the way they are and the way things are going to be in the intermediate future is already predictable.

>Personally I think we should change our behavior that will lead to wars, famines, and suffering.

Oftentimes this is more of a matter of exchanging one cause for another. Global austerity and dramatic changes in energy sourcing and production would also cause... wars, famines, and suffering.

And the solution is essentially already here. Solar is among the cheapest energy sources and growing dramatically and battery tech is at the point where it can replace fossil fuels for all sorts of transport and mobile energy/work needs. The best we can do is accelerate the growth of these things a little bit more, but in reality we can only make a small difference, new technologies grow at the rate they grow.
Hmmmm, I mean the point is that it's urgent. I think we should all be able to agree on that by now. The weather is to the point it's changing and weather is a far more localized phenomenon.

At the very least we shouldn't be making matters worse by, for example, inventing stupid new ways of wasting precious energy. Conservationism needs to be the new norm, and we can take new technologies that help as the are available. However, much of the work will need to be on the policy side, as unfortunate as that may be to us technologists.
Irresponsible.
I do this as well. At some point I googled around and didn't get a straight answer. So I've been using snprintf() for all my string manipulation ever since. My productivity is more important than a sliver of performance.
I'm not currently looking for another job (or plan to), but I respond to every recruiter email I receive telling them I'm only considering 100% remote options. I'm doing my part!
In the case of the Chinese athlete, perhaps it is because the Chinese government takes a very dim view of 'failure'.
> Arguing over dictionary definitions is not going to lead to anything useful in this matter.

> If we are going to be pedantic

The whole article was about going to be pedantic over dictionary definitions.

"Now, one major concern in academia is rigor. Academics like to get deep into a topic, examine the nuances, and bring clarity."

I suppose it's hard to argue against that words in "technical debt" were chosen poorly: it's not debt and it's not technical.

Maybe better definition is needed.
The XDR works quite well on the MacBook Air, no journey required. Only annoyance is that it has specific ideas which side is up or down when used vertically, and I always turn it the wrong way, first.
A more materialist approach would be to say that it is the artists and authors of such books which are influenced by cosmos and the three body problem is an error detection code for repairing memory errors in collective consciousness to prevent civilizations from repeating unpromising patterns of development which have already been simulated.
Nope, printf can print strings without NULL-terminator: printf("%.*s", <int>length, <char*>string);
If I was upset enough at an ad I might also try to "hack" my way out of it. Facebook seems to have kindly provided that option.
Sounds like Megapack wasn't that great an idea after all. Megapack is Tesla's term for a utility scale module containing about 3MWh of batteries, and this station (300MWh) is made of ~ 100 megapacks, one of which caught on fire.

Megapack is a relatively new thing. Earlier Tesla utility-scale batteries including the one in South Australia were made of smaller modules called Powerpack (I don't remember their size). A Powerpack catching on fire will presumably release fewer toxins and stuff than a Megapack, simply through being smaller.

It looks like some effort went into stopping the fire in the burning Megapack from spreading into other modules. So the modularity doesn't automatically contain the fire all by itself, but it apparently helps.

More coverage from a Tesla battery stan:

https://reneweconomy.com.au/tesla-megapack-container-on-fire...
I don't like Peter Schiff [1] and I think he's a selfish prick but I believe he is right when he says we are just pushing the hot potato down the road. This won't end well.

[1] https://insideparadeplatz.ch/videos/the-entire-monetary-syst...
> See Air Force pilots and Anthrax vaccine history. Rare but devastating consequences.

Do you have a source? Paul Offit, at least had said that we don't see vaccines causing long-term harm which aren't apparent within the first couple weeks. (In his interview on Oh No! with Ross and Carrie.)
So, around 0.1% of the cost of putting on the games?

https://www.wsj.com/articles/the-tokyo-olympics-staggering-p...
Indeed. I think algorithmic social feeds are such a popular scapegoat simply because people don't understand them (since they're black-boxes and the tech is new).

The common rhetoric that "harmful messages which trigger engagement are amplified by social media algorithms" is probably correct, but to think this is anything close to the root cause of the spread of "harmful ideas" on social media is ignoring the reality of social networks before algorithmic feeds.

Notably, the most popular current examples of places where harmful ideas are spread (4chan, Gab, Parler,
...) are platorms that eschew algorithmic curation entirely. I don't believe hyperlinks to those platforms are being promoted by the mainstream platforms' algorithmic feeds, people find these places by themselves.

Social media can be harmful mostly because it facilitates mob mentality once again. Centralized idea distribution platforms (newspapers, television) gave society a rest from undesired mob mentality, but now we have more freedom of association than ever. I suspect the best way to avoid it is to add more artificial curation in between human interactions, not less.
Also large chunks of libc use it as well, e.g. the printf family of functions.
The inevitable paranoia of regoogling after degoogling
If you didn't get eyefucked you'd probably find something to complain about that.
I never said that the synthesis process was creative; rather the opposite. The point of a tool like Copilot is not to come up with new, creative solutions, but rather to distill many different inputs down to their common elements ("boilerplate") to assist with the boring, repetitive, non-creative aspects of programming. When the tool is working as intended the output will bear a resemblance to many different inputs within the same problem domain and will not be identifiable as a copy of any particular source. Of course there have been certain notable exceptions where the training was over-fitted and a particularly unique prompt resulted in the ML system regurgitating an identifiable input text mostly unchanged, which is why I think it would be a good idea to add an anti-plagiarism filter on the results to prevent such accidental copying, particularly in cases where it might be less obvious to the user.
I'd assume memcpy.

But a more serious answer is to use C++ strings instead, lol. Writing "C-like C++" is probably more beneficial.

I do realize that a lot of people prefer to write in pure C (ex: Linux kernel team), but more and more people are realizing the benefits of C-like C++ code.
Note that we don't recommend using both Yarn and npm: both have different feature sets, heuristics, and implementation details, and as a result your colleagues and you may have slightly different behaviors in development (on top of desync'd dependency trees).

Just like no one would think of letting their developers choose whether they want to bundle their code using either Webpack or Rollup, the package manager should really be enforced at the project level, whether you choose Yarn or npm.
"By default, Slack encrypts data at rest and data in transit for all of our customers." https://slack.com/trust/security
For a single town it’s cheaper to wire up a single tower, but everyone wants internet and for global coverage satellites require vastly less infrastructure. The major reasons are launch costs, small satellites, economy’s of scale, large coverage area, minimal need for spectrum, and leveraging existing networks.

First their launch costs are quite low at a small fraction of historical prices. Small satellites means they get economy of scale and fit several per launch. Being in the sky they get coverage of valleys for free, thus large coverage area means the little bandwidth is wasted as you can still communicate with satellites over the ocean, or low population areas like deserts. Spectrum, a point to point connection can reuse the same frequency while talking to every satellite in the sky. And finally it’s more than just radio masts they avoid maintaining long redundant fiber fiber connections to each mast by locating down stations in convenient locations. Also, after global coverage you get better than linear increases in bandwidth from linear increases in the number of satellites as you can focus on the most useful orbits.

Net, result it’s much cheaper to get global coverage this way than buy spectrum in every country, rent cell towers, and built and maintain fiber connections to each of them.
> The FairTax provides a progressive program called a prebate

That's not progressive (the marginal rate is flat, not progressive); its equivalent to a very low UBI [0] + flat tax. Is it better than a flat tax without a “prebate”? Yes. Does the prebate avoid a massive downward shift of tax burden compared to the status quo. No, it doesn't.

And that's even before considering the fact that its not revenue neutral and is proposed by people who want to use it as leverage for social program spending cuts.

[0] By the stated basis, its a UBI equal to the consumption tax on spending at the poverty line.
>"jigsaw identification"

as performed by who? By Sherlock Holmes? or by a regular Shmoe lacking any logic skills and thus believing every bit of propaganda coming through TV and Internet.
On Linux, there is a very comprehensive CLI utility called ddcutil: https://github.com/rockowitz/ddcutil

The same author also made some kind of UI for it but I haven't used it so I don't know how it looks or performs: https://github.com/rockowitz/ddcui
That's true, but the conversations are still going to happen elsewhere. Any work-related conversation can get derailed. It sounds like they are using it as a blanket excuse for suppressing discussions they don't want employees to have. It may be to just reduce noise, but I feel like a corporation like Apple would want to keep things under tight control.
I really like this guy's web page source. Do a source view, it's all very neat and tidy, you could just read that and not feel you're losing much in terms of experience.
Is that true. Can anyone else verify?
> That is now how a market economy works!

He screamed at a homeless child who lost his parents at war
If they introduced a 4th place medal, would the bronze medalists feel worse?
I have also been annoyed by damaged books and is one reason I avoid Amazon. I've had them arrive damaged from specialist online book stores as well, but not as often. The only way to avoid that is to go to the book store and inspect the product first (which I do on occasion).

They don't seem to be damaged in transit, usually it looks like they have been dropped or badly stored.

I always price check Amazon too, quite often it is not the cheapest, and you can get caught out on shipping costs as you say.
> They're not that expensive; something like 1000 cycles. When you factor in all the atomic operations, which take 10-25x more cycles than normal operations, required to post and pull from shared memory queues, you're not actually saving much at all.

I thought that io_uring buffers weren't shared? Or do you mean in a multithreaded app?
Ahh, but you can make housing accessible without making it expensive, using policy. People have rights, capital does not.
ECC RAM is useful for ALL FILESYSTEMS - not just only for ZFS.

But from all filesystems ZFS works best of all when you do not have ECC RAM.

The 'requirement' that ZFS needs ECC RAM to work properly is one of the biggest myths of the Internet ...
And the first argument to printf (the format), what kind of string is that? And what kind of string does sprintf() produce?
> Canada, and the USA, need to make buying our land harder, especially for foreigners.

Who should be allowed to buy a house: Markus, Swedish born foreigner who moved to America with his wife to work at an academic research lab or Liang, born in Saipan thanks to birth tourism, using the money his parents managed to get out of China to grab as much real estate as he can.
Trust me dear friend, a lot of others are in the same boat.
The burden is on Blizzard's recruiter to maintain a level of conduct that represents Blizzard appropriately. What's on the shirt is irrelevant.
Rust pretty much only has protocols, and people seem to do fine programming with it. Type classes (protocols, traits) and regular classes are both different ways of achieving polymorphism, which every abstraction needs. It’s just a question of whether you think about your application as oriented around types or oriented around objects.
Agreed. I worked at one of the major US banks and they would never allow the use of slack.
I was the main developer back when the 2.0 was started (so, like, rc.1), but since then we grew and are now a team, with at least four very active contributors of similar expertise.

I believe this is the greatest accomplishment of the v2.
great advice here, thanks for sharing! these techniques could also be used outside the work environment too.
Some people believe tasks can be broken down and given to independent units of HR resources, executed remotely and concentrated back. Some others don’t. Some others believe it is possible but need to socialize, to belong, to talk.

Respect all of them.
This is the same reason why we still have terrible economy experiences on airplanes. All of the airlines are focused on trying to maximimize revenue by forcing you to upgrade (if you want anything remotely non-terrible), and they all do it because they're all desperate to complete for the bottom.

(Well except for the MEA Carriers)
I compose longhand, and then type into a computer, which works as a very good compose->edit process for me. Longhand is for getting the idea out, and even though I can type faster than I write with a pen, my effective words per minute (without editing and rewriting) for composing ideas is faster longhand.

But that's just me. Different people have different preferences.
God the C runtime library is so bad. So is the C++ STL.

I think it’s a travesty that these languages defined an API but didn’t provide an implementation. Hindsight is 20/20, but what a nightmare!

It is far more rational to provide an implementation using standard language features. It’s not like strcpy needs to make a syscall!
> In the end, it turned out to be MAD that saved us

Read the rest of the series and this answer gets more interesting. I will not say any more about the outcome (spoilers)
How to Stop NullReferenceExceptions in .NET
Well, the thesis is that with exponential growth and a modest amount of time there _aren't_ plenty of stars out there.
The court case is in the public record, they don't use any real names, and they made it clear that it is not meant to be her story, so I would assume they are covered.

I also suspect Dreamworks' lawyers would have briefed the director on what he could and couldn't say in an interview if there was any danger of them getting sued.
Yeah, I would assume as much, too. When I last worked in C, there was no de facto way to do this since so many functions just worked on null termination.
I teach my kids to not be jerks. Beating up random people makes you a jerk. Persistent or agressive sexually harassment makes you a jerk. Random sexual banter doesn't make you a jerk.
Thanks for the spoilers.
Curious as well, but when I look at the glibc source for strncpy it is calling memcpy....https://code.woboq.org/userspace/glibc/string/strncpy.c.html

It all seems to depend on the compiler vendor.
There is https://www.ddcutil.com/ It has a command line utility and a qt GUI. Unfortunately the GUI is a bit convoluted, because it exposes every option that you can change on the monitor. I once almost bricked my LG monitor, because I accidentally locked the hardware buttons on my monitor, via an undocumented manufacturer specific option.

For gnome there is https://extensions.gnome.org/extension/2645/brightness-contr... This addon adds brightness sliders in the power menu for your external monitors.
You're very much missing the point. The machine obviously isn't intentionally sexualizing anyone, but it's producing a bad result, and not only is it bad, it can be perceived as sexualization (regardless of whether there's bias or not). The machine lacks understanding, producing a bad result, and the bad result is Extra Bad for some people.

Let's say I started a service and designed a machine to produce nice textile patterns for my customers based on their perceived preferences. If the machine started producing some ugly textiles with patterns that could be perceived as swastikas, the answer is not to say "well there are many cultures where the swastika is not a harmful symbol and we never trained the machine on nazi data". The answer is to look at why the machine went in that direction in the first place and change it to not make ugly patterns, and maybe teach it "there are some people who don't like swastikas, maybe avoid making those". It's a machine built to serve humans, and if it's not serving the humans in way that the humans say is good, it should be changed. There's no business loss to having a no-swastika policy, just as there's no business loss that says "don't zoom in on boobs for photos where the boobs aren't the point of the photo".

This problem has _nothing_ to do with sensitivities, it's about teaching the machine to crop images in an intelligent way. Even if you weren't offended by the result of a machine cropping an image in a sexualized way, most folks would agree that cropping the image to the text on a jersey is not the right output of that model. Being offensive to women with American sensibilities (a huge portion of Twitter's users, I might add[0]) is a side effect of the machine doing a crappy job in the first place.

[0] https://www.statista.com/statistics/242606/number-of-active-...
We use Yarn / VSCode / TypeScript (both to maintain Yarn and at work), so we are very invested in this use case. If something didn't work, we'd notice it quickly and the fix wouldn't take long!
An Elastic Model of the Holding Power of Rock Climbing Anchors
Those are still moves in the right direction. Requiring a cosigner for example brings in another party who can evaluate the situation and contribute to the decision to take out the loan vs. pursuing an alternative.

Your point about putting pressure on prices is what I would call ideal: anything that could help rein in spending and deliver value is better than what we have now.
The moral hazard of limited liability
Yes, I should have probably written something about that as well.

Apple vendored displays have a proprietary protocol implemented over USB so that macOS can natively change the brightness and volume.

Lunar can take advantage of that as well as you can see here at `Apple DisplayServices`: https://lunar.fyi/faq#ddc

So if you want to Sync the Macbook brightness to the XDR, or sync from one XDR to another, or just get more hotkeys to control presets and contrast, Lunar can still bring something over XDR's features.
I think you overestimate how well the WHO is run. It has to be political because it is a multinational political entity whether they call themselves that or not.

They don't have willy nilly use of their funding either, and they sometimes have to deal with very difficult heads of state. It's to be expected for an organisation that big, with that size scope to be in a state of semi-chaos no different than a huge multinational.
Half the reason I use Amazon is there web app doesn't suck. If I go to Walmart's website it will be ugly and slow and I'm not confident it will work well on my phone. Why can't Walmart get this right? I'm fine buying from Walmart and having them store my CC info like Amazon does, it's only that poor web app experience holding me back.

Maybe someone can make an Amazon competitor that is just a decent shopping app. I don't care if your store only has shoes, if I see it and think "oh, this is another one of those non-shitty-web-app stores" I'm likely to come back.