skysight-inc/HackerNews huggingface dataset:
What is the motivation to run this non profit site? I can not believe the motivation can simply be to get subtitles to watch movies personally. I suspect this is not really non profit as there the site supports ads. My guess is the owner is making decent money via ads. To the readers of this comment, if you can make a rough calculation of the ad revenue with good assumptions to validate or invalidate my theory, that would be amazing. Thanks HN
Heaven's Gate (1997)
Yes, if it eats them from the low end up, it can potentially do what Intel did to minicomputers and what ARM is trying to do to Intel.

There is a low barrier to hardware design for microcontrollers, and there is almost no innovation in the ISA these days it is all in the digital logic and software around it, so charging for that is approaching rent-seeking. Not saying the ARM64 ISA is not nice and clean, but it's a warmed over RISC. There's nothing revolutionary about it and no new ideas. It just shouldn't be something that locks you in to a vendor, or requires you to pay a tax on every device. It's an "API", it should be open.
I wonder how much greenhouse gas (CO2, etc) is emitted by such an eruption. Would it contribute significantly to global warming?
I have heard "Sari not sorry". Dunno where that came from, but I think I like it.
To add some context to this number, France recorded new confirmed cases (there may be quite a bit more that went unreported) in 0.7% of its total population in one day.
All of the RISC-V software ecosystem exists, and you can buy high performance out-of-order RISC-V implementations now from SiFive, as well as low power implementations that are very competitive with low power ARM.

The only problem right now is that high performance in the RISC-V world is about 4-5 generations behind ARM, so the fastest SoCs you can buy have cores that are roughly equivalent to a Cortex A73. SiFive is catching up a little each generation but they are a way off yet.
> I can not believe the motivation can simply be to get subtitles to watch movies personally

Why can't it be? Does everything require a money motive? Is it impossible that people want to do something good?
> Tue Jan 18, 2022 2:34 pm

> In August 2021 we received message on Telegram from a hacker, who showed us proof that he could gain access to the user table of opensubtitles.org, and downloaded a SQL dump from it.

Wait, they got proof in August and release the info only now? Was this because they were trying to be in a talk with the hacker? It wasn't really clear, but it's a long time...
Coal is pure carbon more or less. You are right that the math is a bit different for gas and oil.
What about all the people with other responsibilities like single parents or caregivers or people with disabilities who can't commit to a regular 9-5 job? They're not getting high paid gig jobs, just flexible hours.
Nikivanov/watney: Watney is a low-cost 3D-printable FPV rover
I wonder why is it romanized to "do", when it's read as "da"?
Summary maybe, but a judgement I doubt. Your robot would have to be able to address how the book fits into the current zeitgeist which is not something written down. It's ephemeral and intrinsic to the climate of current affairs, pop culture and most challenging, how people actually feel about the combination of all those facts.

Humans can fail to grasp all that too, but I think you vastly underestimate the complexity of culture and it's tendency to change rapidly.
These are Christian commandments, so it would help to understand what Christianity thinks of war to understand these. Even ignoring the tradition and focusing on the Bible:

- Do not murder is a commandment Israel received on Mt. Sinai. After that Israel continued its journey to conquer the Promised Land, which involved killing a lot of people (i.e. kill != murder)

- If you think New Testament has changed this, there is an episode in the Gospel of Luke (3:14) when soldiers come to St. John the Baptist to ask how they should change their lives. Guess what - he never tells them that being a soldier (and that was voluntary at the time) and killing your country's enemies is a sin. In fact early Christianity was popular among soldiers
I remember several years ago, I was considering pushing for some changes to our application to use a database like sqlite instead of a proprietary flat file format. I remember reading through the source and realizing how beautiful C source code could be, compared to the prop C code I was used to working on. That plus the constant improvement, stellar performance, and beautiful source code make Sqlite one of the top most gems of open-source software in my opinion. Huge props to Dwayne Hipp and the other contributors to this database which has enabled so many apps and products!
I don't know. I'm not Japanese. My question is about how people from original culture feel about latin transliterations.
When I read these articles, where people buy 4000$ treadmills only to watch netflix using an unsupported feature, I wonder why they don't buy a 1000$ treadmill without any display, a 50$ tablet stand, and an iPad or Android tablet (that they probably already have). You'd get exactly what you want, for a cheaper price..
> 16. Visit the sick.

