skysight-inc/HackerNews huggingface dataset:
I sometimes wonder how much of the homelessness problem is a result of 1) the demise of boarding houses 2) the demise of the rented room/boarder, it would seem that there was historically a way we housed those that couldn’t afford a place of their own, but it seems through a combination of societal mistrust, and zoning, we’ve done away with an economical and more dignified way of living vs living in some makeshift abode (one’s car/tent/rv)
> It's inherent to the language. Writing "string" gives you a NUL-terminated string; converting that to another format takes effort.

Couldn't we just leave the NUL byte in there and pretend it doesn't exist?

const char *literal = "string literal with NUL byte";

struct bytes text;
text.size = strlen(literal); // strlen doesn't count the NUL terminator
text.pointer = literal;

// I know I discarded the const qualifier up there, but it's just to illustrate

Then a copy(text, other) function would conveniently ignore the entire NUL issue. The copy would not even have the terminating NUL.

> Interestingly, some Mac OS compilers would let you write "\pABC" to get a structure containing the bytes {3, 'A', 'B', 'C'}. (The "p" stands for Pascal.)

Pascal strings are nice but their sizes are too limited. Same idea as my structure above but with a uint8_t for length instead of uint64_t = size_t.
It is open only on paper - at least half of it MSO-specific compatibility cruft, plus real documents often contain binary blobs that aren't described in the standard. Name "open" is a lie in this case. Moreover, it's made in ISO only because of corruption of these standardization bodies. It wasn't even properly reviewed!
I didn't know Jonathan Blow designed F1 engines.
> I think he's absolutely right. The str* functions are just worse versions of the mem* functions.

I think they aren't "worse versions of the mem* functions"; they are different functions. The "str" functions deal with null-terminated data, "mem" functions deal with data of a specified length, and "strn" deals with whichever is shorter.

Some "str" functions do not have "mem" variants (and vice-versa). For example, there is no "memdup" function.
I wouldn't be surprised if they were real, but there is not a dispute that Hunter is a recovering drug addict. That doesn't mean that a laptop exists with incriminating evidence of illegal activity or the President's knowledge of it.
I've had a hard wood walking stick umbrella from James Smith & Sons[1] for almost 20 years and I have never once thought of it as tactical. The reason I have one is it was a generous gift, and it's just amazing that a company is almost 190 years old. The Morris principle of "never have anything in your home that is not either beautiful or useful." is reason enough to get a nice one. They are a pleasure to have, and if you do need to hit someone with it, at that price they had better deserve it.

[1]https://www.james-smith.co.uk/
Damn. I thought it was a condition of NATO membership.
Why are websites allowed to know that I hover an element?

Javascript knows about clicks, doubleclicks, hovers... like almost every interaction the user does. There are use cases but also potential to be exploited somehow.
> like how you can read 21:00 as 9 without thinking about it

Well... in French you can totally say twenty-nine instead of just nine (although nine also works). I think that is pretty rare among languages but I'm not sure.
It's not sufficient to be the whole point.

With some security mechanism, I'd consider:

1. prevent other people from being able to use it.
2. recover from it in case it gets lost.

If your perspective is "if I lose this laptop, I have some other way to access the systems", then it's good to never access the SSH key secret.

If your perspective is that you want your secret key to be the only way to access some system, you'll want to have some way to recover the secret.

I think in any case, it's understood that having an unrecoverable secret being the only way to access some system is a bad idea.
Something has to cover renewable’s shortfalls when the sun doesn’t shine and the wind doesn’t blow.

In Texas and Germany now, it has shown that over reliance on them have led to more instability in the grid, leading to higher fossil fuels use.

Basically you can’t really have renewables without nuclear to back it. They’re a package deal. I don’t know where this renewable purity comes from, but it’s not helpful.
I've posted a lot about this in the past, and one of the things about 'old./r/' that is overlooked by the massive mobile consumers, is that information density is super high with old.reddit and RES.

I posted a bunch of tips on how to set them up for speed - Like I said, as a daily redditor for 15 years, uhm I have the 1,000 Karma Stare.
Who needs this?

