skysight-inc/HackerNews huggingface dataset:
Doing a quick look through the library repository, I spotted another more scary function. It doesn't appear (at a quick glance) to be used anywhere, but still...

https://github.com/trustcrypto/libraries/blob/master/randomb...

For anyone wanting to try this out (it will compile with plain GCC if you add):

#include <stdlib.h>
#include <stdio.h>

to the start of the file, and declare a main function:

void main() {
unsigned char* buffer;
buffer = malloc(32 * sizeof(char));
randombytes(buffer, 32);
for (int i=0; i < 32; i++) {
printf("%02x", buffer[i]);
}
printf("\n");
free(buffer);
}

And you'll (of course) get some rather deterministic output. As I say though, doesn't look to be used (that I could see), but strange to have something like this there.

RE the RNG implementation, looks to be at https://github.com/trustcrypto/libraries/blob/master/Crypto/..., and looks to have some support for hardware RNGs on certain boards, but not others. Does sound like there's no hardware protection involved.
Or, you could go remote - $120-150k is an awesome package for a senior engineer or designer eg. in Czech Republic (where I live).
Or maybe Tibet?
https://en.wikipedia.org/wiki/Sinicization_of_Tibet#Populati...

A nation of 22 million was well advised to be careful
I too, love coding in C. I love how you can control almost everything. There's nothing "mysterious" or abstracted away. Maybe I'm OCD, but I love understanding exactly what is going on in my programs at all times
Self-Checkout in France Sets Off Battle over a Day of Rest
They tore it down before this important measurement was made.
It's not 'trivial' to extract the keys - all modern uCs have flash readout protection bits. It's probably easier to do than to read the secure element from your iPhone or extract keys from your SIM card or your credit cards, but it's not something you can do without specialized skills and equipment (although there are companies that provide commercial flash readout services).
Start reporting counterfeits at https://www.stopfakes.gov/article?id=Report-Fake-Goods

The following was taken from the DOJ's "Reporting Intellectual Property Crime: A Guide for Victims of Counterfeiting, Copyright Infringement, and Theft of Trade Secrets":

"Counterfeit Trademarks: The Trademark Counterfeiting Act, 18 U.S.C. § 2320(a), provides penalties of up to ten years imprisonment and a $2 million fine for a defendant who “intentionally traffics or attempts to traffic in goods or services and knowingly uses a counterfeit mark on or in connection with such goods or services.”

The key word there is "traffic".

"Counterfeit Labeling: The counterfeit labeling provisions of 18 U.S.C. § 2318 prohibit trafficking in counterfeit labels designed to be affixed to phono records, copies of computer programs, motion pictures and audiovisual works, as well as trafficking in counterfeit documentation or packaging for computer programs. Violations are punishable by up to 5 years imprisonment and a $250,000 fine."

Again, "trafficking". Just need to prove the "knowingly" part, which can't be done without establishing a clear pattern of trafficking in counterfeits.

"Why Should You Report Intellectual Property Crime?
Intellectual property is an increasingly important part of the United States' economy, representing its fastest growing sector. For example, in 2002 copyright industries alone contributed approximately 6%, or $626 billion, to America’s gross domestic product, and employed 4% of America’s workforce, according to an economic study commissioned by the International Intellectual Property Alliance. As the nation continues to shift from an industrial economy to an information-based economy, the assets of the country are increasingly based in intellectual property. In recognition of this trend, the Department of Justice is waging the most aggressive campaign against the theft and counterfeiting of intellectual property in its history. The priority of criminal intellectual property investigations and prosecutions nationwide has been increased, and additional resources on both the prosecutive and investigative levels have been brought to bear on the growing problem of intellectual property theft. Effective prosecution of intellectual property crime, however, also requires substantial assistance from its victims.."

https://www.justice.gov/sites/default/files/olp/docs/ip_task...

From:

