Scribe aaS? ;)
HN user
somerando7
It's pretty useful when you have some distribution layer (i.e. some pubsub system)
Consider 10-15 applications running on a host, and all of them are listening to data being distributed by another service. Instead of all of them opening a connection to that service, instead they would all be connected to this sidecar, and the sidecar would merge the distribution of data (and subscriptions) to the pubsub system
Oh yeah, for option A I meant to just stay in Canada until my company hopefully gets profitable and then "transfer" it to the US and move to the US if somehow I can self-sponsor/sponsor through company.
I'm confused. I thought on a TN or H1B I'm not even allowed to start a company in the US.
What would be the advice for Canadians who want to start a company, but are unable to do so because they are on a TN/H1B?
As I see it my only options are:
a) Move back to Canada, start company there. Does this impede getting VC funding? Can I somehow move back to the US if my company becomes successful?
b) Wait until I get a greencard.
Further question:
c) Is it better to go TN->PERM or TN->H1B->PERM, what are the drawbacks of the first option?
IMO passing a lambda for synchronized code makes it much easier to read (going off of working with folly::Synchronized)
C++ was probably compiled without optimizations. In a compiled binary there won't even be any calculations done - see for yourself https://godbolt.org/z/Mhhzhdr7c
About time. The amount of value you get from having random conversation with your coworkers is too much to pass up on. Breakdown of communication through text also sucks.
I meant, using branches in a way that's "better" - whatever people who use git mean when they say that.
As I said, I haven't used SVN. It just seems like perforce and mercurial are basically "identical" for the ways I use them at least.
What's better about git? I haven't used svn, but have used perforce/mercurial professionally/git professionally, and use git personally, but I find all of them to provide the same "feature set" when doing basic development: have your own branch, and merge it in to the main branch when done/reviewed.
Merging seems the same on all 3 version control systems I've used... I've heard that git branching is better(?), but haven't seen that being used anywhere really.
You have to use something similar to https://github.com/facebook/folly/tree/main/folly/experiment... to solve this problem.
It's a nasty bug that everyone encounters when first working with coroutines. (Similarly everyone will encounter references that don't live until you co_await the task).
To me it's not obvious. I wouldn't think that an app can inject JS into a website because I'm using a web-browser from their app.
I was taught that to allocate memory was to summon death itself to ruin your performance. A single call to malloc() during any frame is likely to render your game unplayable. Any sort of allocations that needed to happen with any regularity required writing a custom, purpose-built allocator, usually either a fixed-size block allocator using a freelist, or a greedy allocator freed after the level ended.
Where do people get their opinions from? It seems like opinions now spread like memes - someone you respect/has done something in the world says it, you repeat it without verifying any of their points. It seems like gamedev has the highest "C++ bad and we should all program in C" commmunity out there.
If you want a good malloc impl just use tcmalloc or jemalloc and be done with it
It isn't open source
Every single time there are some people who love C (in my experience for the reason they haven't worked professionally in C++) that claim that they're actually WAY more productive and readable when working in C.
C++ is basically almost a perfect super-set of C. Use the parts of C++ that are useful to you, don't use the parts that aren't. Clearly std::vector, std::string, std::unordered_map would be ultra useful to anyone. Especially because they are easier to use, more optimized, not as prone to errors as their C equivalents.
I blame Jonathan Blow and Muratori for this. They somehow got the entire gamedev community to worship the idea of writing things in C. People grow out of it really fast though, as soon as they actually learn C++.
The lengths people will go to not use C++ is staggering.
This big is news in big tech?
I believe affirm provides 0% APR for a year sometimes?
How are these websites supposed to be viewed? Never understood.
If I just scroll down it looks horrible.
Only way I've found is by holding the down button, but seems like this is just a bad exerpience for the majority of people?
I'm curious as to why CTO's or companies spend time writing these types of blogs. They're clearly aimed at programmers but:
0 interesting/unique content.
Seems like it's copy pasted arguments from any discussion of Rust.
Also, the part about a CTO asking other CTOs to give him a rundown of Rust vs Go is just comical to me...
In total, as a programmer, I would be less likely to apply to work at a company like this.
The creators that are decently big (100k+) make enough money whether or not you ad-block. Don't worry about it.
Oh, then I was completely wrong :D I would think the youngest kids are generally the more academically advanced. (But this is coming from someone who has 0 kids :D)
If I were to guess, his brothers and parents pushed him, and had more experience with teaching compared to their older son. They got him interested, and he went from there.
He was probably lucky to be the younger brother growing up.
1 question: how do you know their videos aren't demonetized?
Also, in my understanding, youtube only demonetizes PER VIDEO, not your whole account unless you do something serious, is that right?
Yep, and most likely the service they switched to is running at a loss until they get enough customers, and then will start uping their costs, continuing the cycle (either migrate for cost savings, or stay)!
how do you grab new IPs for your pi?
People generally watch tutorials, read programming books, blogs, stackoverflow to learn programming, not the standard of a programming language.
You will find "modulus operator" to refer to % in C in all of the above (other than the standard).
I wonder if some people on my team even work 1-2 hours a day honestly.
What I've found for myself is this greatly demotivates me. Why am I putting in 6-8 hours of pure coding a day when I see the guy next to me doing 1 hour of work and getting payed 2x as much?
I legit have an ic7 on a sister team that has made 40 diffs in the past 2 years, I don't think a single one has been > 50 LoC and it was mostly config changes. Crazy world we live in.
Who is in the process of writing an entire OS from scratch if I may ask? I want to go join that company...
If you're one of the top streamers, with decent financial literacy, you will easily make enough to retire by 30 if you started streaming at say 20.