a) People who want to discretely carry a weapon.

b) People who realize most umbrellas are hot garbage, and understand that an umbrella that won't break if you even stand on it are probably going to last a while.
You can use strncpy if you are careful to do it right (e.g. if you know the end of the destination buffer is null-terminated, specify the length one less than the destination buffer size). Sometimes memcpy is better, though. You can use both in one program.
True, it definitely has the best autofill of the popular options, but in my experience, Bitwarden is 90% there.

Personally, I‘d rather use something open source that feels less like a lock-in in the long term over those remaining 10%, but both are definitely great options.
Assisted suicide could be a completely rational choice, at that point [1]. It would be a choice that you, or anyone else, could not dictate.

1. https://www.statista.com/statistics/792317/medical-condition...
> But there has been this weird strain of FUD being spread around painting renewable advocates as some sort of crazed anti-nuclear zealots

It's certainly not true of all renewable advocates, but such anti-nuclear zealots do exist, and cause resistance to nuclear. Although I don't think environmentalists and renewables advocares are the only source of resistance, and cold war fear of all things nuclear/atomic/radioactive also shares some blame.
Hopefully more "useful" than Politifact.
Is there a convenient way to sync it across multiple devices?
All of those seem opt-in, which is fine for most people. Looking in Debian, I see qml-module-org-kde-userfeedback, which plasma-workspace depends on, so it indeed cannot be removed easily. It is possible to remove however, by using equivs to create a package that pretends to provide qml-module-org-kde-userfeedback. Probably the depends on qml-module-org-kde-userfeedback should be relaxed to recommends, I encourage you to do that for the distro that you use.

Edit: the KDE telemetry policy seems eminently reasonable:

https://community.kde.org/Policies/Telemetry_Policy
The Ancient Roman one.

The one most people use. SWIFT.

And yeah, blah blah sanctions, Russia, Iran, like most of the world's business is happening there and like the crypto Ponzi schemers really care about the "under-banked".
This is a very... engineer... approach. Not something that I would want to ever do with the intent of exploratory analysis and eventual sharing.
Wiki articles ≠ sources
TechCrunch: Tool to Help Android Users Know If Device Compromised by Stalkerware
Every multi-user communication system invented after Usenet tries to fix some shortcoming in Usenet while (sometimes intentionally) throwing out some part of the essential usefulness of Usenet.

Zulip comes pretty close, though.
Im disappointed too.
Well, I have a couple of realistic suggestions below as food for thoughts ... (some amateur experience with Kendo in the childhood)

* Add jagged ribs that prevent the attackers from grabbing your unbrella by bare hands. When grabbed, pulling it will cut their palm

* Make the fabric shark skin that similarly damages their palm when rubbed

* Make it actually heavy not light

* Make the grip thicker

* Make the grip longer enough for both hands

* Add a grip guard. This actually cause a stronger piercing
force because it pushes against the grip guard rather than relying on the palm friction

This [1] may be indeed practical.

[1] https://www.amazon.co.jp/%E3%83%A6%E3%82%BF%E3%82%AB%E3%82%A...
How would you rate mattermost and zulip compared to slack and discord? I've only used slack, mattermost and skype. Of those I prefer mattermost by a fair margin, but I'm still not sure I like it. It seems like the ui could be better. Something about the way both it and slack handle channels or groups feels clunky.
CapCut has a desktop version! I have not tried it myself so no idea how good it is: https://www.capcut.com/
Oh yes, I'm very familiar with these. All these do though is extract information, but don't immediately make them useful. So there's a massive gulf of a middle-step that's not yet done. Textract gets close...ish to that, but it's prohibitively expensive.
> Changing airport is anathema to most sane people

