skysight-inc/HackerNews huggingface dataset:
Ask HN: Why not to build an open-source C++ project on Intels oneTBB?
Intel's thread building blocks and OpenMP seems to be dominant library for accelerating single threaded code which has some parallelizable sections. The nested parallelism in the open source project has makes me discount OpenMP based solutions. None of the core maintainers has experience with raw parallel C++ programming using user created and managed threads and locking or lock-free data structures. The code has no BLAS style operations. We target workstation or server class devices, embedded support is not planned.

Under those circumstances TBB looks interesting and i am favoring that solution. Is there a reason why an open source project should not use Intels TBB?

What alternatives should be considered?
One of the most important things I learned early in life - don't define yourself based on your career. Eventually, the career ends and then you find that you don't know who "you" are. Same with family, children, friends, etc. They are all important as is one's career. But at the end of the day, if you lose sight of "you" or only define yourself in terms of career or those around you, you are going to be a miserable, old retiree. This attitude probably cost me a promotion or two along the way but that was a fair trade off. I never lost sight of "me".
This line of argument also applies to any preference for an unverifiable theory, including unverifiable theories where a verifiable one exists.

What you are saying here seems to be the hard problem of philosophy, or at least analytic philosophy: how do you determine your axioms?
Don't worry. The purchassing departament will wake up. They have targets too.
In another project of mine I considered using extended attributes to tag files into categories. With extended attributes not being universally supported and easily overlooked the conclusion I came to was that I should store that information in a database file. I didn't want to one day lose my (manually assigned) tags to an erroneous move command.

Anything non-native to OpenBSD can still be stored in muxfs as an archive file. You would need to ensure to pass the right arguments to the archiver to preserve the attributes in this case.
What a great list.

Are there any Swedish incubators similar to Y-Combinator that are facilitating startup growth?
That makes sense to me. And you you paying them money now?
My multistage undersink water filter uses sand, then carbon, then the RO membrane, in that order, to greatly extend the lifespan of the RO membrane
The most relevant field this would apply to is AI for games.
MTV is still exists? - Amazing
What? I never claimed that. Radio waves are electromagnetic radiation just like visible light.

Radio amplifiers pump electrons into the antenna, which transmits them as photons, and the receiving antenna absorbs them, turning them into electrons, the flow of which then becomes the audible radio signal which gets (demodulated and) amplified by the receiver.

The photons do not travel any distance and they do so in zero time. This can be mathematically proven.

See e.g. https://phys.org/news/2014-05-does-light-experience-time.amp - the relevant parts:

”The closer you get to light speed, the less time you experience and the shorter a distance you experience. You may recall that these numbers begin to approach zero. According to relativity, mass can never move through the Universe at light speed. Mass will increase to infinity, and the amount of energy required to move it any faster will also be infinite. But for light itself, which is already moving at light speed… You guessed it, the photons reach zero distance and zero time.

Photons can take hundreds of thousands of years to travel from the core of the Sun until they reach the surface and fly off into space. And yet, that final journey, that could take it billions of light years across space, was no different from jumping from atom to atom.”
Dieting Could Reprogram Your DNA
Oh, okay, we'll just write off the entire concept of release based distributions because of one start-up programming language then? Everyone switches to rolling release? That's pretty absurd.
Installing a gigabyte of NPM packages (or whatever is being said to be faster) a little bit faster and a little bit worse is not that interesting IMO.

I actually use Deno right now because I only use a handful of third-party dependencies in my project, and I can use Deno’s bundler instead of webpack (even though that’s not its intended use). I’d rather simplify away the stuff that’s slow and complicated rather than making it faster and more complicated (less correct, less compatible).
Looks distracting
Isn't Spotify from Gothenburg?
Recently I wrote a small search engine for NYC menus: https://c.bitlet.org/ff.html

The data is small enough that you can keep it all in memory. It was a nice toy and it let me play with a few data retrieval techniques I had heard talking about but never actually implemented.
Autodesk is not a software company but a marketing company. They just buy smaller competitors and repackage their stuff. If you think of them that way, that can make the organizational structure clearer.
That sounds desperate.
My personal "favourite" is the driver constantly turning to face the person on the other seat because they are having a conversation, you see.

Is Hollywood intentionally normalizing this dangerous behaviour? Assholes
Bottom line: It's not possible to create accurate information where no exists.

Going from 30fps to 60fps, every other frame is missing. The best anyone or anything can ever do is guesstimate/approximate to fill in the blanks. You will likely be able to see the lack of accuracy with your eyes.

