skysight-inc/HackerNews huggingface dataset:
Canada does not attract talent, it attracts workers.

The USA attracts talent, and workers.

Those that can't get into the US but get into Canada and are reasonably talented, who don't have family ties - eventually go to the US. Two of my staffers, one from India, one from Jordan, just did this. For them, Canada was a temporary layover for a few years until they could go stateside.

Canadian wages are considerably lower than the US for 'talent' so generally, people prefer to go to the US.

Canada doesn't have very many true product, engineering, design jobs wherein the outputs are developed on an international scale, not a lot of things are really 'made here'.

On the high end - Canada imports doctors, software folks to do CRUD, ane engineers that never get to do engineering. One specialization is teaching and research for University, some number of profs are brought in.

But mostly - it's people with education who will never get to use it, and a lot of people to work in retail, coffee shops and Long Term Care homes.

Edit: after reading, this sounds very cynical! Although it is to some extent. Migrants to Canada in the economic class generally have education, like a Uni degree, though this is an only necessary one in the family, not necessarily the spouse, parents, obviously not the kids. Skills are often not very transferrable, and there are surprisingly few jobs wherein one can jump right in with 'technical knowledge' of some kind and Canada does not have the high-tech industrial base to support the need - Canada is almost last among OECD nations in terms of R&D investment, not because of the lack of R&D among individual companies, rather, the lack of the kinds of companies that actually do R&D. The Uni system is very good, tons of good research, but the commercial bits don't happen in Canada.
Trump is your elected president (assuming yo are in the US), plenty of people voted for him, why would it be unusual that a lot of people are pro Trump? Especially considering the vast majority of the media seems to be against him.
How does that square with e.g. Spotify formerly charging iOS users more?
> The thing with ZH is you need a good BS filter.

Independent thinking and drawing your own conclusions from lecture is too painfull for most people...

As for Russia influence ZH is very much dead set against US troops and weapons close to Russias borders (Baltic States, Central Europe). This is exactly Russian line. But perhaps ZH genuinely wish for world peace...
Thanks for the reply. What do you mean by a CI/CD system?

I'm not sure what you think was "bolted on" to actions, could you be specific? Features have been added (during the beta and since) but I can't think of anything that could really be described as "bolted on". "bolted on" to me implies some kind of disharmony with other features, weird quirks etc.

> I seriously didn't understand what problems github actions were intended to solve

You can run arbitrary code in response to any GitHub repository event, and also cron jobs and external triggers (a GitHub app can POST to a specific API to trigger those style of workflows).

The code runs with access to GitHub APIs for your repo (it can clone it, leave comments, create new PRs, whatever), and in any event that is associated with a PR a check status gets added to the PR.

This is a pretty general-purpose tool and I think it's easy to imagine the kind of problems people would use it to solve...

> my suspicion is [...]

Honestly it sounds like you're not really familiar with it and have some strongly negative opinions. I'd recommend either giving it another look and putting aside your feelings or working on a more substantive critique...
13 years of the iPhone being the most popular consumer product in the history of the universe would seem to suggest that sideloading is not "a must"; indeed, some might say it suggests the opposite: that sideloading is in fact a huge plus and part of why the ecosystem is succeeding so well and users' security and stability of their devices is so superior to competing products.
I find that if you're truly passionate about what you regularly do, there will be times that you burn out. That's when you switch to doing something else, traveling or learning something tangentially.

But eventually I then take steps to get back to moving forward. I'm from the "Stay Hungry" camp of motivation to progress forward.

Plus there's nothing like the clock to remind you that time is wasting. The one thing that none of us can buy more of is time. We can only rent someone else's time and with varied degree of success. But since our lives are finite and the list can be long, there's motivation to continue to check things off that list before time runs out.
While true, it's worth noting that Google do not reportedly take a cut of Google Pay transactions while Apple reportedly do take a cut. This could incentivise banks to move away from Apple Pay.
> I suspect there is a similar argument for the App Store model. Apple never allowed side-loading apps.

Apple did allow developers to link directly to the product website to make purchases:

http://mossblog.allthingsd.com/20090303/first-impressions-of...

https://press.aboutamazon.com/news-releases/news-release-det...
a c array is literally just a sequence of objects in memory (possibly with padding, but you can ignore that for a while). you can think of pointing "exactly" to the first element as being equivalent to pointing to the whole array. you need to know where the array begins and its size to do anything with it. but once you know where it starts, you can access the next element by adding sizeof(char) (or whatever the element type happens to be) to the pointer.
This type of comment is the worst. What did you add to the conversation besides a bunch of useless "well ackshually"? If you want to respond to a comment, respond to it in full, not only conveniently out of context sentences.
A brief history on QR Codes
Quantum Machines announces QUA, its universal language for quantum computing
Republicans prepare for energy ‘cold war’ with China
Give me a way to turn off political posts as well please.
That's funny that he can casually do that against a grandmaster. Still far ahead of the field.
There is no magic in .h files, you can think them as plaintext. The actual magic happens in .c files. Since C requires objects to be declared before using them, you need to declare objects used in multiple units together. Let's say you have a function `int f(int)`. You want to use this function both in apple.c and pear.c. How would you do it. Well you need to write a f.h such as

