skysight-inc/HackerNews huggingface dataset:
FWIW, after I learned/memorized the semantics of C++, it did take me at least 3 years of writing lousy code to develop a sense of how to structure a program, e.g. what ‘should’ be a class, when inheritance is appropriate, etc. As for the why, I find it a useful formalism for how to organize (as in, group and associate) code and data, as well as a way to create mental-cycle-freeing guarantees (invariants).
Mail.ru is still an accessible propaganda site fyi.
In Russia, most of these companies are at least partially state owned. Aeroflot, Gazprom, etc. Sanctions against them are meant to hurt the state.
That's basically what hey.com (mentioned in OP) is doing, i think, although I haven't used it. it's gotten mixed reviews.
that was my thought too
Thanks for your feedback! :D
Ask HN: Are there “regular” SWE jobs that pay $200k+?
There’s been a lot of discussion about the bimodal distribution in entering pay (specifically at the “senior” level). Blind and Levels.fyi have plenty of data on $300k+ FAANG pay packages. There’s plenty of hiring going on outside the hotspots at the $120-160k level. But are there non-FAANG jobs (ie sane hiring process, small teams) that pay senio engineers $200-300k? If so, where are they?
Redux (including Thunks, and Sagas)
That's kind of tricky. I assume the list is allgorithmically generated. So simply having the back button go back to the list, and down to item 50, might give you a list that looks completely different.

Even HN might have this problem a bit. If you visit the homepage you click an article, spend some time reading it, then click back, the homepage might have changed, and even post you were reading might not even be on the homepage anymore. HN is much less bad than infinite scroll sites, because HN's homepage is the same for everyone, and doesn't change nearly as often.

One way to to solve this might be to store a session ID as a query parameter that gets automatically added when you visit the homepage, and store the complete state of each session either serverside or locally in the browser. Then when you navigate back to that session ID, you get the same page. There are a number of downsides to this though. The session ID in the URL is ugly, there's a lot of storage needed for all these session, sessions likely need to be pruned at some point (so the back button will stop working at some point), and it's very difficult to figure out what to do when multiple tabs open the same session ID.
More like because I only use public transportation.
I mean React is pretty popular. And then there's stuff like immediate mode UIs and FRP UIs.
- How type theory can prove mathematical theorems. I can limp through the first exercises of Software Foundations, but eventually realize I'm just "making it work" instead of knowing how it works. Only made it halfway through My Little Typer and even implemented STLC and used it to prove simple propositions with implications. But I still couldn't tell you how dependent types magically make it possible to prove real theorems.

- How opamps work and how they're used to make a differentiator.

- How quantum computing works. I want understand it to understand why factoring and discrete log fall to QC but not the post-quantum algorithms. I never make it past the intro chapters.

- What exactly makes cryptographic hash functions have desirable properties like collision resistance? Bits go in, bits go out, why can't full observation of the process not yield a method to construct inputs for a target output? Similar questions for block ciphers. It is much easier to "see" the impossibility in public key schemes because you can play and experiment with the math. In symmetric algorithms it looks like just a bunch of arbitrary bit operations.

EDIT:

- Relativity. I accept things like time dialation and nothing can go faster than the speed of light. But I have no idea why you would experience less time passing than me after a high speed rocket trip when, from your perspective, you saw me on a high speed planet trip. Or what prevents a rocket in space with 3m/s^2 acceleration from reaching the speed of light after 100,000,000 seconds.
Prices are rising on oil because people aren't buying Russian oil. Russia is even trying to sell it at a discount to offload it: https://www.bbc.com/news/business-60584798
If you know the specific value of even a single component on your bike you are in a tiny tiny minority of bike users already. That's cool me too. Just we should keep that in mind in this context probably.
https://dandelionenergy.com/geothermal-pricing-guide

They say $18,000-$25,000 after incentives for the upfront cost, with annual savings of $1,600. That's still pretty expensive (even just in terms of direct payback time).
https://www.amazon.com/Economic-Weapon-Rise-Sanctions-Modern... makes the point that sanctions tend to have unintended consequences and originally were used as a weapon of war.
It has been "common knowledge" among a lot of the people calling for sanctions that they don't work well and mostly hurt the common people of the country. I'd hear this a lot in discussions about sanctions for Iran, NK, Cuba, etc.

Now apparently _this_ time they'll work.
Probably semi related, but when I was looking at C/C++ job offers, why are they paid so little in comparison to Python or JavaScript?
It seems like C/C++ is much more complex. I was mainly looking at embedded stuff vs Web.
For example senior C++ role was paying £45k pa on average and over £60k for JS.
You might want to press 10Y on that market chart at some point. Compare to housing.
As more trade partners are refusing to buy Russian oil, they're selling at steep discounts in auctions, and need to use non-pipeline delivery for the resulting nonstandard buyers (which greatly increases delivery costs). Germany has also scrapped a plan for a new pipeline, which will decrease future sales.
That's the point. If x dollars can be spent on carbon free Power generation, or carbon capture, you will get more impact from the former. Spend money where it has the most impact on what you care about.
Ask HN: How to be more visible to non-technical founders?
I currently work at a SaaS startup with a small engineering team (< 10). I'm the only engineer at the moment working solely on our backend - whilst the rest of the team are focused on app/frontend development, with the occasional help out on backend tickets.