It's like crime dramas on TV where they "zoom and enhance" to identify a suspect. This would never be accepted in court due to the inaccuracy involved.
So this is a sort of HMRC sanctioned tax avoidance scheme. Given that they are in a business of enacting retrospective taxes, I wouldn't trust that they are not going to change their mind down the line and ask for an extra tax.

That being said, £50k after all the tax is still better than £0 and if the £50k was paid as a one off bonus, you could pay it into SIPP without paying tax.

I remember when I asked them why I cannot get normal shares? They said that EMI will be better for me because I will save on tax. I said, why if I want to pay tax, it pays for our schools, hospitals, why should I be taking the advantage? So they said that the board don't want to do that, because it will create "a legal issue" when they will be looking for next round of investments.

So if any future employee reads that, if a company insist on EMI shares and don't want to give you real shares or money upfront, then jump the ship!
It would bore 99% of the world, but that still leaves something like 75 million people who are interested and I would wager a decent number of people here would fall in that 1%.

I’ve found that even seemingly dull things can get very interesting when you get deep into them.
Mainly subtle differences around command line tools and the file system. There are UNIX cmdline tools collections for Windows (like busybox) running in the vanilla cmd.exe or Powershell, but they don't quite fit in (for instance the way how string escaping and cmdline argument parsing works). You can use bash in a mingw 'UNIX emulator', but then you can just as well switch to WSL. And those little things propagate and amplify upward into toolchains and workflows.

It's possible to create command line tools that work across Windows and UNIX-oids, and I appreciate this, but it's a lot of additional work (even 'cross-platform' solutions like Python don't fully wrap this stuff, even though they do their best).
I have built an iOS and Android app called Boomerang to send email to myself in one tap. It’s been around for 5 years and has started as a side project for learning Ionic. I have maintained it so far and users (5K+ MAU) love it so far and want to give me money for it. I am planning to monetize it though as its started to cost me some money.

https://boomerang-app.io
Most surveys are skewed to a particular set of users who choose to fill it in! SO is one of the few examples of a major developer site that runs on Windows, for example.
Naturally (if we remember our Turing machine computational capability analysis), the compiler cannot generally prove things about recursive functions, including how deep the recursion will go.

What it can do in practice is use (configurable) hard limits on the depth and on the amount of time for evaluating constexpr expressions. That way it doesn't overflow its own stack/buffers, nor will it hang on such evaluations. This is good enough, since the purpose of this feature is not perform heavy computations using the compiler, but rather preventing not-so-heavy computations from being performed repeatedly at run-time (and to be able to use their results in template instantiation etc.)
You take toddlers with you because leaving them unsupervised is illegal. Whether you’re driving your own car or renting a truck doesn’t matter—rail doesn’t suffice in either case.
For me it’s quite the opposite. I learn things faster now, but I can’t find the time or motivation. There are many things that seem very cool to learn but when I ask myself why, there’s no convincing answer, so it will be just time wasted.

Also I have two children, so I have to be very selective on how I spend my time.
Interesting. Did you scrape the restaurants websites?
The core values are very appealing to me.

what is the typical update routine a la 'sudo apt-get update && sudo apt-get dist-upgrade'?
I'm building a tool to help people not give up on marketing (something I've struggled with in the past). If you're interested in trying it out please email me. Email on my profile.
A theoretical compiler could statically prove that this program would have undefined behavior for any argument larger than 12, because signed overflow is UB, and it could arrive at the worst-case stack size from that.
And the reality is BEV are better for 95% of cases and history will prove the exact thin it did for cars. Operation cost are just higher with FCEV. And of course they don't even run with green hydrogen yet.

Sure have your FCEV trucks, but lets be real, it will likely be 2% of market share in trucking.
I built my own GeForce Now / Google Stadia clone for up to 8 gamepads to connect to the same instance. It's GPU-accelerated, UDP-based and all C++.

It works well and I still use it with friends and family to play games together. I even designed a logo, registered it for an EU trademark, and made t-shirts.

But when Steam Remote Play Together was announced, I decided that there wasn't a market for it anymore, so instead I switched to building real-time AI tools in C++.

My next idea, funny Webcam filters for desktop, was then pre-empted by Snap Camera coming to desktop. With so many FAANG-scale companies releasing free tools, it has become really tricky to find financially viable niches.
You're just embracing another set of problems. Shared libraries were introduced for a reason. The are complex to handle, but that's a long standing tooling problem rather than an inherent issue of the model. I think we're actually just getting the hang of it with stuff like Nix and containers.
>if there are even any web developers left who use Windows as their main platform