Worst rule ever during a pandemic.
every time I see this word as a non native english speaker it sounds to me as a low level error ESTOPPEL ("Error: Stopped by Eminent Lawyer" or something)
> Only a Sith deals in absolutes.

If we instead use a scale from 0 to 100, and we understand that all companies are somewhere in between, then the paradox ceases to exist.
Shades of nomad / lame at this point.

Agree that Facebook being involved is a very bad thing, but don’t overestimate their ability to build something entirely new.

No doubt in my mind that VR will change everything - it’s simply a matter of “when”, but I’m willing to bet that we are now on a slow and steady path of improvement, but that path may be far longer than Zuck imagines.
That's not the case here, and it is probably prudent not to simply dismiss tracking apps if they are things you'd need/want to track anyway. While tracking your monthly cycle won't necessarily make you healthier, there are a number of ways it keeps you healthy and improves your life. This sort of tracking is one folks have been doing since well before we generally had internet: I was told back in middle school in the late 80s and early 90s, for example, that I should track it.

Not everyone does it, but most of the folks that don't will do so if they are doing things like trying to get pregnant, know when their mood will change, or are having other issues. I'm pretty sure that menstruation issues are the real thing that lowers your overall wellbeing. I've experienced this very thing, and I've needed the dates when things have gone wrong... or simply when I have had to go to the hospital/doctors, since they always seem to ask when I first started my last period.

Something on your phone simply makes it easier, especially since most folks take their phones into the bathroom with them from time to time. I just use a notetaking app, though, mostly due to privacy.
It's incredibly weird to me that people are ok with demonizing feelings and tone. Who cares if people are 'hateful'? One man's hate is another slight aggresion, and american toxic positivity makes haters of us all even if we speak with the best of intentions.
Ask HN: Do you think we'll be able to make adblockers for the METAVERSE?
I was reading this article on the patents that META want to use in the Metaverse https://12ft.io/proxy?q=http://www.ft.com/content/76d40aac-034e-4e0b-95eb-c5d34146f647

And honestly besides the awful ultra-targeted advertising based on biological reactions etc... it seems actually pretty freaking cool.

Do you think we'll be able to create adblockers for these devices in the future?

For now Occulus is based on android and is pretty hackable, but IYO how will that change if Meta make their own OS?
It's been a while since I have C/C++'d so some of my terminology is probably wrong.

ngx_http_v2_parse_method iterates through all the tests, starting with the first test (GET).

They compare request method string length to test string length then on matching lengths compare each character in the request method string to the test string.

Fully matching strings set the request method numerical value from the test value and returns OK.

Any non-matching characters GOTO the next test.

After that it does a sanity check on the request method string characters (A to Z or _ or -) and returns OK or DECLINED as appropriate.

For the macros defining the HTTP method numerical values I think they're set up that way as bitmasks for bitwise operations.

For example, they do things like[1]

if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD)))

Here HTTP request method value is bitwise AND against (0x00000002 OR 0x00000004)

Any non-zero value here would be true and any zero value is false.
So if the request method bit value AND matches either GET or HEAD bits then this conditional is false.

[1] https://github.com/nginx/nginx/blob/a64190933e06758d50eea926...
They're 50USD or so. The main problem seems to be that they use ~3-4W of power each, and it's more than power budget of a single SFP/+ slot (2W or so), and they become v.hot (~70°C), what can lead to overheating of switches.
Can someone explain “_” and “__” in Python clearly for me?
> AR on the other hand, either as a small projector or special glasses — that is exciting.

