skysight-inc/HackerNews huggingface dataset:
> The owner of the repo writes many single-file libraries in C. Apparently you are not familiar with his coding style; otherwise you wouldn't have these complaints on linking.

I never claimed to be writing only about his libraries, but instead about single-file libraries in general. Sorry if I wasn't clear about that.

> For his (and many others') libraries, you "instantiate" the implementation in a .c file and declare functions in other source files. This way you only compile the library implementation once.

I tried to make clear which of the bullet points only applied to header-only libraries (again, apologies if it wasn't clear). For example, my objection to compiling the same library multiple times specifically applied only header only libraries. As you say, with two-file (or single .c file, if you like) libraries you only have to compile the library once per build of your program - but as I made clear in a separate point, that is still potentially a pain if you do a clean build (but it could be mitigated by having a separate CMake target, or whatever, that contains all your library files).

> In addition, although the name of the repo is "single_file_libs", it links to many double-file libraries consisting of a pair of .c and .h files. These libraries won't have the issues you are talking about. Developers are well aware of the potential linking problems.

As I just said, I had tried to distinguish those cases. They're less problematic, but still somewhat problematic.

> That said, you are right that single/double-file libraries tend to be small. It is hard to work with a file with >10,000 LOCs anyway.

Yes, and if you only need a small number of small libraries then all my objections are a lot less severe. To spin the conclusion on its head - you can avoid going down the package manager route if you avoid having any large dependencies. For some projects that's acceptable. Personally, I find the pain of working without basic largish libraries like protobuf to be enormous compared to the relatively simple process of using a package manager.
Luckily for you, Oxford University is British. Public funding refers to the UK governement. Btw AstraZeneca is also British.
Hi HN, I'm Paul, the founder of AuditAPI (https://www.auditapi.com). We provide an API that lets developers quickly enable audit logging within their apps.

At previous gigs, I've had to either implement audit logging from scratch or integrate my service with preexisting internal solutions. Typically, a table within the primary DB would be used (leading to space issues), search would be slow or non-existent (can't search - won't use), or there would be little to no documentation on how to best utilize the tooling.

Despite these shortfalls, I saw the benefits of having audit logging in place. Customers could keep an eye on the activity occurring within their account, customer support could root-cause customer issues quicker, and product/engineering teams could gauge feature adoption.

I built AuditAPI to scratch my own itch — to simplify the process of both storing and retrieving audit events.

I'd love to get your feedback, answer any questions, and hear your ideas. Thanks for your time!
Trials and regulatory approvals are a huge cost too.

If the government paid for all of that (including opportunity costs + a decent margin), then the government should have asked for the patent rights (or at least a commitment on pricing).

Has any serious journalist looked into exactly what the world governments paid for and exactly what the deals with the drug companies look like?

All I can find are biased opinion pieces devoid of actual information.
As another comment pointed out, youtube-fl is not _circumventing_ the mechanism, it is merely using it as intended by its creators. It does exactly what a web browser must do to play the said videos. Just like a browser is allowed to do the same thing to get the right video, put it right there in plain data on your computer and play it - no proprietary DRM ever steps in the process! - , youtube-dl follows the same steps. So youtube-dl is no different from a browser that also has a "download to your computer" button - every other behavior is the same.
>Why is it correct for tests to attempt to discern innate ability rather than current ability?

The issue was that they were testing for neither; rather, they were testing knowledge irrelevant to the thing ostensibly being tested (but specific to a class group).

From Wikipedia: "For example, questions about the role of household servants or classical composers were far easier for middle-class children to answer than for those from less wealthy or less educated backgrounds".
Here's a good debate on whether Walmart is net positive or negative for America's working class: https://www.independent.org/events/transcript.asp?id=125
Agreed.

The local engineers would obviously have all sorts of considerations if they really were defying the wishes of their local government.
Works fine on firefox developer edition (83.0b3), I'm guessing whichever bug there was has since been fixed. Runs very smoothly aswell, props to the devs.
You're conflating bad medicine with cheap medicine. Unnecessary surgery is exactly what I'd expect from bad medicine charged at "whatever the seller wants" prices.
Common Lisp is typed. It is not (consistently, see SBCL for a counterexample) statically typed. If you try to do:

(+ "hello" 3)

You will get an error in CL, and with SBCL an expression like that wouldn't even compile.
No, the core of my argument is that treating individuals based on aggregates is unjust, as is generalizing to aggregates based on individuals. The former is prejudice in action - from the general to the particular - and the latter is prejudice formation - unsafe generalization from the particular to the general.

I have zero doubt that many people are treated differently based on skin and other overt characteristics. But that's not my argument.
Cameras were the dominant way for nearly 100 years, and that didn’t happen.
This is really cool.

Reminds me that templeOS did bring something interesting to the table that we could probably learn from.. Why shouldn't our terminals be able to show images and video.
It's good to get every bit of confirmation we can of this, but the "myth of polarization" has been known for a long time -- best described in Morris Fiorina's 2011 book Culture War? The Myth of a Polarized America.

There is overwhelming evidence that at the end of the day, people's political and issue views are overwhelmingly bell curve-shaped.

The issue is that the bell curve gets split into categories. American voters are given two options, so people get split into "right" and "left" even when the mode is in the center. Or academics define the "center" extremely narrowly and therefore claim a majority of citizens are polarized.

[1] https://www.google.com/books/edition/Culture_War/s5YZQQAACAA...
Well, I said "most". I was a bit wrong. It's not just benefiting from racism that makes you racist by the definition, it's being a part of one of the systems that props up racism.

Here's a definition from the ADL for systemic racism.

"A combination of systems, institutions and factors that advantage white people and for people of color, cause widespread harm and disadvantages in access and opportunity. One person or even one group of people did not create systemic racism, rather it: (1) is grounded in the history of our laws and institutions which were created on a foundation of white supremacy;* (2) exists in the institutions and policies that advantage white people and disadvantage people of color; and (3) takes places in interpersonal communication and behavior (e.g., slurs, bullying, offensive language) that maintains and supports systemic inequities and systemic racism." [1]

So if you support one of the "systems, institutions and factors", you are by this definition, racist. I just said most white people probably are, by this definition.

[1] https://www.adl.org/racism
You can configure it "the hard way": https://github.com/istio/istio/issues/22068

That issue also says that an easy way is coming in 1.9.
Hmm, I take it back then. Maybe a sub-vocalization mode then...
- Streamripper

- Streamlink

- Clive, clive.
Opposite sides of a divide working towards common goals.
I had no idea the FBI put that many people into undercover work. There's no reason to think things have changed.
I hope that by coincidence, the vaccines do not magically get safety approval after the day of the United States' elections.
My take: it's good but has some drawbacks. The biggest one for me is that the questions are mostly multiple choice. You don't have to show your work or reason through the problem, so it's easy to mentally cheat and say "eh I think it's this one." This isn't so much a fault of Brilliant as a limitation of the smartphone/web technologies vs. pen and paper. I've been having some success with a blend of Brilliant, books, and application (using what I learn to read some physics). I don't think using it on its own will probably be enough though if you want to be able to apply or know the topics deeply.
"opinion pieces" nailed it there and sadly that is what journalism has become and fuelled these so called `culture wars`, it's as if they create the issue to report about - which given the bulk of content in the Guardian (other newspapers just as guilty and maybe more so), I find somewhat farcical.

I miss the days when all the facts was reported, instead it is opinions that are slanted one side or another to market to the social media rabbles of the moment. In effect social media like twitter has becomes the REUTER/news wire source of news and opinions are treated as news today.

But in a world in which problems are ignored until some celeb parrots them, one can only cry at the loss of real investigative journalists who are drowned out by a sea of bandwagon opinion pile-ons.
Axler is too abstract for most people who want applications (I have worked through it). Unfortunately, I don't know of a good linear algebra text that is focused on actual calculations and isn't boring. Linear algebra has so many interesting applications, but I found learning it tedious.
no quarter with the fascists
What happens if culture warriors make everyone hate the position they are fighting for by using really annoying methods?
Several SJWs say just that.
It's not enough to only talk about syntax when we introduce Lisp.

The other less known Lisp feature (in the sense of Common Lisp), is the image-based development, which makes for a great REPL. Really interactive, tiny feedback loops, where you compile your program one function at a time. You never wait for a process to restart, even working on a web, GUI or game project. You keep your test objects around. You restart to a clean state when you want. You get compilation and type warnings immediately. You have an interactive debugger that points you to the erroneous line, you fix it, you tell the debugger to try again from the previous stackframe, and you see the function complete.

Explore! https://github.com/CodyReichert/awesome-cl
This is good news, but I suspect the "censorship cancel culture" crowd will be chiming in soon.
Have you tried this setting? This worked for me and I use my Pi as a media server and my VPN as a way to get all my machines to connect to it (a hub, I guess).

https://linuxconfig.org/how-to-turn-on-off-ip-forwarding-in-...

If you're running Docker, I believe it sets this by default, but try setting this on your VPS. I don't know enough about devops to know if there is an inherit danger to this, so take my advice with a grain of salt, but this worked for me.
Are you leveraging GraalVM or not?
This should come as a surprise to nobody, unless you happen to be in the bubble that believes Twitter is the real world.
>Why didn't they use the term "privileged" then?

They use that too, interchangegly and confusingly...
I'll Support Firefox Directly
This site was a godsend in university maths. I also strongly recommend it.
A friend of mine in public health mentioned to me that it's not uncommon for second waves of epidemics to be less deadly, since many of the people most vulnerable to the disease would have already passed away during the first wave.
https://www.youtube.com/watch?v=flp7gKg5G4E&feature=youtu.be
Wrong.

Linux: ioctl CDROMPLAYMSF

https://www.kernel.org/doc/html/latest/userspace-api/ioctl/c...

OpenBSD has cdio(1), IDK about the API.

After running these IDE commands, the CD contents would be streamed thru the analog output.
> If you accelerate/decel at a sustained 1 g, you can make it to Mars in about 2 days.

This is the key calculation where you realize that quick inter-planetary travel is totally within the realm of physics.

> Using Days and AU (astronomical units) we can see 3 days will get about 2.5 AU (halfway to Jupiter). 4.5 days will get you 5 AU (halfway to Saturn). 9 days will get you 20 AU (more than halfway to the Kuiper belt)

Obviously inter-stellar travel seems like a totally different matter, but actually at 1g constant acceleration it works out to about “1 year + the number of light years” to an outside observer. Less time passes for the traveler.

Invent an engine efficient enough to allow constant 1g acceleration for years at a time and humans really could become interstellar.

The best ion engines get around 200,000 Isp. If you had a 500t ship burning 1t of mass per day, you would need an Isp of ~4.5m to achieve 1g over that first day (it gets easier as you get lighter).

The theoretical limit (ejecting mass out the back at 1c) for specific impulse is 300 million.

https://space.stackexchange.com/questions/840/how-fast-will-...
If you declare everyone a racist then finding the actual racists becomes a much harder problem.

Firstly, if everyone is a racist then the word racist loses meaning. So when you have an actual racist and say this person is racist, it's meaningless. Everyone is racist.

Secondly, the amount of false positives will just be crazy high. How can this possibly ever work?

I don't know what they think they are achieving?
This is backwards. Nature is incredibly fault tolerant, it's our systems that are disconnected from nature that are incredibly fragile.
Yes beside some ideas about e.g. ipfs + emulating network weather on all accesses (instead of just cached ones) the
real annoyance is that there is no sane standardized Js standard library.

If we could we should make following best practice:

- Only use react and similar if you write a webapp, do not use such tools for websites. If your website is so complex that you need it you are doing something wrong.

- Have a js standard library which provides all the common tooling for the remaining non-webapp js use case.

- Make it have one version each year (or half year), browsers will preload it when they ship updates and keep the last 10 or so versions around.

- Have a small standardized JS snippets which detects old browsers which are not evergreen (like IE) and loads a polyfill.

Sure there are some requirements to get there. E.g. making it reasonable easy to have proper complex layouts in a reactive fashion without much JS or insane complex CSS. (Which we can do by now due to css grid, yay).
You are right, but at the same time it's great that finally it seems that we have an efficient unified model for language and image modelling. Having CNNs and RNNs separately was relatively hard to work with (especially RNNs). It would be bad if we would need different hardware accelerator architectures for the two most important / different fields of AI. Also having a unified architecture will help with mixed tasks.

https://github.com/lucidrains/lambda-networks

https://www.youtube.com/watch?v=3qxJ2WD8p4w

https://openreview.net/pdf?id=xTJEN-ggl1b
With many books, I'm not sure how to verify that I'm actually doing the exercises properly.

In the (simple!) maths I took, my misunderstandings often led me to do exercises incorrectly, but to think I'd done them right, or to have half a proof and no idea what insight I was missing. Even when solutions were provided (which was rare!), the path connecting the dots could be foggy. "What made them think to introduce this lemma?" kind of questions.

I often needed discussion with others to help figure out my misconceptions and correct them -- so... big ask, but do you have any further suggestions on how to replace talking with a TA, or with a smart group of upper-year friends?
Runs smoothly on Mac/Firefox 82.0
I love Olimex! They're based out of Bulgaria, so English is probably not their first language. Their ESP32 EVB board is often my first stop dev-board for the Arduino platform https://www.olimex.com/Products/IoT/ESP32/ESP32-EVB/open-sou...

Two 10 amp relays. Onboard ethernet. SD card slot. Wifi and bluetooth. It is an amazing board. Yeah the ESP32 isn't open source, but they have github for all the rest. Boards layouts, software.
This is a cult like approach. The main proposition "Everyone is a racist, whether you know it or not", is an overstatement. There is no way you can tell "everyone" is a "racist", is just an aphorism with multiple interpretations. This has become the tool of identity politics and group thinking, throw and aphorism and let people fight over it. Unfortunate.
I would say that there should be a source that at least tries to be neutral - but this seems to be the 'source'. Even with a cursory reading I stopped at 5 blatant lies. But who cares anymore
No more tickets, no more parties: the death of planning
There's a major historically-contingent component to this, too. The Island ECN, later absorbed into NASDAQ's ECN, originally ran its matching engine as one of these low-latency Java processes, writing everything using explicit object pools to avoid doing any GC on the critical path, as this was long before Zing was around.

This was a pretty reasonable choice at the time, as this was long before C++11 was around, and Java just offered a lot of advantages for developer ergonomics.

A natural consequence of this is that a number of HFT shops that were seeded by ex-ISLD devs just fell into using something like the ISLD tech stack, which at least at first involved a lot of GC-free Java.
Check out Ulysses [1]

It's Write-Only notes - you can only see the previous line at any one time, and editing is intentionally difficult. You write, then at the end you see what you wrote. I've found it really useful (as someone who has the same tendencies you describe.)

(I first found it from a comment on HN.)

[1]: https://ulysses.sonnet.io/
I think the real economic case is for asteroid mining. On earth a lot of the rarest elements are trapped in the core, but for asteroids, my understanding is that this same issue doesn't exist.
I have doubts that the powerful tools that Lisp provides don't work in large teams. OOP was declared the default abstraction for managing software in large teams but there were still a lot of unmanageable code, but still people kept using it and pooling their experiences, creating innumerous design patterns to handle each limitation, and through "natural" selection the do and don't of OOP became more and more clear.

Lisp on the other side not only had less of that collective experience due to becoming less popular, but it was also famous as the language that gives super powers allowing programmers to do 10x more, so the experience was also biased for single dev performance. The Lisp Curse is a cultural problem, not a technological one, you don't need to reinvent stuff just because it is easy (and fun).

I'm optimistic though since the new generation of languages (closure, elixir, julia, nim, rust) is increasingly going against the rooted belief in OOP (stuff like inheritance) and incorporating more Lisp features like macros, code as data and everything as expression. This means more and more large dev groups will have access to the tools and reason to make it scalable in order to get a little of that super power under control.
According to that article Merck got cut out of the deal and Oxford will get 6% royalties on the vaccine, from a UK/Swedish outfit. So nothing to do with US big pharma and Oxford will get upwards of £100m. It’s not is if they’d have got nothing out of the Merck deal either.

This is very disappointing. A lot of people are posting on this thread based on this misinformation.
What sources are you using here? The UK has one of the best vaccination coverage rates in the world, and the largest ever roll out of the winter flu jab is well underway (reaching a record breaking ~50% of the population).
My uncle is dying of throat cancer that has spread to his bones after getting HPV from a woman via oral sex, so I’m not sure “everyone lives” is correct if your time scales are long enough.
Additionally, in politics, the "center" in discourse is usually shifted along with the Overton window.

i.e. If you're an extremely conservative government, your moderate citizens views will seem extremely liberal.
Would you rather hold on to your anti-corporate principles or have a safe and effective vaccine to protect the most vulnerable in the world? These public-private partnerships aren't ideal, but there hasn't been any other way in history to develop safe vaccines on such short timeline.
Does anyone know if C#/dotnet is used in HFT to any extent? I'd imagine proper support for user-defined unboxed types (structs) and non-hacky methods for manual memory management (unsafe) could give it major advantage over Java with much of the QoL improvements java has over C++.
Oh yeah, definitely. Can't help thinking of how much better things would likely be if we'd had a Horwath administration through this crisis. :(
But the people negatively affected are few compared to those positively affected.

note: I don't actually buy into this idea that these so called positives are worth the cost. I believe we would be better off and happier if we still had the small businesses that were displaced.
Those who are scared of the consequences of catching Covid I guess, and there are plenty of those.

Once volunteer is worth ten pressed men as they say.
"how many lines of code do I have to read in order to grasp what is going on and what can I do to solve my problem?"

I'm not sure that lines of code alone are that useful here, or APL would be everyone's idea of a perfect language, since it can express so much in so few lines.

The Lisp community in particular seems to value verbosity over terseness, preferring long, descriptive function names and variable names, which make for more lines of code, but arguably greater readability.

I personally value clear code far higher than terse or clever code. I'd much rather read over a page of easily understandable code in 5 minutes than puzzle over a single line that does the same exact thing for an hour.
1. This dumping was litigated in the 60s and happened before this
2. You can’t predict the future
3. This is the efficient market at work, don’t solve any problem until it becomes a social, political or environmental reality you can’t legalese your way around.
Launching a Company in 5 Hours
Hm. Humans are built to identify with a group, absorb culture, and be uncertain and uneasy when not in their group or their culture. That can easily lead to treating different people differently, and to the conclusion.

It's not completely true though. We usually reserve the term for active, conscious acts. Not just unconscious bias. So maybe we need a new word for that?
Because the government hasn't been able to do anything right for 270 years, why do you think they're suddenly gonna wake up a figure out mass manufacturing?

We can't educate our kids at an acceptable level without billions of dollars being donated on top of all the tax collected, we can't figure out how to make medicare work responsibly despite literally being able to control costs, what do you think makes drug manufacturing any different?