https://www.stopfakes.gov/welcome
I was a pretty good assembly language programmer. I felt good about the code I wrote. It was correct. I never feel that way about JavaScript I write.
So while something like namecoin might be an fine experiment for a green-field system, the thing about DNS is it's already established so there's way to much fraud that would happen on even a slightly bungled transition. I'd be for the UN too.

Also, if something like trademark law ever gets involved (not saying I hope it does) and the international dispute resolution would be really hard to automate and a UN body would also be useful as the central authority.

Finally, I think it would be good for the world if most people interacted with a UN-administered thing every day. Not really the "teeth" it's missing, but a good step in that direction.
Everything that people own has some carbon cost associated with is, so the mere presence of a carbon cost doesn't justify getting rid of it.

Why would you argue that pets specifically are something that people should give up? People have needs that go beyond food, water, and shelter (e.g. play, love, stimulation, etc.) that will have to be factored into any plan to reduce carbon emissions. It seems to me that pets are an excellent value in terms of degree to which they provide for their needs versus associated carbon cost.
I've had a few vacations turn into work trips. It's really easy (at least for me) to work a lot in the morning and spend the late afternoon at the beach, park, or museum.

If all you need is a laptop and internet then there's nothing stopping you from an entire month at a vacation destination.
I think having a ticket also helps coordinate things if your working between global offices. Also, having a ticket helps others pickup if your out of the office. This has saved my team many times.
Shaken/Stir: Combating Spoofed Robocalls with Caller ID Authentication
The brief mention of the recipient which, in response to a one-time boon, scaled up significantly is a little saddening. That’s a very common failure mode.
Most large C projects end up succumbing to something like this at some point.
I've never understand why the problem of "the X largest ships contribute a shocking amount of pollution" hasn't been solved. It can't be that hard given the limited number of ships, right?
- https://wetransfer.com/ - website UI & upload non-usable without JavaScript

- https://swisstransfer.com/ - website UI & upload non-usable without JavaScript

- https://transfer.midrive.io/ - website UI & upload non-usable without JavaScript

- https://send.firefox.com/ - website UI & upload non-usable without JavaScript

- https://transfer.sh/ - website UI & upload non-usable without JavaScript, BUT there are instructions on uploading using cURL or alias.
Same thing can and should be said for toy humans. Or any hobby you have. Or anything you choose to do with this life.

I eat meat, fly often, race cars, like taking long roadtrips, own an SUV, and have 2 cats.

But I also reuse, recycle, use a tankless hot water heater, carpool in an EV, have solar on my roof, don't have A/C at home, live in a temperate climate, and don't have any toy humans.
Breaking into a Smart Home with a Laser [video]
Sounds like you're being willingly worked to the bone.

As far as I'm concerned, the point where making more money doesn't increase your quality of life but reduces it is where it needs to stop and you look well past it.
The point of self employment is not having to justify your life style, including vacations.

If I were you I'd look for a different employer or rework my business and split my time between a number of them.
Oil Theft in Nigeria
Huh? Could you explain with more detail what you mean?
Not typical in the US. Dentists won't even suggest it. Parent might be referring to a family of 2.
Do development costs really need to be recovered through sales? I thought most of this research was done on federal grants.
I have a standard poodle and the breed is particularly susceptible to GDV (Gastric Dilatation-Volvulus).

My dog got it suddenly at around 1.5 years old and our insurance paid out for the full emergency surgery (about 5k) with no issues; as with any providers the details are what matter.
I've just stopped answering my phone altogether. If something is important enough the person calling should leave a voicemail.
You might want to check out this - https://docs.crp.to/security.html#cryptographically-secure-r...

If you read further into the source you will see that analog read is only one of the sources of entropy, it uses capacitive touch from a user's skin and this TRNG passed dieharder tests - https://webhome.phy.duke.edu/~rgb/General/dieharder.php
Moving and starting over might be preferable to perishing. And we're still talking about very wealthy people here in a relative sense. What about those that don't have land and that need to move, especially when the move crosses borders into countries that are reluctant at best to have them?