Is it? All I have ever seen is floating stuff lagging behind or jumping around. A "proof of concept" level experience, at best.
By the way, what is the easiest (to understand and extend the code and also to use) Telegram client out there? I want to add some features lacking in all the clients I've seen. Emacs-based client sounds cool but requires to learn Emacs (and its internals given the intention to extend it). Default clients are mindbogglingly complex for a person who never did web front end. Is there something basic based on Tkinter, WinForms or WPF?
Or perhaps when i set "Disable power saving" for USB devices Windows would actually do this. It's bad to be in a Teams meeting and from time to time your USB Bluetooth adapter to be disconnected.
Using an IDE like VS/Clion/CDT/.. would already be of help.

Then there are tools like SourceGraph, CppDepend among others.
What a coincidence! Lovely topic, even registered account for this :-)

I _just_finished_ my own comparative benchmarks to (re)check my projects from ~7 years ago, all in similar stack.

Back then I wrote the logic as Apache modules, in C. It was using Cairo to draw charts (surprisingly, the traces of trigonometry knowledge was enough for me to code that :-), and I had absolutely crazy "hybrids" of bubble charts with bars, alpha channel overlays etc. It was extremely useful for my projects back then and I never seen any library, able to produce what I "tailored" ...)

The 7-years-ago end-to-end page generation time was ~300 mcs (1e-6 sec), with graphics, data store IO and request processing, preparing the "bucket brigade" and passing it down the Apache chain.

This Jan I re-visited my code and implemented logic for OpenBSD httpd as:

** 1) Open BSD httpd "patch" to hijack the request processing internally, do necessary data and graph ops and push the result into Bufferevent buffer directly, before httpd serves it up to the client.

** 2) FCGI responder app, talking to httpd over unix socket. BTW: this is most secure version I know of, I could chroot / pledge / unveil and, IMO, it beats SELinux and anything else.

3) CGI script in ksh<=>slowcgi<=>FCGI=>httpd

4) CGI program (statically linked) in pure C<=>slowcgi<=>FCGI=>httpd

5) PHP :-) page (no frameworks)<=>php-fpm (with OpCache)<=>FCGI=>httpd

To my extreme surprise, the outcome was clear - it did not matter what I wrote my logic in, _anything today_ (including CGI shell script) is so fast, that 90% of time was spent on Network communication between the WebServer and the Browser. (And with TLS it is like 2x penalty ...)

All options above gave me end-to-end page generation time about 1-1.5 ms.

Guess what? Beyond "Hello World", with page size of 500Kb+, PHP was faster than anything else, including native "httpd patch" in C.

As side effect, I also confirmed that Libevent-based absolutely gorgeous OpenBSD httpd works slightly slower than standard pre-fork Apache httpd from pkg_add. (It gave me sub-ms times, just like 7 years ago)

Who would say ...

What also happened is that any framework (PHP or I even tried nodejs) or writing CGI in Python increased my end-to-end page generation time 10x, to double-digit ms.

I remember last week someone here was talking about writing business applications / servers for clients in C++, delivering them as single executable file.

I would be very interested to hear how that person's observations correlate with mine above.

G'day everyone!
Insulation beats solar panels. It’s not only much cheaper to get, but also to maintain.

The body heat of a family of 4 is enough to heat a well insulated house.

Solar panels are there to supply electricity for use. The last step of passive houses are zero-energy houses, which means that they don’t get electricity from the grid.
Eyes hold the key to true biological age, study finds
Be aware that census data is contextual to it's location. During the 2020 census we struggled heavily to census reservations and the rural country in general. Sometimes receiving threats of violence. We were asked many times to census various areas and simply could not do so for our safety because the number of anti government types has made it dangerous.

Imo the main statistic, number of people, is the most accurate. All the rest are optional inputs and may not accurately reflect the true data due to the nature of collection.
Interesting CGI content linked on there.

I've been reading about / hacking on CGI recently, and it's been kinda fun!

Question: One thing I keep reading is how inefficient it is to start a new process for each incoming connection. Could someone explain to me why that's such a bottleneck? I imagine it being an issue back when CGI was used everywhere, people moving away from CGI, and forgetting about it. But hasn't there been improvements in the meantime? Computers from today can run circles around those from a few decades back. Has everything improved except the speed / efficiency of starting a new process?