It's not just about time or inconvenience. Nationals of Ghana can transit the UK airside (at the same airport) without needing a UK visa in most cases, but changing airports means they are more likely to need a UK visa (there are fewer exemptions).
This website is incredibly good. Reminds me of qntm. https://suricrasia.online/unfiction/CSC218-Software-Precogna...
Requires an account? Sigh.
And you think having a relative with shady deals is disqualifying for public office? And what illegal activities was Hunter up to?
Or on crypto DEXes where you paste in one address, the compromised exchange website shows you what you pasted with a CSS overlay but in reality, the real input field underneath has already been replaced with a Tornado Cash address, so when you submit the form, it's crypto go bye bye.
> The goal is always to produce things that users can actually use. And if that means doing hideously inefficient things, like running your app inside a chrome shell, so be it, if that means you delivered value faster.

I guess core issue to me is this value delivered to whom. So far the value I see it is for framework users who could pull a 100K lines CRUD app in one month, of which 99% is just framework glue/code.

However as end user I am getting rather bad user experience, my computer fan is running at full speed, Loading webpages or filling online forms so slow, endless error popups come and disappear and I can't do anything about it. It is not even about efficiency, just plain unreliable/unusable software delivered in name of "empowering" me.

If I weren't software engineer I wouldn't even know that this crap is pulled by software engineers. Non-technical person would simply assume computer is bad/old, internet is slow and so on.
You are correct overall that they are a legitimate way to trade for something with your attention but their application is so abused now. The push-back is worthwhile.
guilded.gg is a great alternative for this use case (and many others). Transparency: I work there.
I'd do a password manager and a VPN provider. Then spend a ton of money on ads on podcasts and youtube videos (which is odd since neither VPN hosting nor password managers make enough money to pay for that many ads).

They'd probably all have a similar catchy name. Maybe one that implies that it's from a foreign country known for having more consumer protections but is actually based 10 minutes outside of Langley Virginia.

Oh wait...
Somehow I don't imagine AIs knowing fact from data?
>Edit: really curious if any of the downvoters could mention their rationale.

Unless Elon tweets about this or VCs start funding UFO startups, average programmer is gonna say BS on anything that challenges the status quo especially in ideology department.
I would add to that educational animations. For example, in biology/medicine good animation are trully helpful to understand better and form more memorable associations. Animations cannot replace textbooks but can complement them and make learning much more easy.
Hmmm...Starbucks does this by charging me a lump sum in one transaction and then allowing me to spend it down over time in smaller chunks.

I doubt this is viable in general though, due to the cited support issues around reversibility.
Maybe they could start with their posts?
What's the difference, in practice, between passing laws (de jure) and the de facto alternative? Obviously there is a technical difference, but if the result can in some cases be the same, where have we arrived at?
what is funny, is that Ive been using an AI generated photo as an avatar and posting occasional news for over 11 years criticizing various factions of politics.

I fear that I may soon be targeted on Twitter. Ive already left Facebook also used AI-generated avatar there with no adverse effect.
Call 988 please
Both forces are pushing in the same woke direction so I doubt it very much.
I'm savvy enough to maintain an offline password manager, but fuck that noise.

It's already painful enough to use a cloud password manager; why would I burn hours more of time to maintain a worse experience?
I don’t know if you have relatives or children with Down’s, but it is no walk in the park.

Forcing parents to have disabled kids is not good policy either.
> they are different functions. The "str" functions deal with null-terminated data

Well, yes. I say they're worse because the only reason they exist is to deal with this NUL terminator nonsense. The str* functions all reduce to the mem* functions after the string length is computed. To me it's like this:

str_function = mem_function(string, strlen(string) + 1)

There is no need for these functions to exist if we get rid of this NUL terminator business.

> Some "str" functions do not have "mem" variants (and vice-versa). For example, there is no "memdup" function.

There could easily be. For example, strdup is essentially strcpy(malloc(strlen(string) + 1), string). A memdup function would be even more efficient because the length is already known: memcpy(malloc(length), source, length).
Integrations is the main deal for me as well. Discord might have some integrations here and there, but slack is virtually on every dev tool.

Like nextjs for deployment/fail messages.
According to this[1] okwave thread (in Japanese) it is used in mathematics literature but generally as a direct translation from English. There is an argument there, saying that the nuance of Hyouka in Japanese mathematics is more appropriate in cases where a specific value is harder to determine and as such is used more often for things like "inequality evaluation".