Our team constantly gets praise from our founders for our app delivery and the quality of the consumer-facing aspect of our software, but a coworker of mine recently let me know of some comment one of our founders made about "X not pulling the same weight as the app devs.". My coworker assured me they corrected this person, but nonetheless it's still a major cause of concern for me.

I'd love to get some advice on what visibility changes those of you in this situation made (particularly ones for the office as we're all heading back regularly quite soon).
I can't reliably figure out the Big O notation of an algorithm for the life of me. I can compare two implementations and tell which is better/worse, but actually calculating it? Not gonna happen.
The latency is such that that would probably start rationing first.
Wheels "feature unique nuts that can only be undone with a special adaptor which comes with the bike"

C'mon, really? Just another specialty socket/drill bit?
That isn't really sounding a ton like the patriotism being discussed, but even if you consider yourself driven by patriotism you haven't explained how your altruistic patriotism has provided the lifestyle/security for others. I didn't deny that some people were patriotic.
Whoa based on that the us uses more petroleum than China and India combined. Is that right?
No, you don't need to notify.

At the point you "declare email bankruptcy", you are probably already missing and not responding to emails. Rude or not, it's already happening. email bankruptcy is an attempt to keep it from continuing to happen, like it will if you continue on the course you are on.
Is this because of speculation? Doesn't the US only get 3% of oil from Russia? I'd love to look at the numbers of crude oil produced/consumed globally and compare. Surely, Russia isn't stopping production. So what's the worst that can happen? A country like China gets cheaper Russian oil while the west pays a premium for non-Russian oil. Does that really cause such a massive run up in price?
When the average Russian on the street has had enough, Putin's time will be over. He doesn't have the rapidly increasing standard of living that China has to cover his sins, he just has the threat of violence to scare people, which will stop working when their lives are so shit that they don't care anymore. If he doubles down on violence, the government under him will unravel as the good (or at least not evil) people stop obeying his orders. That will lead to mob justice unrestrained by the disillusioned Russians tasked with enforcing Putin's will.
Until the West is happy with how this ends billions of capital are cut off from Russia and it's place on the mostly economic world stage will dwindle as it loses trade deals from companies and countries being unwilling to work with it.

Stopping the sanctions to pretect the average Russian would be like refusing arms to Ukraine to protect Russian soldiers. While technically that would do that you are sending a very different message but taking that action.

A country is a collection of natural resources and people. Unfortunately that means punishing a country will nearly always punish the people in it. That doesn't mean it is wrong to do so.

Also Putin isn't invincible and it isn't just ordinary citizens hurt by this. After all if the rich didn't care if they were worth $10m or $100m the world would not look like it does today.
The best bypass for this process is to cut Ubereats entirely out of the picture and call the local restaurant directly to place your order. Ubereats in this case is a third party so what difference does it make? None of you start to think about it.
Four-year-old Israeli child tests positive for polio, first case since 1989
Just go to the streets, stop your bloody dictator killing those children.
You don't feel like targeting works? I feel like I'm a moderately careful person (who hates ads), I use stricter browser settings and ublock origin, but I still get somewhat targeted ads when I do see them. My wife, who isn't as careful, frequently gets very targeted ads. Friends and family often remark that the phone seems to be listening with how targeted the ads are. Exposing your brand to those who are interested is very powerful.
How could they differ?
France has a high amount of nuclear power and is less dependent on Russian gas
Sanctions on Iran definitely caused a lot of pressure.

I don't think these are comparable though. They're all unique circumstances and the people in power have varying capabilities of suppression and motivations.

Remember, at one point recently Iran turned the lights off on an entire city and gunned down hundreds of protestors[0]

[0]https://en.wikipedia.org/wiki/2019%E2%80%932020_Iranian_prot...
Has anyone used Django with cockroachdb successfully? Are there major problems with migrations due to table alters being asynchronous?

Also, is the OLAP performance really that bad?
Heart attack on a plate. Delicious but, my god, so unhealthy.
It's not a question of the user knowing the value, it's a question of the chop shop the thief sells the bike to knowing.
Unpopular opinion: Defender can't be the best (but yes enough) because it's too popular, so every malware creator checks with it.
$125 looks like a 10-year high, but it's interesting to see that oil has actually been unusually cheap since around the Fall/Winter of 2014 -- before that, the average was around $100/barrel for nearly a decade (with a spike and trough during the Great Recession).