There's quite a lot of developers at stodgy Fortune 500 non-tech companies that are sort of forced to use Windows for development. Either explicitly, or though poor enterprise support (vpn connectivity, local admin restrictions, difficult path to purchase a Mac, etc).

It's one reason things like Gitbash, WSL, Docker Desktop, etc, are very popular.
>execute/ open new files with one-day-delay because after one day, the malware is not 0-day anymore

that feels like a 200 IQ solution against 0days

"Just use your computer one day after the 0 day"
JuiceFS, pluggable architecture cloud file system, v1.0LTS
Back when I had a leased line the outgoing IP was resolving to a colo facility right next to the dedicated servers they also offered. I'm glad I haven't and will never have a need for your company's services.
Whenever my compiler comes up the first question tends to be why? I found that everyones "why" are specific. Some people want to know how many libraries exist, others want to know specifically how many high level (or low level) libraries there are for easy of use (or performance). Some want to know what's unique others want to know the goals. It's hard to know what people want so I'll do my best on answering questions
I don't use Zoom for a lot, but when I do it's only through my browser. They just have such a sketchy history at this point and it works fine through the browser for my limited needs.
>feedback structure

This is broken or non-existent at many companies.
> Discord's text search is incredible

Really? There's no way to do verbatim searches and it's "very" generous in deciding what it thinks you meant to search for. It's almost useless for searching technical posts (or anything when you need to disambiguate similar words)
Have you noticed lately how Star Wars movies and series are introducing some exotic looking animals and paying them some attention without using them in the story at all? Well, you then can buy toys of these in Disney stores around the world.
Maybe if you define AI to be “technology that could plausibly lead to AGI”, but everything in this book is still terrifically relevant for many practical “how to get my computer to solve this semi-open ended search problem efficiently”. Which is far from uncommon.
Any data to support this claim? I'd argue the opposite: Especially in web dev, Windows is king since most people, including semi-professionals, do some sort of web dev.
I make music for film, and I edit video in relation to that work often.

I can recall several years of having to learn how to do things in so many different applications that dictated the end product because the applications were very complex to use, and quite time consuming. I couldn't understand how friends were paid less than application developers (Around 60k annually) to do some of the most impressive VFX things I've observed in commercials and movies, and it was very hard for them to find work even when they had great portfolios.

Fast forward to now, there are mobile apps that can edit videos, and add effects, color grading, etc to videos. I can literally run a video editing session in my car that outputs better product far more quickly than I used to be able to do with $2k software... Even mobile software that can work with object files... Making the process of creation easier will likely be the best field for innovation moving forward. Making things more simple will also save studios and VFX editors tons of money, time and grief.

TikTok formats are dominating the entertainment world right now, VFX movies are beginning to look disingenuous because they either overdo effects, or they cut corners and make things low quality, relying too much on the power of celebrity to push the movie forward... Viewers are also worn out by actors trying to take cues on green screen sets, it comes across often as far too staged, or far too busy visually.

Movies where the VFX trump everything else end up being weak on writing and emotional composition in my opinion. Movies that rely on celebrity become very weak on VFX... I think good movies come from a great script that can be used to plan everything that comes thereafter, and then the quality of the final product depends on the vision of the director and execution of the team involved.

Movies like Blade, Hancock, Ant Man, and even more recent work like "The Boys" are some of my personal favorites because VFX are not the primary hitch to the stories... Avatar completely lost me, even though far more money was spent to make it. VFX is a support tool to great films, when it becomes the primary aspect, the script suffers and budgets balloon, and the worst part is that movies take 5 years to make instead of just taking one.
Absolutely! But plenty do. How many tenants out there don't hold up their end of things?
> Does that mean anything?

It means they ticked a lot of boxes.

Certifications only overlap a little bit with actual security. Most of SOC2 for example is just bureaucracy and a cash grab by enterprise SSO providers.
phrasing should be changed to "similar to BSD in design".
Western societies haven’t yet had the pleasure of being devastated by Communists. It may be necessary for this to happen for a country to build anti-Marxism into its DNA.
Detours: Redirecting C# Methods at Runtime
How to Recognize Your Window of Tolerance
Hah, and then you have countries like Poland where it’s just “That one dude” who talks over everything while he does the voice for all the actors.
1. Whataboutism

2. The topic of the discussion was about atomic energy

3. Yes
Elements of Programming (2019)
yeah, those are the options. And I agree, FB in 2009 was great.