(I don't have a computer science background, but I guess you could already tell from the above.)
Have tried both Lenovo and Linksys (USB-A, RTL) - in both cases they would have issues and disappear after hours or days after startup. I can not tell you for certain that it's purely an issue with the USB Ethernet adapters and not something else in the stack (Armbian Bullseye).

Since it's built in-house, why are you relying on retrofitted USB dongles if reliable Ethernet connectivity is important? Unfeasible to make a revision with a port?

Anyway, if I were you I would probably just go ahead and buy one each of the top handful of contenders and try them out myself - they're not expensive and it makes sure that it really works for you, and if not, where the problem lies. If you have the same issue on several adapters with different chipsets, well...
Totally valid to not be an early adopter, but I feel like you're just "predicting" it won't rain in the desert every single day. Most things fail, so you're going to be right most of the time even if you don't have any special insight.
Waterloo Region District School Board meeting 1/17/2022
Wouldn't pressure waves travelling in opposite directions interfere with each other?
I appreciate that you shared this, but I remain entirely unconvinced. His argument is "pff it's not that bad".
I don't agree with the premise of "Democrat run companies", but I agree with the cynicism about whether Democratic politicians want to succeed or whether it's theater.

A pattern I've noticed, not limited to one party, is that laws are (in at least some cases I've read) written in two parts.

The first part is a political statement about why the law is necessary and what it does.

The second part states the actual law and provides precise definitions of terms.

The trick, I believe, (based on observation and not a legal education) is that the public and the media focuses on the first part, but that has no legal weight and can be (is) completely unrelated to the actual law.

For instance, one could write a law in which it is explained that it is necessary to stop Martians from poisoning our aquifers by banning methane powered rockets. And everybody will be arguing about how this will affect Elon Musk and whether Martians are real and so on.

But then the actual law can be, say, raising the gas tax by 0.25%. And nobody will notice!

I'm not giving real examples because people would get mad, but I've seen this sort of thing from Democrats and Republicans, both laws and executive orders.
One generation later, your heirlooms are meaningless.
How about a web-facing she'll that allows arbitrary code execution ? [0]

There's nothing fundamentally insecure about allowing C or any arbitrary code to execute on behalf of a user -- this is basically what cloud computing (especially "serverless") is.

As you identify, though, you need a Controlled Interface (CI) which accounts for this model for all resources and all kinds of resources and many tools do not (yet) allow for it.

[0] https://rkeene.dev/js-repl/?arg=bash
If using C is a must, having static analysis as part of CI/CD pipeline and using libraries like SDS should be considered a requirement.

Otherwise, yes using anything safer, where lack of bounds checking isn't considered a feature is a much better option.
Nice idea, but to be honest i had many issues with that:

1) need to register to get the pdf...i did it but i consider it really too much for such service so i used a throwaway email account

2) i couldn't download it using chrome (is it me only? i can download files from everywhere)

3) on Safari i downloaded the pdf but it was blank except for the quote written on the footer of the page
hey, how about the Brooklyn Bridge? I'm pretty sure in the '70s/'80s it was in the top 5, being very popular both in art (e.g. Andy Warhol) and mass media (TV, movies, comics)
>Do you really trust governments to handle the monetary system?

Where do you think the monetary system actually came from?
> as long as the latency is good.

Which is what rules out wifi :)
That would be a disaster for them. But I don't think we'd have to wait decades, I'm sure those things are already known.

Although, attributing all the world's ills to a shadowy cabal of corrupt operatives is a pretty crazy conspiracy theory... that might just be the problem.

However, looking at how crazy society is today you can kind of understand how people would reach that conclusion..
> I don't follow. With a cryptocurrency you don't have to trust any one. The cryptocurrency can't be redeemed for anything, and thus there's no one to trust for honoring the claim upon redemption.

Of course you do if the currency has been backed by some other asset. You can't just declare that your crypto currency is a "stablecoin" and therefore it is backed by US dollars. There has to be something actually backing it. And that's what you have to trust.