It looks like the 25-year high is around $140.

Edit: Adjusted for inflation, the 25-year high is around $186.
I'd guess the #1 motive is trying to stay relevant as an authority on moral and moral-adjacent issues. Then #2 is to alert the faithful (and trying-hard posers) to the official Catholic position on the subject. Changing many minds in Russia is probably far, far down the Vatican's "If Only" list.
Very informative watch, humanity needs to evolve past rulers. We don't need senators, politicians etc in any capacity more than a custodial role. Social democratic systems like liquid-democracy which is both a direct and representative democracy should be a bigger part of conversation. It constantly feels like we are trying to run society via software made in 600BC but the hardware(agriculture, science, tech) has kept pace.
https://en.wikipedia.org/wiki/Liquid_democracy
Life isn't that inconvenient without a smartphone, it's only been something people have had for a couple of generations at the most.

You just have to plan things in advance a bit more. It's liberating in a way. You plan dinner with someone on Thursday at 6:00 and it's set. You don't have to think about it, tweet about it, post it on Facebook, or anything else. Just show up.
Yes, all physical objects degrade with time. Different pieces of software can change in incompatible ways. This is all well-known. That doesn't change the fact that if the only way your property can stop functioning is if it breaks down at the software or hardware level, it will likely continue working for a longer time than if it additionally needs someone else to continue powering a server somewhere.
Both Ultralight EV1 and NTag 21X are supported and recommended. Cloning is possible for the NTag, but there’s currently no chip out there that can actually lock block 0, which makes detecting and bricking them trivial.

One can make this system as secure as the specs require it to be: brick clones, reject certain tag types, add encryption, add counters, perform analysis server side, etc.
Help yourself, do something to stop your dictator. 140 millions of slaves.
A truck takes more space, uses more fuel, wears brakes faster (due to weight), turns worse, accelerates worse, brakes worse, etc. It underperforms compared to the A4 in every measure except for two things: it can haul a LOT more, and it can tow a LOT more. If you need to haul a lot or tow a low, then a truck is the obvious choice. If not, then a non-truck is much smarter.

Most drivers do not need a truck. For trucks to rank so highly in sales (and in DUIs) suggests that a lot of people make bad choices. Driving drunk is just one more bad choice.
Sanctions have a terrible track record, but they might actually work somewhat against an aggressor waging a drawn out conventional war with its high materiel needs.

Normally the US uses them against countries who are not doing such a thing.
China is Russia’s single largest trading partner but they import a lot of goods from the countries that added sanctions. https://tradingeconomics.com/russia/imports-by-country

Germany $23.38B
United States $13.21B
Italy $10.20B
France $8.08B
…
>Do the sanctions actually hurt Putin, or are we hurting ourselves and the everyday Russian for nothing?

This conversation will go nowhere unless you define "hurting ourselves" vs "hurting everyday Russians" in actual definable terms. What would you say is evidence that would support that we are only hurting ourselves, and what evidence would distinguish that from the view that sanctions hurt "everyday Russians"?

> for nothing?

Also this is a separate point. Whether sanctions work or they don't, there is the separate point of whether sanctions _work_. Do they work? What evidence is there for that?
Evaluation of Russia by Finnish Intelligence Colonel (subtitles) | December 3, 2018

https://www.youtube.com/watch?v=kF9KretXqJw
There’s no shortage of sushi Putin has on his dinner table. However, his chair started tilting a bit. His control is still above 90 degrees but that angle could take a sudden 180 turn. If he’s confident he’s most likely bluffing. If he’s scared i’d fear him more
There are higher limit ATMs and accounts. Some Chase and Citibank accounts go up to $5000 iirc.

Usually there’s a “rich people” account with different limits and services. I knew somebody once who could call their guy have money delivered by courier in NYC.
Actually, the estimates for when the region will be habitable range from 3 centuries to 20 000 years. [1] "Millions" is off by several orders of magnitude.

[1] https://en.wikipedia.org/wiki/Chernobyl_disaster#Exclusion_z...
I’m getting at just because the policy has changed, the facts on the ground haven’t.
Ah, yes, tracking analytics forced upon you under the guise of paternalist moralism.
I initially started using the multireddit feature, to section off specific but related interests. It can also be used to build a focused feed.
Russia is the biggest oil exporter in the world. They produce about 10 million barrels a day, slightly more than Saudi Arabia. When it's no longer being bought, it's not just the US who isn't buying it, and the rest of the oil out there has a greater demand for it.
this would mean that most people have less than 20% of monthly salary at the end of month
This is quite something! I intend to share w/ my coworkers :)

If I had one thing I could have added to it: panel for understanding value categories[0] -- I have an incredibly hard time wrapping my head around how they're described. I attribute the difficulty to the cpp standard being excruciatingly complex, the language itself not being designed holistically, and backwards compatibility with itself and C.