[1]: https://okwave.jp/qa/q5812331.html
If you return fake IPs in a traceroute you won't be able to control the reverse DNS which is the point of this exercise.
It is absolutely a scam. Why would you call it anything less?

“Scam: a fraudulent or deceptive act or operation“
And then what is it going to do once it "grades" the information pulled from sources?

Edit the article? I don't expect it to be accurate enough to avoid getting quickly banned or auto-reverted.

Raise some issue for volunteers to manually review? Probably not accurate or important enough to be a priority given the likely volume.

Honestly a good portion of the sources I check out in a wikipedia article just 404 or have become paywalled, and that would be pretty trivial for a bot to detect, so there's obviously not a huge desire to have bots checking sources in the first place.
> Don't you hate when news sites add a "- from XYZ" to your clipboard? That shouldn't be possible.

I opened a bug with chromium when I first encountered that behavior ~10 years ago since it was an obvious security and privacy concern to me. Needless to say, the chromium devs didn't think it's an issue.

You would think browsers would ask permission for sites to do things like modify your clipboard, see when you copy/paste, track your mouse movements and text selections, etc. but google obviously isn't going to care about protecting the user from such things.
They work well within ecosystems. See the any number of video games and gaming platforms that invent their own micro-currency. My kid plays roblox and every month or so asks for some of their allowance to go into their ecosystem. They spend pennies on different cosmetics with nearly no friction.

That said, I don't think even "Web Points" would work for links. Maybe something like buying "Member Status" with "Web Points" for a month on a site could work.
Alternatively, it's shocking how little information is actually on the Wiki, even though it's easily available from common university classes.
China wants to sell chips and gadgets with chips inside. Legally questionable access to ARM will not help with that. RISC-V solves the problem.
To be fair, they are replacing strlcpy() with the very similar strscpy(). I do think that strscpy is an improvement, but it's quite similar.
What if all humans were cows? Would I suggest slaughtering all the people-cows?

Neither of those questions is based in reality, so the answers don’t really matter.
Oh, so you concede that nuclear power actually isn't sustainable then? Okay.

So if you want to pivot to batteries... look at how much secondary batteries have evolved in the last 70 years. Genuinely novel nuclear power plant designs have barely left the drawing board over the same time. It's pretty hard to conclude batteries have proven uneconomical at scale when the term 'battery' is such a fast moving target.

No one claims infinite sustainability is a requirement, or even a possibility, but I see you dropped that in anyway. First, the paper in a paper battery, literally grows on trees. Unlike Uranium, which is relatively scarce and the cost of which, in $ and kg of carbon, after mining and enriching to 5% LEU is considerable. Enrichment techniques are unchanged after 70 years. About 100 times more common, and much much less valuable, is Lithium, the efficient sourcing of which (and its alternatives) is an area of active development. Lithium extraction is also damaging, but it is more deserving of research funding than a process for a fuel source that didn't advance for decades.

In 20 years this won't be a discussion because renewables research will have solved these simpler problems.
And it is even worse than losing your positive word of mouth, because people burned by this change will start recommending against using slack now.
A big problem that happens with FOIA requests is that you're often sent data in the form of a spreadsheet that was converted to a PDF. And then scanned. For thousands of pages. Solve that generally so that you can insert all of that data into a postgres database, with sensible indexes.
CBC gets something like a billion and half per year of public money, yet most CBC TV content, other than news, is only available through subscriptions to the cable oligopoly.
Usually the truth is somewhere on the web, just not necessarily on the wikipedia article.
I might get backlash for this, but IRC (what all these platforms are emulating) handled channels pretty terribly also.
> I normally see comments with stuff like :4222: which I assume are emoticons only available in the new reddit

For what it's worth, someone posted this Tampermonkey script that converts those codes to the proper custom Emoji's, on Old Reddit. It works well with Firefox at least:

https://justpaste.it/6624t
> how come some of us still believe science and technology can get us out of this mess when it was science and technology that brought us here.