And if it's not a stable coin then you have to trust that you will be able to sell it or exchange it. If your government bans banks or merchants trading in crypto then you might have a problem.

But I specifically didn't want to talk about crypto currency because as I keep repeating, that is the one place where block chains can make sense (even though you still have the edge problem).

> Yes true. And that applies to any digital property on the blockchain.

No, no it doesn't. Not sure what you're having trouble understanding, but it specifically only applies to property that you can verify remotely without trust. I.e., coins.

> The challenge for digital property that is a claim on a real world asset is being able trust a third party to honor the claim upon redemption of the digital property. Some parties have solved that for claims on national currency, and thus we have a few stablecoins.

It's not solved. You still have the trust problem. If you have to trust the entity backing your stable coins then you don't need distributed trust.

> Whether this model can extend to real estate, automobiles, commodities and other assets/goods remains to be seen.

No they all have the same problem.
Yes, SDS from Redis project.

https://github.com/antirez/sds

However the moment you call into other C libraries, they naturally only expect a char *.
You've not played the right games, then. I mean, take Robo Recall, which is one of the first things that came out. Sure, you can do a shooting game without VR, but then you don't get the experience of tearing a robot apart with your own hands and punching another's head off with a torn off arm.

Or Elite Dangerous is quite the experience in VR too. Less so than Robo Recall, but it works out extremely well if you have a HOTAS. You work as if you were sitting in a cockpit.

Or Subnautica, which in VR gets even more terrifying.

Or VR Chat and similar, where you get to interact far more personally than you would just looking at an avatar on a screen.

Now of course it's not like it solves world hunger or anything, but the tech works extremely well within the right scenarios.
> Motion Sickness, headaches, sweaty headsets and detachment.

I've bought a Vive when Half Life: Alyx came out and was completely blown away by the first impressions and immersions of that game.

Since then however and after the first "whoa!"-effects faded, every game was exactly what you've just described: Pure disappointment, and my body completely stressed out/sick after half an hour, at best. The only exception is beat-saber, which is a lot of fun for quite some time, but not the kind of game I'd want to play for hours on end.

So far, VR seems gimmicky, and quite frankly is way too much of a hassle to set up to enjoy it often (so many cables!, and I don't have the space for a permanent setup).
Why Abrahamic religions should care about logic when then have faith? "Honor all people" and "Love your enemies" was done at the Siege of Ma'arra.
> user passwords are saved in safe form using hash_hmac and sha256 algo with salt and pepper, all md5() passwords are deleted

Wait, what? Definitely lesson not learned:

- sha256 is not the proper way to store passwords, it's still vulnerable to the same attack as md5, rainbow tables, because it's a FAST algorithm (sure md5 is also poor for collisions, meaning it's worse, but practical attacks for lists of hashed passwords are rainbow tables). At least with salt+pepper it limits attack surface, but instead you should be hashing your passwords with:

- `password_hash`[1] should be used instead of `hash_hmac`, with the algorithm being "PASSWORD_BCRYPT" or better[2]. This is a slow hashing method, meaning anyone trying to rainbow-table attack your passwords will have a hard time.

- A common technique is not to delete old passwords, but instead to rehash them with the new algorithm. This would be useful for moving from sha256 => bcrypt, since collisions on sha256 are not practical, but if the original hash was md5 then I think it's fine to delete the md5 passwords and require a new one. Good luck to those who changed their email in 15 years though.

[1] https://www.php.net/manual/en/function.password-hash.php

[2] I haven't followed the space too closely for 3-4 years, I'm not sure if bcrypt/blowfish is still the recommended algorithm or there's newer better ones
I use those that have IP geolocation or ISP info to confirm that my VPN or proxy works.

Otherwise I'm happy that you've made this. The world has fewer and fewer tools that do one thing well without asking anything of you.
I've never said I have null values, I've just used it to explain what performance optimization opportunities COUNT(*) has vs COUNT(id).

It would be great if you'd explain why what I've written is not the case or provided some citation for that.