[0] https://en.cppreference.com/w/cpp/language/value_category
Who looks past the first half-dozen search results. I almost never do.
No problem! You are not the first person I've heard express the impression that the MSP430 is slipping into irrelevance, and while I agree the places it shines may be getting squeezed by low power ARM parts I think they can be pretty compelling for applications where they are a good fit. They are simple, yet modern enough to support full featured c compilers, have a history of focusing on low power and the FRAM is a pretty solid differentiator if your use case can take advantage of it. Jay's article here can't really show any of that off because the one dollar price point is below the sweet spot where most of the nice features kick in
Bro, it’s a police state. Putin has people beaten and jailed for years.
It’s been economical. Investors have been preaching discipline and lower dev capex with funds going to higher payouts to investors. If it stays in the ground during lower priced periods, it can come out during times like this.
Ask your putin to respect your rights.
This is very relatable :) A workmate and I have fun making variations of "A monad is just a monoid in the category of endofunctors!" and sarcastically suggest the other tries OCaml, Haskell, or Idris when something isn't going their way.
Good. The higher the price of oil, the less people killed by cars.
They are usually a little bit more unique, but still not particularly secure. Just something to fuck you over when you're out in the middle of nowhere and need to repair something.
Good time to be an EV owner
I read your comment a few times over but I just can’t understand what it is trying to convey. But it seems interesting.
Does anyone finance these things? 1600 against 25k is 6.4%. Seems like it wouldn’t be too hard to break even in todays rate environment.
Yep. Inflation is hitting a lot of areas but the "gasoline is really expensive" headlines are the worst example of this. "Gas prices are the highest since 2008" is another way of saying "gas prices went down for fourteen years and have only just now bounced back."

Oil is a particularly sensitive commodity. It swings all over the place. No surprises here.
The reason why Russia attacked was because Ukraine was not in NATO.

The reason why Ukraine was not in NATO was because it was not possible to enter NATO after Russia annexed Crimea and started conflict in Donbas in 20214 https://www.nato.int/cps/en/natohq/official_texts_24733.htm

Ukraine could not join before because president of Ukraine before 2014 revolution because president Yanukovych supported neutral state policy https://en.wikipedia.org/wiki/Viktor_Yanukovych
> Is this because of speculation?

Isn't that why almost everything is priced how it is?
I think it is very fair plan and should be followed.
I much prefer pagination, because I can get back to where I was. There are technical ways to make infinite scroll deep-linkable but I almost never see it in practice.
Both solid points, but imo maybe that's more of a reason to approach the situation russia with more diplomacy than our current "leaders' are rather than force more sanctions and escalate the situation quickly. Some senators are openly calling for assassination.
I've been pretty deep in to functional programming for years including implementing my own little lisp with macros and all that shit and I still couldn't confidently tell you what a monad is. I read those articles sometimes when I come across them and feel like I understand a little more of... something... and I mean I have some intuition for what they are but still I don't really get it and never have.
Is segmentation really that bad? With an assembler you have direct control of which segment is being used. It's unlikely a hobby project will span more than 64k. Even if it does, for a lot of projects the individual data structures are small enough to split between segments.
That’s the job of sales engineer too in many cases. But a good account executive will tell you upfront if it’s not a good use case. If not you won’t buy at the end of evaluation and that has consequences for them (Companies need to predict quarterly revenues and by betting on a bad use case that person will have a bad projection of sales for that quarter or year which will ultimately be bad for them)
A dead comment mentions having to readjust the saddle height every time you unlock the bike. Just draw a line on the seatpost with a sharpie. Easy and reversible.
> Does that really cause such a massive run up in price?

Yes.

1. Russia is the number 2 exporter of oil, behind Saudi Arabia: https://en.wikipedia.org/wiki/List_of_countries_by_oil_expor...

2. The fact that the US only gets 3% of its oil from Russia is kind of irrelevant - it's largely a global market.

3. The idea that Russia can just switch to selling all of its oil to China, so then the West can then get its oil from someplace else (a) is not feasible and (b) would completely defeat the purpose of sanctions in any case.

4. Prices are always set at the margins. A relatively small shortfall can cause a huge price increase primarily because, when there is a shortfall, the price needs to increase enough for some buyers to just drop out of the market altogether.
> For example, I pin every single version and the container fails a security scan because it's not using latest versions of everything.

This security scan would be absurd. The amount of churn of updating everything the day it is released would be insane, specially wrt. breaking changes.
The proof for a^n b^n, as I was taught, being that

-> there exists a integer N such that pumping lemma holds for any w in L longer than L. (That is we can divide w into xyz and pump y, where |xy| ≤ n, and y is nonempty).

-> now consider a^N b^N, we cant divide it into xyz such that we can pump y and w still remains in a^n b^n.