skysight-inc/HackerNews huggingface dataset:
Yet tech salaries in Vancouver combined with real estate values make it so that most tech jobs are barely living wage, at least when my partner and I tried hard to make it work some years ago. Even with universal health care (which wasn't quite what they have) it couldn't possibly make up the difference for someone with college debt.

I'd argue that if you got a CS degree from an American college you're probably just forced to work in the US simply because the other prospective employees can accept a lower salary due to a lower debt load. Maybe the best of the best can find a way to earn American salaries overseas but I really don't think that's as common as the HN crowd might assume.
OffensiveNim: Experiments in weaponizing Nim language for implant development
Quantum computing is only likely to be an accelerator for a few specific kinds of problems. The bulk of programming (even the bulk of most quantum algorithms!) is still happening in classical computers.
I created an account just to say what a horrible human being you are. You assumed alot of things none of which are even remotely close to reality. Be empathetic, not everything has to happen to you for you to believe it.
Not really, this type of save changes at the end used to be fairly common (i assume for performance reasons on big docs back when computers were much more constrained) microsoft word did the same thing back in the day.
Keep in mind that Gaidar is one of the most controversial figures in Russian history.
In college, I wrote something sort of like this to help students prepping for interviews in C++: https://vghaisas.com/code-quickref/cpp.html

I quite like the format (though this post is much better than mine) of lots of small snippets of code showing how something is used.
Ask HN: Best way to learn genetics as a Software Engineer?
I know nothing about biology but I really want to learn things about DNA, genes, etc. How do I start?
I've been trying to understand why robotics doesn't work for quite a while. It seems to me like the next logical field of radical innovation. I understand there are funding issues for startups, the expertise issues, the utility issues of the current robots themselves and the vast number of theoretical issues of the sub-fields themselves.

What I don't understand is why not every single hobbyist is not focusing on robotics. It seems to me to be the pinnacle of generalism and technical entertainment.

What I'm trying to ask semi-jokingly is: It is winter, where is your miniature, autonomous snow plow that you built yourself from scratch and why aren't you working on one?
Eval() is part of the js language so you obviously do. But regardless you could make your own interpreter if neccessary. You could compile to x86 and then run it in your own VM if you felt like it.
Ask HN: How do you handle recurring payments in 2021?
Hey HN,

What is the state of recurring payments that most startups / companies use?

Been meaning to use Stripe for everything, but not sure why other competitors such as fusebill, chargebee, memberstack, chargify, recurly etc, exists or what their benefits are, not sure I even know the difference.

Do you use any of these in the list above or something else to handle recurring payments and how was your experience?

Thanks.
Unless you think GrubHub are forcing themselves in the middle of a transaction that was going to take place anyway, I don't think we disagree.

GrubHub are offering a service where they go and pick up your food for you from a place that offers takeaway but not home delivery.

That sounds fine, I can't imagine anyone having an objection with that service, even if the restaurant hasn't signed up for it.

The problem is that GrubHub are making people think they're dealing directly with the restaurant, not that GrubHub are picking up food from restaurants that didn't sign up for it.

The problem isn't that GrubHub are sitting in the middle of a transaction between a customer and a restaurant. The problem is that they're (maybe) lying about it.
In my opinion bugs related to endianness expose a design flaw in the C/C++ programming languages, or at least in the way people tend to use those languages. It isn't that hard to write code that works well with any kind of endianness, and you don't need stuff like __BYTE_ORDER__ for that. For example, if I wanted to read a little endian 32-bit integer value from a byte stream, I could write a function like this:

uint32_t read_int32(unsigned char *b) {
return uint32_t(b[0]) |
(uint32_t(b[1]) << 8) |
(uint32_t(b[2]) << 16) |
(uint32_t(b[3]) << 24);
}

Which, according to Godbolt.org, at -O2 or higher compiles to:

read_int32(unsigned char*):
mov eax, DWORD PTR [rdi]
ret

No magic needed!
I find it very confusing.

T: ‘a is T outlives ‘a; but types are not generated at runtime.

All types are static; which is to say they are created at compile time and exist for the lifetime of the program.

Or does rust generate type variants on the fly at runtime?

I didn’t think it did...

It is a constraint applied to arguments at compile time... but r, that’s what I thought anyway.
Official Game ISO Ruleset 2021
Fitness Keto Review Mega Discount 2021
Fitness Keto has pulled in a great deal of consideration in light of the fact that the item has unlimited advantages. The clients of the work are happy with the good outcomes they get subsequent to burning-through this recipe. Here are some client audits from Fitness Keto.I was tired of an exacting eating regimen and couldn't eat my #1 food. Because of Fitness Keto, I would now be able to eat my number one food and keep my body fit as a fiddle.This item is unadulterated wizardry and has assisted me with shedding pounds. I had Fitness Keto a couple of days back, and the outcomes I got are amazing.

http://wintersupplement.com/fitness-keto-review/

http://wintersupplement.com/

https://devpost.com/software/fitness-keto-shark-tank-updated-review

https://vocal.media/longevity/fitness-keto-shark-tank-new-weight-loss-diet

https://share.naturalnews.com/posts/3651601
I don't know about the author's issues, but I wrote something like this because early versions of HCL were very limited. E.g., you couldn't write a module that cranks out autoscaled DynamoDB tables per region because you could only pass scalars to modules, not entire key schemata or tag sets.

I really wish Terraform itself were written in Python or something similarly hackable without rebuilding the binary for everyone. I've glanced at CDK but it looks like building blocks for reinventing our own Terraform.
Plus side, the amount of money seems realistic. TSMC's latest node at 5nm/3nm was like $16B and so 10x doesn't sound outrageous if playing catchup.

I do wonder how many people will be involved; it could be like ITER where everyone builds one fab that's truly the best in the world. Or it could be that they want to spread it out amongst the existing incumbents they can find who I am sure will do nothing with it.

Concentrate the funding and I imagine it could do pretty well. Distribute to (more than one) commercial entity (preferably zero to retain public access) and I doubt it will go anywhere.
The broader point is: What good is it if it cannot effectively utilize modern multi-core hardware?
Check out the Unison programming language (https://www.unisonweb.org/). The codebase exists as a database instead of raw text. It has the clever ideas of having code be content, and be immutable. From these 2 properties, most aspects of programming, version control, and deployment can be re-thought. I've been following its development for a few years, I can't wait for it to blossom more!
By the way I think I read somewhere they wanna fix the employee options problems, you're totally right it's broken.
Firefox' reader mode estimates it at 35-45, if that helps :-)
s/compiles to/may or may not compile to/
If it helps - you did the right thing.

My fiancée and I have been extremely cautious, we don’t go anywhere, we order amazon fresh, we work from home, etc.

She had to go into work a few times last week to build her machine (she’s a Mechanical Engineer), she wore a mask at all times, avoided interaction with other people.

Out of an abundance of caution she got a PCR test afterward - it came back positive.

Now we’re wearing masks in the house and she’s staying in her room. She’s asymptomatic thankfully, an initial test for me came back negative but it’s too early to be definitive (and we were with each other prior to her positive test result).

It sucks - the anxiety was already fairly extreme prior to this, but now waiting around to see if I develop symptoms and seeing story after story of random healthy person dying is really upsetting.

False positive probability with PCR is quite low, 0.5% to 2%.

Whatever the stress of social isolation, being isolated apart from your SO while waiting to see if you develop symptoms is 10x times worse. People don’t take it seriously because they just don’t think it’ll happen to them.
Any Monotone Boolean Function Can Be Realized by Interlocked Polygons (2010)
* Tesla FSD will kill someone causing a major development setback

* By the end of 2021 most cars will still use combustion engines

* A one-in-a-lifetime trip to space will become affordable for 5-10% of the population.

* Bitcoin will surpass $100k value

* Drone based delivery will not happen

* Nuclear fusion will not happen

* 25% of laptops will be using ARM

* Many small businesses will die. Amazon and other huge corporations will become even significantly bigger

* Jeff Bezos will be worth over $1T

* Facebook won't die but it will loose over 50% of it's users.
Cool, we still got a year.
Goodbye virus-ridden 2020, hello Roaring Twenties
I used to order directly from a local Chinese restaurant quite regularly, but when they appeared on Just Eat I ordered from there instead (convienence and laziness on my part). I never thought to ask if they'd actually joined or if Just Eat had added them without consent.
Well, if the president of the USA and half of the Senate are truly considering labeling AntiFa a terrorist organization, I wouldn't be surprised in the least if pro-AntiFa videos started getting demonetized and even banned. I would be very surprised if pro-unionization content weren't already in this area.

As an example of how "extreme"-left information is kept out, have you seen even one piece of news in the US or Europe in January 2020 or since about the largest organized strike in human history? An estimated 200 million people strike in India.
It's been my experience multiple times or I wouldn't have mentioned it
Cool project. One of the best decisions we made for C2Rust was to use clang to parse C code (which is also the recommended approach by the author of Corrode). It looks like C2nim is rolling its own C parser for now; that's eventually going to become a limitation as the project expands to cover more of C.
The warning at the top of this article did not prepare me for the images, so I'll offer an additional one: the images are more disturbing than you think. Consider turning images off to read the content.
Scott W has a great approach to domain modeling.

While he covers many topics, and almost all of F#, I think the way he uses the language to model a domain is what stands out as something that could really be of use in many real world applications.

Just looking at my own pet project of yatzy that I implemented in F# in a day, I used discriminated unions and enums to model all of it.
Antique Ticker Tape Machines
"and probably many more" is an understatement. There is mass organ harvesting from Falun Gong followers [0] and God knows how many die in the Uighur concentration camps [1].

There is a 99.9% conviction rate in crimes in China [2] (which is the same as basically having no rule of law) and political prisoners seemingly 'disappear' all the time.

China are known for lying consistently about almost everything and keep a tight lid (as much as they can) on anything that would cause them to 'lose face' both within and without the country so any estimates are likely significantly low.

[0]:https://en.wikipedia.org/wiki/Organ_harvesting_from_Falun_Go...
[1]:https://en.wikipedia.org/wiki/Xinjiang_re-education_camps
[2]:https://qz.com/246696/chinas-criminal-conviction-rate-is-99-...
India drug regulator approves AstraZeneca Covid vaccine
So where's the issue with using a cloud hosted build environment for the builds?
I wish linux-based phones go mainstream in the future, where privacy is utmost valued and customization is unprecedented. Everyone would be able to install multiple Linux-based OSes that fit their needs.
The decision to say Michigan borders Minnesota and Illinois is weird to me. They have borders that are in the water and none on land.
and then we need a DSL to get rid of all the imperative Perl.
ex-Apple employee so using an obvious throwaway.
One of the things to understand about Apple is they take disclosure and security very seriously, to an anal degree. After initial on-boarding an employee goes through the disclosure process where she has to submit requests for every project she will work on. Those things are very fine-grained, you rarely get full project disclosure, and have to ask for specific relevant parts, such as architecture, plans, or something else.
This process takes a lot of time. Up to weeks. During that time, you CANNOT be exposed to any material related to the project. If someone exposes you to it, they will be disciplined and may be fired. This is why employees might not get invited to meetings once they land in the organization, they are not yet disclosed.
Besides that, Apple is a very high stress environment and there's no lack of scare-stories of employees who violated some guidelines or protocols (especially relating to leaking sensitive information, even by accident) who got axed. Apple will ruthlessly protect its secrets and its corporate image. It is not pleasant at the ground level, but that's how it is. Moreover, stress tends to propagate down the organizational pyramid. A C level breathing down the necks of the managers under him will translate to 100s of engineers feeling the heat.
My time at Apple wasn't pleasant at start but that was solved easily by some communication. Later when projects started getting stressful I experienced some of that stress and some of the blame culture. People will come down hard on you, and it will come back to bite you in the ass in your yearly review if some manager feels you messed something up, even if your own manager told you just a few months back you're doing well.
To summarize my time there, I liked the team and the group, not the organization. The author might want to seek therapy to better handle what she went through. I don't think half of it was as malicious as she thinks, but it would help both with overcoming the trauma and putting things in perspective.
It took four years last time, I'm assuming it will be the same again.
Want to understand the biggest problems better? Read these 7 books
> Granted, we are woefully behind on the 'space' part of aerospace.

Well, SpaceX caught with the pants down to everyone. Before the revolution of the reusable Falcon 9, the Ariane 5 was a fine reliable rocket.

Sadly, the Ariane 6 design predates the reusable revolution of SpaceX, how ever they are working on reusable Arianes that are similar to the Falcon 9 and Spaceship (https://www.techforspace.com/european-space-sector/european-...).
Snippets looks quite impressive. But if it's segregated into different post like https://flaviocopes.com/ did, then it'll be much helpful.
My grandmother lived roughly during the same era. This led to some funny things, she would answer the telephone in her bedroom but refused to have a TV there because 'If I can see them, who is to guarantee they can't see me?'.

Tech progress in the last two hundred years is nothing short of incredible, plenty of what we see today as normal would have been absolute magic just a few short decades ago.

This hit me hard when driving in Arizona somewhere and having a cell phone conversation with another dutch person who was driving in Canada, both of us on our tri-band cell phones with roaming contracts. Crystal clear, as if we were standing next door to each other and neither of us realized that we were abroad (and on another continent than normally) until halfway into the conversation. That's how normal it has become to be able to talk to everybody all the time.
The Immune System – A Military Force
If you can't see how this is a good thing for local businesses, I would suggest that you never attempt to start one of your own, purely for the well-being of your potential customers.
"Content warning: extremely graphic distressing images of people being shot in the head by PRC security forces"

Not sure how this could be any clearer.
He didn't say they weren't effective. He said it wasn't worthwhile to be walking around wearing one at that time. The virus wasn't anywhere near as prevalent then as it is now, and, people had no real sense of how quickly this thing could spread.
If only we ("other ex-Soviet countries") could stop our "dumb nationalism" and go back to being nice "little-brother nations", speaking Russian, fighting Western imperialism together somewhere in Afghanistan after being drafted to glorious Red army... Those where the times, comrade!
You're thinking of Agilent. Also Accenture didn't change their name due to Enron. It happened before the scandal (so quite lucky for them!) Arthur Andersen and Andersen Consulting were involved in a legal tussle which required them to change their name...
https://www.nytimes.com/2000/08/08/business/worldbusiness/IH...
Ask HN: How have you used memorization to improve your life?
Global warming will change where we live for very large numbers of people. The problem is that the change is slow enough for people to ignore it.
A type constraint like T: ‘a or T: Trait is constraining values of type T, not the type T itself. That is T: ‘a is saying “all references in values of type T live at least as long as ‘a”. This includes ‘a = ‘static and the vacuous case of T containing no references.
The phrase sometimes gets a bit overused. I wasn't fully prepared for some images either.
Pulumi vs. Terraform – Hypergrowth in the Valley
Concave and Convex Dispositions
I feel I should take this opportunity to confess that I once used M4 to generate HCL, before I figured out Terraform JSON.
Suffering is the commodity engineers are providing.
Which might still make a big difference and avoid switching to another chip.
I do. I suspect people vary wildly by how often they do meetings and what they use them for. For me, most conversations are done in text, and most video meetings are regularly scheduled and 15 minutes long.

Having a webcam on for longer meetings is tiring, because I feel less free to change my position and move around. But it's okay for a short meeting. I make sure I look reasonable beforehand.
> If we stopped growing Almonds in the CA desert there would be more water for domestic uses.

Are you seriously advocating that CA, a histrionically Agriculture based State, remove one of its nearly exclusive cash crops to curtail water depletion? Not only is that absurd, but it negates just how quickly that leads to food insecurity. I agree we should divert tax liability for farmers to improve their irrigation systems to reduce consumption and mandate water table depletion instead of letting FAANG and other multinational corps not pay taxes, but this argument doesn't take into account that all the Valley used to be Ag land long before it was ever used planned to be used for every tech corp that wanted to cash-in on a useless app no one cares about.

Ag isn't really the problem, the massive influx of people that came here from somewhere else claiming Agriculture is not a critical part of OUR unique Californian Culture, Cuisine and Identity is the issue, and they often do so in order they can have massive pools and manicured lawns and support other useless and wasteful habits. They're the same imbeciles that claim they can come here and remove access to beaches because they bought beach front property and feel they are entitled to everything that surrounds it, which is entirely against Californian Law (as well as beach/surf culture) as beaches are a public good.

> Agricultural water rates are ridiculously cheap for the value of the water - hence absolutely brain dead schemes such as growing almonds in an otherwise desert!

The central valley remains and has one of the most fertile soils in all of N. America for centuries for a reason, so while almond cultivation in the World certainly suffers from centralization, inefficient pollination irrigation systems, they are correctable with the right incentives and it is most definitely 'worth it' if you understand just how much California feeds not just the US but the rest of the World from that part alone.

And honestly, if you have ever been to massive golf courses and school and University campuses with manicured lawns (Pepperdine in Malibu is insane!) you'll see that excessive water is far more prevalent in areas that don't create any value besides aesthetic landscaping and leisure for the few because they have the fiat to buy what ever it takes to have acres of manicured lawns during fires and droughts and since COVID no one is even on campus to 'appreciate' it all.

You'd have to be an immense fool to think that not addressing those issues is critical before you remove established cash crops that actually feed people in order to curtail water depletion.

Desalination at least solves some issues we could and should address in regards to refilling aquifers and water tables and protect our Cultural heritage, which a big part of it happens to be Agriculture.
What are some real world uses for this that people have used outside of their sandpit i.e. at work?

I regularly see functional programming get voted to the top, but never any practical applications of such.
Quite frankly, I suggest the opposite. Most people in the west, and especially in the US, don't appreciate just how evil the CCP is. Our corporate media has given the CCP a free pass on mass murder because many of our wealthiest people have made their fortunes through trade with China. We should all look long and hard at these images so that we don't forget them.
Distressing can be pretty subjective, and I was definitely not expecting to be THAT distressed. Figured other people might also be caught off guard.
I've been staring at this for a minute, but please help me seeing a toilet in this? Is it a top down view perhaps?
The warning should be absent. This is the reality of the CCP and could be the direction that pro-censorship and pro-communist nations laud. It’s all fun and and games when popular opinion vilifies the likes
of terrorists or pedophiles but it’s a slippery slope.

Next thing you know the executions start for DMCA violations and so called hate speech that will radically change in 40y.

As george carlin famously said we are all circulating the drain.
CSmith [0] also made significant strides in that area.

[0] https://embed.cs.utah.edu/csmith/
Fortunately the mods are asleep right now, otherwise this would already get flagged for drawing "ideological debates," the worst thing ever on HN.