int f(int);

then in apple.c

#include "f.h"
int apple() {
int x = f(10);
// rest of the code
}

You can think this as a copy paste of f.h such that, apple.c is equivalent to:

int f(int);
int apple() {
int x = f(10);
// rest of the code
}

but what "is" f. To "define" f you need another .cpp file that implements f, let's call it f.c:

#include "f.h"
int f(int x) {
return x*x;
}

now you compile f.c, apple.c, pear.c. These will create f.o, apple.o and pear.o object files. Then you link these together to create your application. e.g. if f.h is in include/ dir:

gcc -c apple.c -I include/ -o apple.o

gcc main.c -I include/ apple.o pear.o f.o -o main

Here, assume that main.c defines int main().
I tried GoLand, which was great.

Then, I tried VSCode with the Go plugin, both the default version and the go pls based one; and Emacs with the LSP package and go pls.
I agree with your point. Engineers love to use signaling as a tool to prove points, yet are conveniently saying signaling doesn’t matter here. It’s signaling that prejudice and racism matter.
Doesn't backgammon lose a lot of its appeal if you're not playing for money? Kinda like poker.
Perhaps not men but human nature. Avoiding conflict is not a male trait.
I agree. This is by far the weirdest discussion I've seen on HN. For a site that usually has pretty logical discussions, everything has gone out the window here.
I think you severely underestimate the power of positive feedback. Some economists argue that around of third of US GDP can be attributed to the unique position of the dollar. If for some reason foreign investors and governments will lose their faith in dollar (even today gov. bonds already have negative inflation-adjusted profits, imagine if inflation will be 10%-20%), then they will start to dump bonds and assets nominated in $ (and don't forget about even potential targeted economic attacks, e.g. from China).

This will mean that not only the third of GDP will effectively disappear, but also that all inflation which was exported into the outer world until now will come back at once. This will launch a crisis an order of magnitude bigger than 08, which can be QEd anymore, because no one outside and probably inside US will buy gov bonds anymore (it's effectively already true today, but for now it's compensated by a low money velocity due to the pandemic). Without cheap money US business will lose a lot of its competitive advantage. And don't forget that capital today is much more mobile compared to the beginning of the 20th century and thus positive feedback forces are that much stronger.

This will mean that "one of the most valuable economies in the world" is in a very shaky position. I really-really hope that this scenario will not end in a nuclear war...

P.S.: Japan is in a different position, IIRC most of its debt kept inside the country. Plus it's a creditor nation, while US is a massively debtor one.
I think my primary motivation is pretty much limited to video games, mating instinct, food and shiny new things. maybe singing in the shower. the rest is just social pressure.
As for how to develop it, i don't have a clue. I think it goes beyond the malleability of the brain to develop new primary motivation. But secondary motivation can often be good enough. true, you won't love what you're doing but it's not necessary to love your job.
So, so true. I wish I'd learnt that earlier.
It's wonderful to see the price of censorship by colluding monopolies is going to skyrocket.

I can't wait until the fines start raining down. They'll have earned every cent of the financial damages. The arrogant, biased platforms picked a fight they can't win with half the political power in the US.

This rapid, broad shift is why Larry and Sergey ran for the hills not long ago, abandoning Alphabet as fast as possible; they saw what was coming (including the anti-trust investigations). I bet they destroyed as much of their internal communication history as possible as well (legally of course, probably), so it can't be used against them or the company.
> dominate force on the commerce front

During the height of the pandemic Amazon's performance suffered for us. Prior to the pandemic 100% of our online purchases came from Amazon mostly due to inertia. Find something, order it, it shows up.

Amazon faltered. Lots of things out of stock, delayed delivery, missing items in shipments. We then turned to ebay and shopify and experienced none of those things. The spending is probably now 50% ebay, 30% amazon and 20% shopify now.

The decentralization approach to ecommerce is really coming through now ... at least for us.

I was surprised what a great experience it was buying from ebay and shopify. I hope they don't work to centralize things in the future.
> anyone can win anygame (in theory, at least).

Is this supposed to be a good thing in a game? It's kind of like the opposite of being skill-based. E.g., poker has this "problem", and it's a huge part of the game and its skill, but it's not literally a good thing that "anyone can win once". At worst, it just encourages gambling, at best it makes results more random than necessary to establish skill differences.

Bridge also has this property that every beginner can win, and the main consequence I've seen when teaching people is that it trips people up when their understanding of probability theory isn't up to snuff already before they start learning, they end up having way too much trouble distinguishing success and failure.

There's a theory that one of the reasons chess is so highly-developed with so many children playing at such a high level is precisely that not anyone can win, so people just get so much more feedback on their decision making.
What is the difference between a disk and a drive?
For me, minimalism means living with basic things, not the northern europe interior style. It is about functionality and frugality, not about color harmony or hiding complexity inside a shelf. We should not use visual minimalism as a virtue signal to others about our character.

Although our living room is very spacious, my wife and I are using one old table as both working desk and dining table. The old table is not in good condition, not matching with our cheap $15 plastic chairs, but we do not feel the need to spend money to buy new one. I think we are simply cheapskate, as well as not concerned about look.
Probably there's no easy answer. I guess if you could think yourself into getting motivated you'd already do that.

Some things that help me:

- right environment. If you want a PhD it's probably good idea to join some kind of research group you will feel good being part of or advisor you get with on very well. For the record I don't have a PhD but both of those things made quite a big difference for me when I was learning stuff throughout high school/university (though this is something I've realized quite late). Judging by how you put more effort when cooking for other, I guess you'd also put more effort when learning with others.

- setting realistic expectations. Sometimes it may be a good idea to lower your standards, for example change "cook healthy meal every day" to "cook healthy meal once a week". I'm a perfectionist so it helps me to say something like "OK, maybe I won't write a great design doc for the new thing my team is working but design something where X and Y work well but Z and T are not working so well". Often it turns out Z and T are not so important or that I can do iterative improvements on them

- getting bored from time to time. Planning to "waste" a day (though it's better to do this not in front of computer).
religion mostly :)
As you mention yourself, anti-Semitic racism is a serious problem in Poland. And other forms of racism are still a problem, even if the number of non-white people is small.
The oil industry is certainly like that.
I think FB (and Zuck) have made it pretty clear by now that they actively want their users to be free to consume what they want, even if others think that’s bad for them. They understand what they’re doing.
https://www.google.com/amp/s/amp.theguardian.com/lifeandstyl...
Shazam for Clothes Is Here
It seems to depend a lot on the particular compiler. I know that in the past, precompiled headers made a huge difference with MSVC (and maybe they still do, but I haven't used it in some years at this point).

Today, I have a medium-sized c++ project that uses Linux, gcc 9.2 and boost and I have yet to find any combination of headers that I can put in the precompiled header file and see any reduction in compile times, either for a full build or an incremental build.
Checked exceptions would have been an ok idea if it weren't for the fact that at least when I was writing Java last (almost 10 years ago) they were expressly discouraged in most code bases. Partially because people just get in the lazy habit of catch and rethrow RuntimeException, or catch and log, etc. when confronted with them. Partially because the JDK itself abused them in the early days for things people had no hope of handling properly.

They also tend to defer handling out into places where the context isn't always there.

The trend in language design does seem to be more broadly away from exceptions for this kind of thing and into generic pattern matching and status result types.
It's probably cultural in my case. I was brought up in a working class environment where playing these sort of games and puzzles was not commonplace and my interest in them was seen as a bit geeky :-) Now you mention it, I've seen plenty of videos from other countries where people are playing chess and the likes on the street, so my perspective of the game is probably peculiar to my upbringing.
> and some people actually use it

Sure, I used a lambda to turn on/off a build server during particular hours. I wrote it directly into the console.

For actual applications tho, I don't use the console.

Just because the console exists doesn't mean people are flat out not versioning their code.
Well, hopefully some solid unemployment funding would have been sufficient (or at least a good start). Not that I consider the current unemployment checks to be particularly helpful given how at least in austin they are 1/2 of the average wage.

You would be talking a few percent of people staying home collecting unemployment (say 2-4%) which is about 1/3 of the current national unemployment. Yes, there probably would be a decline in restaurant/etc business because people were "social distancing" but nothing like stopping everything that wasn't a grocery store. But even then it would not be as bad. Overwhelmingly the older generation is the one at risk, and is already retired and staying home. It was the young 20 somethings working "service industry" that were all sent home. The ones with the lowest health risk, and the largest financial need.

AKA, it would be a big recession, but nothing like what we are about to experience.
This thing with nailing boards to the office front is alienating me. What's underlying this strange behavior? Is the general expectation of damage being done to uninhibited buildings really reasonable?
And many projects/people don't care about not supporting anything but the latest chrome, so yes, for them it's a legacy.
> the EU should threaten to force a requirement to allow third party applications to run

Threaten? They should go straight ahead and mandate it.
Command and Conquer source code is in GPL violation
Unabomber's [1] writings introduced me to the concept of "artificial needs". All the things that you list are artificial needs - wanting nice meal when eating from the packaging satisfies you just fine, doing a PhD when there's really no need to do it etc. He explained that, since in the West all our real needs are meet with ease, we've now entered an era of deformation, where people try to find meaning in their lives via artificial goals (just like the ones you've mentioned). However, our monkey brain can't be easily fooled into doing bullshit busywork just to provide "meaning" - hence your problems with procrastination. I find life is much easier when I accept this and don't strive to do things just for the sake of doing them.

[1] He wasn't the original author of this observation as far as I recall.
Won't work on iPhones.
they're not dead. not yet anyway
Bitbucket may not be in the spotlight (probably suffering from being Jira's sibling) but in my opinion its web user experience is more pleasant than GitHub's. I'm talking about branch visualization and operations, pull request creation, UI layout flexibility. Bitbucket feels like a sober and useful tool, while GitHub is more like a claustrophobic social network centered on code to me.
I use a very old version of Bootstrap on almost all of my web sites. As part of my COVID-19 lockdown decision to clean up things, I am going to do a small test with the new alpha, and update. I have also been taking my old eBooks, one at a time, and updating those. It feels good, sort of like spring cleaning, organizing my garage, etc.
More hacker news users need to read this comment. Thanks for posting.
>BLM has organizations directly tied to US democrats

Most large political organizations in the US have "ties" of some kind or another to one or both of the major political parties. But BLM isn't a single monolithic organization.
>800 million monthly users

What is a monthly user? What part of the facebook ecommerce platform did they use?

Facebook has the centralized marketplace, many local/regional sales groups and paid advertising.
I attended a seminar on geoengineering and carbon capture and storage this semester.

At some cost we could capture the CO2 that comes out of a power plant, clean it, compress it to 1500 psi or so, then inject into the ground somewhere. Engineers get bonus points when they use the CO2 to flush out extra oil, since CO2 mixes so well with oil. (Roughnecks have been pumping CO2 out of the ground in Texas and using it for oil recovery since the 1970s.)

Turns out a CO2 pipeline is more dangerous than a methane pipeline. Methane can burn, but it rises, so the danger is in a limited area. CO2 on the otherhand will sink downhill and accumulate in places and quickly suffocate people.
Would you consider your desktop computer or laptop a platform too?
Easy to use script for configuring WireGuard VPN
Can the interactive / JS parts of Bootstrap be reimplemented in a way 'native' to Vue or React? I'm probably naive but I can't imagine the JS parts are that complicated (things like collapses, menus, changing classes, etc).
“We’re not there yet, but we’re starting to get close.”

I'd say we're clearly already there yet. How can stock markets possibly be rallying with half the world economy closed? Of course it's due to government zombie money. There's already a disconnect between real value creation and valuation (even more than usual).
Agreed, but I think us old farts are complaining the author thinks GitHub has changed while they have not and isn't considering that maybe their perspective shifted during the time as well.
Not sure they could get away with it (but would be amazing if they could, the push back would be collosal) but it's a hell of a sword to dangle over Apple's head.

And yes I agree that should be the case, having a side channel like that makes the App store behave better because if you piss users/developers off enough they will go around you so then you have to compete on ease of use, discovery.
In grad school I used GitHub as

1. A git-aware Google Drive, where I could stick version-controlled code I wanted to sync between computers and possibly share with colleagues (and also create a paper trail if someone beats me to the bunch publishing something, ha)

2. As a CDN serving open-source projects I depended on, but discovered almost exclusively by other means

None of my GitHub-hosted code ever had a README.md, I never starred anything, and I often never even visited the repos I depended on (their documentation would be hosted elsewhere and copying-and-pasting the GH URL from there was all I needed to do to depend on it). If I visited an Issues page, it was because I got there through googling an error message, not because I went there through GH's UI.

This Drive / CDN usage pattern is sort of the baseline, "passive" level of engagement with GH imo.
Couldn't the behemoth apps, some of which get a pass from the subscription rules -- Netflix, Slack, Spotify, and others that are too big for Apple to not support -- end this practice pretty easily by insisting they will leave the platform unless Apple agrees to a change in terms?

Honestly, if it comes down to a game of chicken, who has more to lose? Netflix, Slack, Spotify, and other subscription apps who still get a ton of revenue from non-Apple sources? Or Apple, who now has to deal with a deluge of irate iPhone owners who want their popular apps?

Almost seems like it would be appropriate to have a union of iPhone app developers and collectively bargain.
Useful link: Use cdecl to explain confusing-looking statements: https://cdecl.org/?q=++int+*****super_pointer
yes, i find OP's definition very clear and by saying number instead of integer you made it even better.

for example i was re-reading some math stuff yesterday that made me realize that sometimes we want natural number instead of integer which can be negative...
Yes to both of those examples.
The extent of the closures was always overstated in popular accounts - you say "half", and people often talk as though it was even more, but the highest concrete estimate I've seen is 30%. And in most places the closures have ended.