This will get ugly.
Jobs, jobs everywhere, but most of them kind of suck
I really like some of the features of D for userspace programs. Optional GC for hot paths, the ability to write raw ASM if needed, familiarity of java/cpp. Really wish it would take off more.
Maybe it's just your method of presentation is taboo. And maybe you feed into your feelings of self-righteousness about your crusade(s) by intentionally evoking negative reactions from those you are trying to influence.
I’m working on direct-to-consumer STD testing in JasonHealth.com . Some thoughts on Hep C testing:

Hep C Antibody is a very inexpensive test. We charge $25 for it.

It takes a long time for the body to produce the antibodies after infection. This test is only 90% sensitive after 12 weeks ( https://www.hepatitisc.uw.edu/go/screening-diagnosis/acute-d... ). Testing shortly after possible infection with this test is not effective.

The best early detection test is Hepatitis C Viral RNA, Quantitative, Real-Time PCR. It’s able to detect infection 2 weeks after.

The absolute best testing protocol after suspected infection is what doctors use for needle-stick. Test the person who may be spreading the infection immediately using the RNA test. If RNA is detectable start the short course of Hep C drugs on the person who might be infected. This will avoid acute Hep C infection altogether.

Hep C testing is very popular direct-to-consumer. For us, patients usually get it as part of full STD screening ( https://www.jasonhealth.com/l/std-testing ). About 80% of Hep C tests are ordered as part of that.

Anecdotally, it’s not usually ordered by MDs as part of STD screening. Hopefully, these new guidelines will change that.
Start a journal. Put your thoughts in order on a daily basis, and when you look back at the end of 2020 (or beyond..) you'll have something interesting to read and reflect on.
> I went metric. That was a mistake.

It might be a mistake in the US, but of course machine shops outside the US are all metric - conversely, operating an imperial machine shop might be quite annoying outside the US.

> It is fine, I'm happy with my setup. But there are reasons not to pick the "better" method. And those reasons perpetuate the existence of the other ones.

Interestingly the US industry didn't switch to metric citing "conversion cost" (in the late 19th / early 20th century). Instead we continue to waste billions every year since: keeping double stock, projects failing (see: space), US engineers struggling with the system everyone else uses (and vice versa, though to a lesser extent, since US-made components and machinery are relatively irrelevant in industry) etc.
I've done something similar in Firefox with scratchpad. The main reason is simply convenience. I don't need to switch to a different workflow, I merely bring up scratchpad (I often already have a window open with some utility functions) and can start hacking away immediately.

Sadly scratchpad is going away soon. Fortunately the console now has a multiline mode, unfortunately it's not as convenient for this use.
Informed and Compliant Lending
Encryption and Decryption Tools
YouTube admits mistake in banning crypto videos
What I meant about abstraction is that if you define a function which returns an error struct instead of an error interface, you lose any abstraction capability, you can only return that specific struct (and need to find some way of signaling that no error occurred).
Freedom Is Meaningless Under Insurmountable Debt
A lot of people have a misconception that C is close to the way hardware works. The reality is that hardware engineers jump through lots of hoops so that C programmers can keep pretending that they're coding against a really fast PDP-11. Not only that, but these contortions directly lead to vulnerabilities like Meltdown and Spectre because memory representation in C doesn't map well to modern hardware. C family of languages is basically holding us back from utilizing current day hardware safely and efficiently. This [1] is an excellent essay on the topic.

[1] https://queue.acm.org/detail.cfm?id=3212479
I failed my dissertation defense. But I am not a failure
The Christmas Eve Confessions of Chuck Todd
It may be difficult to switch just now, but for the future consider billing weekly. Obligatory patio11 link: https://training.kalzumeus.com/newsletters/archive/consultin...
> "I think you can argue for both sides of the argument, but what is the obsession for "the real"? Is the JavaScript running in your browser "less real" than the x86 Assembly that is compiled once again to Intel Microcode?"

Because when the shiny abstractions and bloated frameworks layered like a Guinness World Record stack of pancakes† that attempt to hide all the underlying complexity of the hardware break down and leave you with a problem, be it CPU, memory, or I/O, then anyone without an understanding of what's going on at least at the assembly and architecture level will be up the proverbial creek without a paddle. I've made good money bailing people out of these kind of problems.

† About 60 cm or 2.5 feet apparently. https://www.eater.com/2012/2/21/6611971/this-is-officially-t...
I agree but it’s also worth noting that you should also be able to step back and consider how much of your self worth you want to define by how fast you ride a bike. There’s good reasons to set goals and “beat yourself” but also good reasons to not worry about it too much and “accept yourself“.
U.S. Federal Data Strategy 2020 Action Plan Released
> But I think the point is that namespaces functions would need to be mangled

Namespaces don't need to be mangled at all if they are interpreted as symbol prefixes.

I'd prefer that, say, namespace foo::bar resolved into foo_bar for all symbols (even that meant risking namespace naming collisions) to not having any support for namespaces in C.

In fact, this approach is already used to implement pseudo-namespaces, so that wouldn't be much of a stretch.
Run any website and your logs will eventually be full of hits to /wp-admin /cgi-bin etc. from zombies scanning the net for known vulnerabilities. This has been going on forever.
You misread. I didn't say it isn't harmful to touch. I said that isn't the reason it was restricted.

In any case it is safe to touch, despite the people downvoting me:

https://www.quora.com/How-dangerous-is-it-to-hold-a-block-of...
Free returns come with an environmental cost
I use the Digital Ocean $5/month VM to self host my static website (generated via Hugo although I'm not thrilled with it) on Apache, run Grafana and an InfluxDB server and experiment with Unix.
Individual files sure but apart from sending one file there are many more transfer jobs. People can buy 4TB HDDs from their office supplies store, and the fastest way to transfer data remains putting it in the mail, not because of bandwidth but lack of services. Cloud backup is much cheaper than buying a tape array and administrator, but at present that is all you can do with it -- backup. You should easily be able to have TB of personal data in the cloud and send any file/directory, without worrying about how big it is.

Resumable transfers seem to fail a lot with http. Block level differencing (like dedup) can also make things a lot faster.
I still don’t see that as a reason for wanting cash - that’s a reason for wanting both laws to make the banking system act more like the credit system with more consumer recourse and “postal banking”. They could go as far as denying access to paper checks and being able to opt out of letting banks get you into overdraft situations by denying all payments that would result in overdraft.

Also, you should be able to decide which order payments go in - highest first or lowest first. Highest first can easily result in 4 small overdrafts instead of 1 large overdraft.
Nintendo EShop Top Sellers of 2019
> I always appreciate it when a gamedev writes their own engine, and IME these tend to come out as the more polished games.

Of the ones that finish perhaps.
Just program an FPGA. You can get all those things with https://clash-lang.org/ cause basically what you want is first order FRP and hardware does that natively. (Actor model is junk cause the interesting thing is the data/information flow not the "actors" themselves. FRP puts the focus back where it should be.)

You can implement that for embedded systems too, but as there is no obvious best way to implement it (Von Neumann machine is so different) you'll constantly get annoyed if you are the type that likes to use the weakest hardware possible as different implementations have different costs and so you'll always be second-guessing the abstraction.
That car fact is in a quote by a guy with a company selling a meatless pet food alternative. I’m going to need an valid source, not a financially motivated comment to a journalist.

Your other links don’t hold up much better. The cat ones advocate for keeping domesticated cats indoors. The dog article isn’t about pets either, but roaming packs of strays. I doubt you have to try very hard to convince anyone that stray dogs are a problem.
I’d like To expand on this, Economic models are built on growth. To achieve growth there are three ways, increase the demand, increase the consumers, and increase productivity/efficiency.

The world economy has been expanding rapidly in party because there are more consumers brought about from an increase in population.

You need to fix the dependency on an exponential growth model before you can hope to have a reduction in population and I’ll take it a step further and this needs to be done to solve climate change.
This is a solid list.
Unlike LISP, C is still #2 on TIOBE vs. LISP which is #27, aka no place.
Sounds like the same thing I do at jobs....
Isn't that a management failure? If the most effective way to "get promoted and rewarded" is substantially different from "benefit the company", then management is not directing effectively.
Time and experience. Learning the syntax and wrapping your head around pointers and memory is the first step. After that, just try and write as much C as possible. Help out with projects, start projects, write tools and APIs. Most importantly, study existing code bases to learn real world techniques. Best case, get a C job where you have to write a diverse amount of C code day after day.
Trump's holiday menu: handouts for billionaires, hunger for the poor
> About the spaces, yes you can add an empty line if you want.

Sorry, I think I don't explained well. What I meant to was if the user type only spaces, oy only LF, or both, without text and confirm, this entry will be recorded, but without any text.
I had a psychotic break and almost torched my career and I had a similar epiphany that emotional stability trumps everything. My only critique is if you frame emotional stability as a foundation to achieve all these other ambitions then to some extent you’ve circled back right to where you started. The emotional stability is it’s own reward and worth infinitely more than a successful business.
But in those cases they do have multiple customers, serially. That is still regular market dipped into where pricing can be tweaked.

Working as a contractor for a single company for very long periods of time (say 1+ years), is a very different type of relationship, even if the mechanics are similar. I suspect that's the type of relationship that was being referred to.
Cameras and abuse are part of the same language of power, control, and mistrust.

Discretion is a matter of trusting power, and as I've mentioned, discretion shrinks in front of a camera. When cameras provide the kind of ammunition to humiliate, sue, or pressure for job termination, then your discretion is compromised. Why did one forgive one youthful offender of marijuana possession and not the other? Was it race? These are potentially humiliating questions.

We can also contemplate what it means for employers to extend monitoring to social media, and whether that compromises your willingness to express your thinking in forums, and whether monitoring employees has anything to do with control and trust. Recently US border patrol agents were found discussing Latinos and other minorities in depraved ways. Does observation of their social media restrict their individual expression? Yes it does.

As to the fact that judges and other parties have discretion, well, I have at least forwarded one example of judges sentencing more harshly based on whether they've had lunch. That is part of discretion -- that some people get to enjoy the sweet fruits and others do not. This humiliating fact about judicial discretion would not have been known without observation.
Nasdaq hits 9k for the first time
Thanks. Yeah it sounds so. I'm glad it's not as dire as some make it sound. But I think that even if this happens 1% of the time, it's awful. I can't imagine having to think about money when dealing with health issues. It was hard enough with a cat.
The way it generally works for these drugs is the insured get it covered and the uninsured get it cheap or free.
> Coding in C is like camping. It's fun for a while, but eventually you really miss things like flushing toilets and grocery stores.

Bookmarking that comment.
Will totally quote that whenever the need arises.
I made a self hosting solution for OnlyOffice but I don't know what to do with it. Seems like a lot more trouble than most people would want though my solution is as simple as selecting some menus and options. What kind of business angle can there be for self hosting your own office suite? Who needs it and who would be willing to part money for a setup tool if it was flawless?
I started learning C by writing a database, not a way to go. Since the information about database available online is rare.
Keyboard (System Preferences -> Keyboard or Spotlight -> Keyboard) -> Text, add whatever expansions you want, though this wouldn't be able to automagically figure out the actual attribution; you'd have to type that in after whatever template you set up.
This website started doing something heavily CPU bound on my machine.
Address Sanitizer is actually a worse Valgrind, because it misses certain bugs and makes up for it by being faster.
It didn't even operate particularly ethically in the TV show either... still, seems to have been effective
https://github.com/nothings/stb/blob/master/stretchy_buffer.... Although I get you want an official standard library version, or a built in language feature.
Given that they're using the Arduino APIs, what are the chances they know what flash readout protection is?
This looks great, I've always wanted something like this. I've always had autosys or controlm at work and they both suck.

I'd just prefer if it had been around longer. Any other open source alternatives out there? I only know of Airflow, k8s Cronjobs.
This may be of interest:

https://github.com/mikub/titanoboa