I can't understand the logic here. The progress of science isn't somehow dead. The problem is our priorities.

For an example, the US just sent $50 billion to Ukraine. Imagine what 50, $1,000,000,000 science grants could accomplish.
> When you reduce all-pair-shortest-paths (assuming a cubic lower bound) to your problem in quadratic time, your problem has a lower bound of linear time. However, when you speed up the reduction to linear time, your lower bound is quadratic time!

I think it seems funny because we often intuit that “lower is better” but when it comes to lower bounds higher is better (in the sense of tighter).
I can say plenty of bad things about Mattermost, but it's been completely stable on my cheapo Digitalocean VPS, running night and day for at least three and a half years.
They keep increasing the MSRP of the tiers so we're never going to get a 70 class for under $400 again.
Cost of memory transistors has gone up on the last couple of nodes. NVIDIA has complained about it publicly.

Batteries are not on Moore's Law and more of our systems are battery powered so portable electronics is not on Moore's Law. Transistors are not cheaper if you can't turn them on.

Power goes as area squared and voltage squared. We can't turn voltage down any further and cheaper transistors mean area goes up. This means that most computation chips are fairly close to their thermal limits. Transistors are not cheaper if your cooling solution costs 10x more.
Can you explain what you mean with an example? Sorry I’m a bot tier swe since I mostly code in node and go
What is a NTP doodle? Is this related to chrome-search://local-ntp/doodles.js? (I can't see because I don't use chrome)

But chrome-search://local-ntp/doodles.js is served from a chrome-search:// url, chrome could give it permissions without giving for every web page
When someone pitched the idea of cloud kitchens to me a few years ago, the idea was you would have a centralized facility running multiple kitchens each of which was a single restaurant entity. It made sense as a way to run takeout only operations.

It seems like what’s happening now is similar to what happens in Amazon which is the generation of multiple throwaway brands in a bid to flood the marketplace and also farm positive ratings
But who trains and fact checks the AI? Hasn't Metas AI got a lot of FB stuff incorrectly flagged?
I used LastPass at work because work told me to. That was basically it.
Mostly tesseract, or uploading it through documentcloud and running manual searches. I do a combination of data analysis and spend many hours reading through documents. Sometimes I use unix tools like grep/awk/etc, sometimes I use SQL. If the PDF isn't scanned, I use tabula for csv extraction, but if it's scanned it becomes a silly ordeal.

Mind you, I'm not exactly looking for advice here. It's a supremely difficult problem and gut-ideas more often than not don't pan out.
Or trees...

https://en.wikipedia.org/wiki/Dendrocnide_moroides
First define "dignity" and "rights", and reproduce them in a lab.
to no one's surprise it also does it in chromium-

Hello, this message is in your clipboard because you visited the website Web Platform News in a browser that allows websites to write to the clipboard without the user’s permission. Sorry for the inconvenience. For more information about this issue, see https://github.com/w3c/clipboard-apis/issues/182.
Oh yeah, that's great. You live in California where you pay exorbitant taxes but you have to buy your car somewhere else. Nice.
I’m still kind of surprised people order online from places they’ve never been to. Maybe I’m just pampered.
The only string manipulation function you need is snprintf, every other str* function is dumb
Both GCC and Clang support this with -fpascal-strings. "\pABC" actually gives you {3, 'A', 'B', 'C', 0} -- the \p is a character and so extends the length of the string by one and it's still nul-terminated, it's not a pure (non-nul-terminated) pascal string.
You’re right, there’s a long way to go. My family think I’m nuts any time I ride my bike more than a mile or two, when I go get groceries on it, etc.
I don’t know about the latter.
Living in NYC, my umbrellas either break because of the wind, or, because I forget them somewhere.

But maybe others have had better luck?
Why is this a download if it's a web app?
And almost all of these videos are scams, lies, MLMs, or too obvious to be helpful.
I walk 20 mins every day to work in Baltimore and was slightly interested.

But then I realized I'd rather just give someone my cell phone and wallet instead of a fight to the death with an umbrella..