skysight-inc/HackerNews huggingface dataset:
> It does, but as I mentioned, Red-Hat and Android ship with bounds checking enabled via FORTIFY.

I was under the impression FORTIFY only checked bounds with specific functions (mostly those starting with "mem" or "str"), and not on general pointer arithmetic. Thus, an OOB array access would not be caught. Am I wrong on this? Online sources seem to agree with my understanding: https://zatoichi-engineer.github.io/2017/10/06/fortify-sourc...

Additionally, FORTIFY does not work on variable length arrays (like std::vector), only those which have a size known at compile time.

> Hence why the ultimate solution is to have hardware memory tagging for bounds checking, Solaris has been doing it for a decade, ARM is following along, including a collaboration with CHERI, only Intel borked their MPX design, and it seems not to be on RISC-V's radar.

Unfortunately, Intel and ARM are the only relevant vendors here (at least in 2022, but for the record I wish the others the best of luck), so Intel's implementation sucking is a huge blow.
I was like that until I consciously started doing more and thinking less (about the ramifications). You need to start small and solve a small pain for you, then go from there. You will encounter problems but you will have your full mental power to solve them. You cannot solve the big problems from ten steps ahead, you're simply not involved enough to give it your best shot. It's during the crisis that you'll find a creative solution.

To take your chess analogy, if you concede at the start you're assuming the opponent will play perfectly and grind you until defeat. But mistakes are made and the balance shifts. In real life, opportunities are created just from starting something. You will learn even from the smallest task, and speaking about it to other people might open new paths for you.
Being the vaccine manufacturing hub of the world since a few decades, if India did not manufacture its own vaccines it would be a shock. I don’t think that’s something unusual – if anything failure to scale up vaccine manufacturing that led to a deadly second wave is to be considered an abject failure.
> tricky

and then you go on to say "but I would just like to not give folks privacy because it's much more convenient for me not to".