But that's my point: companies have to keep moving, and optimising, and growing (because shareholders). If the revenue is supplied by advertisers, then they're the customers, and any optimisation is aimed to increase lock-in/revenues/etc based on their experience. The actual users get a worse experience as time goes on because their needs are secondary to the advertisers. Eventually the whole thing ends up where we are with FB: the user experience is shitty and people start leaving.

If this is really going to work properly, then we have to persuade people to pay for their social media service.
> And (from what I can tell), Windows support with node.js isn't perfect either, otherwise tools like rimraf wouldn't be needed.

I don't see how rimraf is related in any way. If you want to remove folders by calling a shell command (with full knowledge of all potential security and portability risks), your code is going to be platform dependent - it's not Node's responsibility to reimplement bash and/or GNU coreutils to make it magically work. Therefore, you need a Node re-implementation of the same functionality, either in the standard library or as a package.

And besides, rimraf has been unnecessary for a couple of years now, as Node's standard library includes a direct replacement: https://nodejs.org/docs/latest/api/fs.html#fsrmsyncpath-opti....
Rhino also has really affordable lifetime licenses. It makes it an easy decision to buy bulk for a org and dole out as needed.
A day-pass VPN with a single server, with SMS capabilities (with your GSM SIM card). Sort of like a VPN vending machine.

Tech-stack: OpenVPN + MySQL + some Python scripts as glue + PayPal integration.

Use case: If you need a Venezuelan IP address [0]. you'd just access the VPN front site, pay for a day-pass, and use the VPN [1]. Also banks use SMS-based 2FA, so having the SIM card in the server helps [2].

Turns out there are cheaper VPNs that do have Venezuelan IP addresses, though my offered benefit is to offer home random IP addresses, which makes it more stealth. Also the economics didn't help, and the upstream bandwidth isn't great as well.

I took down the site and just left the VPN for myself and some trusted friends. Also, if someone did something sketchy with it, it'd by tied to my home address.

Maybe someday I'll create a blog post about it.

--

[0]: Something very niche, banks here don't allow people foreign IP addresses to do bank transfers, etc., they could also block your bank account entirely.

[1]: It'd issue short lived certificates for the amount of time purchased.

[2]: With a ZTE MF667 USB modem.
Because `this auto&&` was not introduced to allow for recursive lambads. That's just a happy (though not very interesting) side effect. It was introduced so that you don't have to write duplicated code such as:

class Awesome {
// ...
foo& my_method() { /* ... */ }
const foo& my_method() const { /* ... */ }
};

and the extra duplication for lvalues and rvalues.
I read some "edgy" internet forums about gaming and related stuff, and it's crazy how common the attitude that democracy sucks and Russia+China are the good guys is. And it's mostly people from USA and other English-speaking countries.

As a person from Eastern Europe i have an urge to slap them when they repeat Russian propaganda 1:1 and consider themselves above "sheeple" who believe in the current thing.

Basically Russia weaponized cynism and relativism - if you can be persuaded that each state is evil then it's fine to invade neighbors, annex their territory and and do filtration camps where you murder civilians and POVsbby thousands.

The weirdest thing is that these people are mostly alt-right, they think Russia fights "globohomo". Yet some left-wing intellectuals like Chomsky but this bullshit as well... WTF

PS the most frustrating thing is - these people always treat any Russian neighbors as disposable and irrelevant. No need to ask Ukrainians what they want - let Putin and Biden talk about what happens to them. Especially in left-wingers such colonialism is mind-blowing.
Northeast Corridor works pretty well as it is--and is very popular, albeit mostly to and from NYC as opposed to the entire length. The controversy around California HSR is well-known. And NYC to Chicago has to go through a continental divide so it's not clear how competitive that could be with flying--which it has to be if it's going to be popular with business travelers.
I'm not a Windows developer, so this might be a stupid question: is simply a case of just building 7-Zip from source and enabling the Control Flow Guard flag in Visual Studio, or does it require more work?
I used to resist getting a store card for this very reason, until I realize that they can track me through the credit card that I used anyway. This requires the self checkout machine to record the credit card number from the POS though - does the POS expose this information?
For countries/language areas with less than 20M people, dubbing isn't economical, so they end up speaking better English.
The boox refresh rate is not adequate for anything besides regional (text) updates. I have used the max, max2 and the mira and they have all been pisspoor for anything besides wordprocessing.
VNC and RDP have mostly been better as these protocols understand regional changes more than the Toshiba HDMI converter chip they use.
Lots of little gotchas if you don't at least do a fair amount of testing on Windows, since that's what most of your end users (usually) will be on.

Things like "www-authenticate: Negotiate" in an SSO environment, people pasting rich text into web forms, handling environments with private certificate authorities, and so on.