That's not tricky, that's called being a shark. You are making the world a worse place by reasoning in this way and an even worse place by trying to spread it to other people.
I'm baffed by the shortness of the word list.
Three letter words would be useful and would allow compounds; an ace deserves to die in bed.
Will using adaptive beam headlights to project ads on the road be allowed? (Yes, that really exists. Toyota wants to project warning patterns. Others have talked about ads.)
In practice, counting the number of "characters" turns out to be not all that common, though. This usually comes up doing low-level text rendering or editing, but how often would you do something like that yourself instead of delegating to some library? (and then that library might still reach for ICU - but that's another story)
Heart Rate Variability (HRV) in ADHD
Indeed. A rule of thumb is something you're supposed to use, at most, in the absence of any better information. I've written abstractions that didn't end up needed, sure. I've also written abstractions that I've been extremely glad for in hindsight.
anti-dentite
It may happen. It would kill both projects, because Rust is arguably future-proof in its syntax.
The alternative that my older code used was int16, and it has way bigger precision issues (32-bit float has 23 bits of precision, and in16 has 15). Fundamentally audio samples are just numbers; the fact that they have to be in the [-1..1] range in the end is a hardware technical limitation (the speakers' membranes can only vibrate so much), but there's nothing in the audio itself that says it should be constrained to some range. So, floating-points are a nice fit. Fixed-point math like 16.16 might be a good alternative, but floats have hardware support, so here we go.
It doesn't matter that there is not way for copilot to know what happened, doing something illegal because hundreads of people did it before it's never a valid excuse under the rule of law; nor it is "I didn't know it was illegal". Regardless if it's copying code without permission or jaywalking.
Tax is supposed to deal with this to some extent but the rich have the resources to avoid it!
Start with whoever nobody likes. You can probably find the least-liked 30% of the company by asking around. The big upside is you will get less grumbling for firing them! Everyone wins!
Does it use or work with with Rust's embedded-hal in some way?

I'm not seeing mention of it on the initial website, so am guessing "no". :/
The clip where he refuses to hug Kesha is kind of awkward, although totally more her fault for just bombarding him and randomly demanding a hug: https://www.youtube.com/watch?v=iX3_L8z2uw4
Cutting a Wearable Display in Half Is Harder and Simpler Than It Seems
Well, looks like the "stable" version crashed

The old definition of stable, where software might be missing needed security patches or hw related updates might need a rethink
>So the question of course is still where are they?

You described barbarians. But barbarians don't need Von Neumann probes, they can do everything they want with a stone hammer.
Who wrote and popularized that narrative? The industrialists with printing presses.
> You can’t really remove a word without losing the meaning of the text.

Hmmm... Once you see his jokes in text form this seems a little hyperbolic. Removing words would definitely change the rhythm, but Seinfeld is not a name that springs to mind when talking about taut writing.

https://bouncemojo.com/jerry-seinfeld-jokes/
The words might be, but the context and approach goes back to at the very least
to The Killing Star by Charles R. Pellegrino and George Zebrowski published in 1995, who wrote:

We ask that you try just one more thought experiment. Imagine yourself taking a stroll through Manhattan, somewhere north of 68th street, deep inside Central Park, late at night. It would be nice to meet someone friendly, but you know that the park is dangerous at night. That's when the monsters come out. There's always a strong undercurrent of drug dealings, muggings, and occasional homicides.

It is not easy to distinguish the good guys from the bad guys. They dress alike, and the weapons are concealed. The only difference is intent, and you can't read minds.

Stay in the dark long enough and you may hear an occasional distance shriek or blunder across a body.

How do you survive the night? The last thing you want to do is shout, "I'm here!" The next to last thing you want to do is reply to someone who shouts, "I'm a friend!"

What you would like to do is find a policeman, or get out of the park. But you don't want to make noise or move towards a light where you might be spotted, and it is difficult to find either a policeman or your way out without making yourself known. Your safest option is to hunker down and wait for daylight, then safely walk out.

There are, of course, a few obvious differences between Central Park and the universe.

There is no policeman.

There is no way out.

And the night never ends.

But of course, even Stephen Hawking was talking about this for decades. I find it bit of hilarious social commentary, that some Chinese author copied it and now people claim he invented it.
Find the MacBook you need with this database
> Government of India amended a bill to allow Indian citizenship. They added a list of religions but somehow excluded only Muslims from that list.

Because Muslims obviously are not traveling to India fearing religious persecution in ISLAMIC countries. That is... a big oxymoron.

The fast-tracking of Citizenship was for "persecuted religious minorities".

Muslims are welcome to come through Regular routes just like every other Citizen of the World (which also includes Buddhists, Hindus, Sikhs, Jains, Parsis, Christians from other countries not part of the 3 countries mentioned in the Act for instance). There are many Hindus who fled Sri Lanka and taken refugee status in India but haven't been brought under CAA as their status is still unclear (i.e. if they want to go back to Sri Lanka or not as the persecution was not of religious nature). The CAA was enacted specifically for minority religious persecution. How can you link that with regular Immigration which continues unabated? These refugees are languishing without Citizenship for 40+ years. Have some sympathy for them.

It is exactly the same as Jews fleeing persecution. Did US not fast-track citizenship for such Jews? Precedent has already been set by the United States. Now will you condemn USA for the same? [1]

Let me quote from the Lautenberg Amendment and the discussion prior to that:

"C. Special Category Aliens
Since 1989, legislators have pushed the Immigration and Naturalization Service (INS) for increased admissions of specific religious and ethnic groups, in particular Soviet
Jews and Evangelicals, Czechs, and Poles. In doing so, they have created special preference categories for specific aliens. 34 In May of 1989, U.S. Senator Frank Lautenberg (DNJ) proposed that Congress create a "rebuttable presumption of refugee status for Soviet Jews, Evangelical Christians and certain Southeast Asian nationals."

`The Lautenberg Amendment required the Executive branch to establish:
one or more categories of aliens who are or were nationals and residents of the
Soviet Union and who share common characteristics that identify them as targets
of persecution in the Soviet Union on account of race, religion, nationality, membership in a particular social group, or political opinion .... [One such category
shall include] aliens who are ... nationals ... of the Soviet Union and who are
Jews or Evangelical Christians.`

`President Bush signed the Lautenberg Amendment on November 21, 1989.41 The
Amendment allows for a reduced admission standard for the particular groups and requires the eligible aliens to assert a fear of persecution and show a "credible basis for
concern about the possibility of such persecution. 42`

[1]: https://scholarship.law.nd.edu/cgi/viewcontent.cgi?article=1...
I would personally award bonus points if this is implemented with some kind of inverse adaptive "matrix" mirror mechanism whereby reflective-ness is automatically concentrated at light sources that are directing light at you.

That's how reflective signs, vests, and auto reflectors work.[1]

[1] https://en.wikipedia.org/wiki/Retroreflector
You surely mean the whole IT industry. The only one that do not issue recalls or warranty refund/ when end product has major issues/misfunction and just tell people to live with those bugs until they potentially fix them or not.
> In an unregulated market, you can always just outbid someone else for a rental

Until you have to actually pay the rent you bid.

> if supply doesn’t match demand, you just go homeless

This is true in both situations. Only in the second case instead of whatever rich asshole wants to move there getting the rental, the people who have lived there for decades already do.
Same for me. I even had it working for a while but then a kernel upgrade or something else seemed to have broken it again.
The small issue of provenance there! With music it
is clearer who sung it, and nonfamous music is almost worthless financially anyway.
I'm convinced that a large part of this kind of thing is related to personality.

People's ability to get "in the zone" depends on if the level of presentation fits them. I remember in AP Chemistry, some kids just thrived on the rote memorization nature of the whole course. They did great. Some of us found it nonsensical that we had to memorize so much without explanation but we still managed to push through and get good grades. The people who did better weren't "smarter," they just never cared to ask any bigger questions about the material. I'm sure that lack of curiosity helped them to succeed in standard careers.

A person who was "smart enough" to do cutting edge theoretical research might get lucky and have a personality that fits with having a more standard life. Someone who isn't "smart enough" might be very interested in certain problems and push through to finding the answers. Someone who is "smart enough" to do that and doesn't like bureaucracy might drop out of grad school, or even undergrad.
It is a feature missing from Firefox. PWA apps are a great compromise for webapps with some APIs from native apps, without having an entire browser packed with them
"In a key" means using the indicated scale. If you mean "all keys sound the same" literal, you're wrong: key changes are audible.
Well yes, there'd be no way for the copilot model, as currently specified and trained, to know.

But it IS possible to train a model for that. In fact, I believe ML models can be fantastic "code archaeologists", giving us insights into not just direct copying, but inspiration and idioms as well. They don't just have the code, they have commit histories with timestamps.

A causal fact which these models could incorporate, is that we know data from the past wasn't influenced by data from the future. I believe that is a lever to pry open a lot of wondrous discoveries, and I can't wait until a model with this causal assumption is let loose on Spotify's catalog, and we get a computer's perspective on who influenced who.

But in the meantime, discovering where copy-pasted code originated should be a lot easier.
But then those companies can get in legal trouble, not Github.
No, Bismarck didnʼt, because he didnʼt start them (esp. not No. 1 and 3), and he could win them – among other reasons – because he didnʼt start them (that was the point about allies and benevolent neutral parties). As I said, this is often misunderstood, tragically so by William II.
Why wouldn't it run a subset of tests on each boot? It seems like it would be silly not to. That's probably one of the mechanisms by which the bios will automatically revert to "safe" settings after a botched overclock.

You could do an experiment. Remove some of the RAM modules and see if the 20 second boot time decreases.
Deliberately dazzling drivers at night may have liability issues.
Ask HN: Alternative web interface for app stores from Google and Apple?
It's well known that discoverability and search isn't very good at the app stores that Apple and Google have.

I wonder if somebody have scraped the information from the app store webpages and used that to build an alternative interface? Hopefully with more advanced features and better discoverability? (It's fine if the site direct back to the original store page for the actual installation.)

Please note that I'm not asking for alternatives such as apkmirror.com or f-droid.org. They have a different focus and software library from the official stores. I want the apps from the official stores, just better presented.
That matrix mirror won't work in ie dirty cars, and as something seemingly complex and expensive, no manufacturer would put it willingly and most buyers wouldn't pay up for it neither. You would have to enforce this via regulators. Good luck pushing such thing in nimby-ridden US (for lack of better expression).

How about other approach - trying to foster a culture amongst people of not being an a-hole to others, especially on the roads? Rather than playing whack-a-mole with all possible variants how assholism can be manifested. It generally works quite well in western Europe, I can't remember the last time somebody blinded me (if I don't count split-second situations of popping up suddenly from behind some tight curve).
Thanks, very interesting read. One-sided installation and low-latency sound particularly appealing.

Two features I didn't see addressed:

- Is there a GUI of any kind? I use Syncthing's web GUI + a tray applet for monitoring syncing on desktop, and on mobile there's an app for syncing also. Makes it easy to detect if there's a problem with any of the folders being synced, and easy to add new folders this way also.

- Is there an equivalent to Syncthing's untrusted devices feature? It basically allows for client-side encrypting the files, so you can have say one remote with the encrypted files and another remote with unencrypted files.
Probably most others too. My new TCL TV uses a Bluetooth remote.
Popularity is a poor measure of a programming language's worth. Remember, there was a time Perl was popular and, an much as I love Perl, it has some issues.
std::vector would definitely be the wrong choice, since I typically want to pass random subsections of random arrays to be filled by audio samples. std::span would be a good choice, though (I actually have my own span in the engine, from before C++20). Why didn't I use it? No idea, just didn't come to my mind. Guess it might be the influence of the book I was reading, or of SDL_Mixer interface, etc. I may do some refactoring in the future and use spans instead.
This is very much a standard damage control. Notice how the drone completely ignored actual problems and instead derailed the whole thread with fake ones and broken analogies.
I think graphql with a single db is an odd thing to gain popularity - as the raison d'être for graphql was to federate and proxy different, heterogeneous data sources (databases, json/rest services, soap, other graphql services...).

Speaking of Netflix - I think they had an alternative Api federation service that used some clever tricks with json string vs number keys to allow for alternating http put/get - and through that leverage http level caching. But I can't find the the link...
Hi. I'm a wheelchair user. It's only reasonably recently that the buses here had a restraint system that can lock my chair in place added, before that I needed to hold on to a bar next to me, which destroyed my shoulders.

Uber decimated the taxi industry, the pandemic finished them off, and now taxis need to be sent from one town over, and those drivers don't accept my government subsidy card.

At my fittest, I could push my chair about 10km per day.

I need a car.
Why not just buy a new WiFi-controlled A/C? They're very common now.
Conscious how? An elitist dish (which at least to me smells like bleach) might become more available to everyone?
Ok I have been waiting for some time to find the right context on hackernews to shamelessly mention a democratic system that I have been working on for the last year:
https://arxiv.org/pdf/2109.01436.pdf

IMO the problem with most {something} democracy systems is that they are voting paradigms that focus either only or mostly on how decisions are made but not how the options to decide upon are formed. This is true for the systems that you mentioned as well.

Moreover, the fact that decision-making and policy authoring are operations that take time leads to citizens' beliefs updating during the processes and after the fact, but with "old-school" type representative democracies there is no real-time mechanism to synchronise policy suggestions and voting outcomes with the new states of information accumulation by voters. "High-tech" democracies should take advantage of the technologies that enable fast and cheap communication but they should also have mechanisms that disincentivise the spam that inevitably follows cheap talk.

Regarding AI policy making, there are very interesting projects such as https://pol.is which address a lot of the problems that I mentioned above but, in my opinion, their output should be used as advise only. We have not yet exhausted human-centric democratic systems and neural networks are still privately-owned and privately-trained black boxes.
Global Wildlife Population Dropped by 69% in 50 Years Due to Human Activities
> It's always kind of amazing to me how much of an asshole Jerry Seinfeld comes off as.

Came here to say this, only to see it’s the top comment. Bravo. Love me some Seinfeld, but goddamn it man, show some kindness and humility.
To me this demonstrates why it's not always worth learning C. Like you said, the world is bigger than we think. There are areas of software where knowing C is not that helpful.

Even in the web world, most devs are not going to be poking around in Redis internals. If you go higher up the stack to things like accessibility or CSS animations then knowing C is literally useless.

Why do you feel like C is so fundamental that every developer must know it regardless of what they work on?
My newspaper says that the attacks were by Iranian kamikaze drones, so that would explain why they're slower and possibly less powerful.

These recent attacks are sickening. I don't see what Putin is trying to accomplish with them, except for making people hate him even more. I think he's trying to provoke a reaction that would use to justify further escalation on his part. The problem is, his only options for further escalation would be full mobilisation or nuclear weapons, and I think both would work out very badly for him. The Russian people wouldn't accept full mobilisation (see how they're reacting to partial mobilisation!), and NATO will definitely step in once nukes are used.

There seems to be no way out for Putin except giving up or this sort of random destruction. He's lashing out like a toddler who can't have something he wants.

Please be safe out there.
The latest code commit is from ultimo 2018. Is GNU indent still being actively maintained? Or is it “finished”?

Do we have other options for formatting of C code?
Thanksfully someone did which show also the beauty of the open source, it only took a few minutes for someone to volunteer and provide a correction, which the poster above could have done instead of complaining.

https://github.com/lucide-icons/lucide/pull/812
This sounds a bit like the ancient romans "asking a chicken" if they go to battle or not. Seems more interesting the politics of which questions get asked, which questions do NOT get asked, which answers get ignored, and how the answers get interpretred. More like a glorified 8-ball, ouija board, or oracle than anything else.
Exactly; I should have been more specific: EU mirrors are aspherical, so the curvature isn't consistent. The US government believes, rightly or wrongly, that American drivers are simply too stupid to properly comprehend the view from an aspherical mirror, so therefore they are banned in the US.
> Compared to writing code in assembly language it is a dream, though

C is a something of a high-level assembly language. Of course we could write literal assembly language in C, pretty much.

r1 = 0
r2 = 1
r3 = r1 + r2
mem[1000] = r3
Could you mention the names of the novels?
That would only work if the original was uploaded to GitHub before the copies. Like, somebody could copy from GitLab or BitBucket. And git histories don’t always help if they’re not copied over.
Well the show motto was "no hugging, no learning".

But don't you think Elaine was a "strong independent woman"?
Of course the model can know if the code is repeated in multiple repositories with different licences. The people who maintain copilot simply don't care to make it do so.
Oh ty, I knew why I didn't click on the video and just skipped to the comments.
I'm not sure if it is actively maintained, but another option for formatting C code is https://clang.llvm.org/docs/ClangFormat.html
Where do you see that in this interview though? I might be culturally biased but I don't get this vibe in this interview at all.