skysight-inc/HackerNews huggingface dataset:
I can't see it happening. Then again I am in America where very little gets imported from Russia and even less in terms of consumer goods. European markets will probably be hit harder but its nothing China won't gladly compensate.

Long term I think this will strengthen the Russian economy, provided they take this opportunity to restructure their infrastructure supply chains with a focus on domestic supply routes. Ultimately this may lead to some competition that erodes western influence, but it's something we as Americans I believe are prepared for.

I've worked a lot in manufacturing planning and scheduling for companies that do aerospace, defense, and federal contracts. I've also worked for the federal government. A very substantial amount of consideration goes into our supply chains here in America (we are still catching up on digital supply chain integrity). Integrity is everything. Even when we were in a trade "war" with China recently; sourcing raw materials became more difficult, but only slightly. We were set back a couple of weeks at most.

Russia, on the other hand, obviously has no supply chain integrity. They seem to be barely able to function.
They’re both great, I’d let other factors pull me (salary, location).
> All anyone has to do to be an engineer is get a degree.

A PEng needs thousands of hours of work experience then need to write competency exams. Religion? What are you talking about?
What you see on the road, on average, is what was selling well 12 years ago. Small cars tend to be more popular during long periods of bad economic times or high fuel prices. SUVs sell like hot cakes every time the US has a decade of good economic times and cheap gas.

The Fit started selling really well around the time of the 08 crash (and fuel more than doubled in price that decade):

https://www.autoblog.com/2008/06/23/honda-boosting-fit-produ...

> Like most other manufacturers doing business in the U.S., Honda has been caught by surprise by the sudden shift in demand to smaller cars.
"The Census ACS 1-year survey reports that the median household income for the Boston-Cambridge-Quincy Massachusetts metro area was $94,430 in 2019, the latest figures available. Boston median household income is $8,587 higher than the median Massachusetts household income and $28,718 greater than the US median household income."
Old HOV lanes were 7 AM - 9 AM and 4 PM - 7 PM or something like that. So outside of those hours, everything was pretty load balanced, which makes sense. This move seems to be more about revenue maximization than reducing traffic. They haven't even completed the full stretch from SF to south bay, but once they do, it would cost about $10 to do that run. Add $5 in gas, and you are looking at $15 per trip, one-way. Tax dollars at work.
"They sent a slamhound on Turner's trail in New Delhi, slotted it to his pheromones and the color of his hair."
> call for violence against Russians and Russian soldiers in the context of the Ukraine invasion

Kinda have to ask, would this include calls for violence against the ethnic Russian populations in eastern Ukraine?

edit: Reuters has added that including a location with the calls for death will be considered an "indicator of credibility" that is still prohibited.
Not on topic though, not sure why you're bringing it up. The topic was: "C is fine". No, it really isn't.
Stripe doesn't give two shits about the environment. It's just good PR. If they did, they would know that investing money in carbon recapture is not an effective way to combat climate change. I've had it up to here with people trying to find a technofix to all our problems. It's much more simple than that.
For more advanced intrusive lists in C, I've found that ccan's tlist2 (https://github.com/rustyrussell/ccan/blob/master/ccan/tlist2...) provides a decent model here.

Compared to the linux kernel's intrusive lists, it also tracks the offset of the list_node within the structure contained by the list, which eliminates another class of problems. It does still have the "using the iterator after the for loop is over" issue discussed in this article, but it also already tracks the types as Linus proposed doing in the article to resolve the issue.
Hacker News is a site with a specific niche audience. If this is your only source of news I'm afraid you're getting a very one-side picture on many topics.
A search engine on the other hand is supposed to present the information you seek from various sources, so you can read different opinions.
Yeah I'm considering buying a home (with mortgage of course) for this reason
My point is, it doesn't matter whether you or I consider it a "bad definition". To say that these things are not pyramid schemes "in any way" is unnecessarily pedantic and not useful considering the context (the implications of their terms of service).
Then how come most of the oil in Iraq was leased to other countries, not the US? And how come they didn't install a puppet regime, winning the war and all?
This is really part of the intro, but I wonder if someone knows anyway:

My very naive first guess at making a generic linked list would be, of course, a struct with a 'next,' 'prev,' and the void pointer to the payload (What can I say? At some point my brain was damaged by OO languages). I guess their method of instead defining a struct, embedding the linked list into it, and then using macros would probably interact more nicely with the type system.

Are there other benefits, though? I vaguely suspect their system might tend to prod users toward laying out their memory more nicely.
Russia is abandoning SSL certs in favor of their own
Maybe a naive question: is there no transfer learning with transformers? I've done a lot of work with CNN architectures on small datasets, and almost always start with something trained on imagenet, and fine tune, or do some kine of semi-supervised training to start. Can we do that with VIT et al as well? Or are they really usually trained from scratch?
> The reliability problem could be solved only by replacing soldering with another method of making electrical connections during PCB assembly, e.g. thermal/ultrasonic welding of copper on copper, metal deposition in vacuum etc.

The whiskers are not related to soldering. Of course there are some soldering issues which facilitate whiskers but that's about it. Tin is a normal plating material so you can find whiskets in places which were not soldered.
Hah! I'm an Ellis fan, or at least a fan of his Comic Books (or are they Graphical Novels, I never learn), but I didn't really get along with Crooked Little Vein. I honestly don't remember a single piece of the plot (it's 15-ish years since I read it), but I do remember that I got the feeling that his main objective was to gross me out. A bit like Garth Ennis, but it novel format. I get a bit annoyed when (it's a bit too obvious that) the author's main objective is to play his audience rather than to tell a story.
I always drive old cars from 10,15 years old.
For example driving an Infinity FX35 from 2003 for about 7 years now. Never had a single issue. Bought the car for 8k.
Where are you quoting from? Why would DARPA have any need to conceal that it's research had a military purpose?

I can't find anything that says drone projects were originally pitched for aid delivery.
"Nobody predicted what would happen next. The first shipments began in October 1981, and in its first year, the IBM PC generated $1 billion in revenue, far exceeding company projections. IBM's original manufacturing forecasts called for 1 million machines over three years, with 200,000 the first year. In reality, customers were buying 200,000 PCs per month by the second year." [0]

[0] https://spectrum.ieee.org/how-the-ibm-pc-won-then-lost-the-p...
Just as one example as there are numerous others - October 3rd, 2015 US Air Force AC-130U gunship struck a trauma hospital in Kunduz in Northern Afghanistan, killing 42 and injuring 30 others.

I wouldn't think Russian politicians called for hospitals and Ukrainian schools to be hit, but that's just not how war works. Certainly, US politicians weren't calling for an Afghan hospital to be struck with missile fire.
This is a 2022 blog post from one of the founders of Chowhoud, which recently down. He is reminiscing, so after a long written introduction there is a repost of a 2007 interview. The interesting part is about Chowhoud and community forums.

I do not know why some HN moderator decided to edit the title to say year 2007
That's already in the article (yours is two sentences though).
I don’t get it. How are my friends morally bankrupt for selling NFTs to people like Will Smith or Dubai royalty? Same people who are buying their art to hang on their walls.

It’s not like NFTs brought them a whole new audience, it’s just that their existing audience wanted NFTs.

You might think NFTs are worthless, but the exact same argument goes for easily reproduced physical works of art.
Wouldn't it need to be N-2? N-1's next is N, but prev should point to N-1.
There may be signs somewhere; I've not seen any. But regardless, it's not a matter of required or not required. You can still use these lanes with regular old Fastrak, I believe. You just get charged the highest rate. Ditto if your transponder is broken or not in your car, and you are identified by registered license plate.

Of course, this is too much information to try to explain on a road sign, as drivers zoom past at 65+ MPH, and they're fumbling for their transponder in the glove box. That's why it would have been great if they had sent out emails to customers, whom they regularly send account-related updates.
I suppose the question is do you really need to get rid of the Mersenne-Twister? Most of the modern variants are good enough for most practical purposes.

https://chasethedevil.github.io/post/war-of-the-random-numbe...
I'd be willing to bet it is going to 9-10% over the next few months due to the gas/energy and supply chain shortages brought about by the Russia/Ukraine conflict, not to mention the spiraling housing demand (at least here in the US).
Ukraine is not really considered a developed country. By GDP per capita it is even poorer than Moldova (which I had always thought was “the poorest country in Europe”).
> Not everyone is comfortable with seeking help, especially in the armed forces (due to a variety of reasons such as culture), so if there are more tools to visibly see these issues (like we would with standard medical issues), then that makes it much easier to open up dialogue with our soldiers, and begin treatment.

And once again, we're seeing technology being attempted to use as a band-aid instead of fixing the actual problems - the culture of toxic masculinity that is not just in the mindset of the soldiers but also in almost all advertisements, the fact that many seek to join the military not out of their own will (e.g. to defend the homeland) but to escape poverty, or the fact that many get sent to the military by their parents either because of "tradition" or because they are seen as "rebellious" and the military should "fix them".

Humans aren't cogs in a machine, and projects such as this are only one thing: another layer to make sure the cogs perform as required. Dehumanizing.
"allballs" is another potential candidate: https://www.postgresql.org/message-id/20050124200645.GA6126%...
Teslas are aesthetically minimalist, but they ship with hardware to cover an eventuality that the car might not last long enough to utilize. That's the opposite of minimalist from a product perspective.
Rob Schneider isssssssss

the Compiler. Opening this Summer, 2022.
Correct; but that doesn’t mean there isn’t any utility in new technology for improving our culture so long as the people using it want to do so.
> Not showing the back links here, but BASE_OBJ only contains a pointer to linked_obj1 rather than an instance of its structure.

I don't understand what you are after....

struct Foo {
struct Foo* prev; //Just a pointer, not an actual struct
struct Foo* next; //Just a pointer, not an actual struct
};

That lets you "avoid putting an entire struct in the base object" without using a double pointer. It sounds like you did this:

struct Foo {
struct Foo** prev; //double pointer
struct Foo* next;
};

Which works, but is strange...
the 2001 saab 9-3 turbo I got around 2007 was and is still my favorite car I've ever owned.

What is night mode and why did I use it all the time?

What is this CD? a tour of my own car... hosted by a jet fighter pilot and random disembodied female voice?

Where do I put the key? Oh, next to the gear box... like mid thigh. (the cd will tell you this is to avoid injuring your knee in an accident)

Wait, how do I remove the key? Shift to reverse? Well it won't go in reverse... oh pull up on gearbox skirt and THEN shift into reverse.

The windows rolled up and down unnecessarily fast. Faster than you're thinking.

I had little wipers on the headlights (so european!)

Its turbo suddenly died, taking the engine with it... but I would LOVE to own that car again.
Interview: Flies in the Ointment with Dima Shamoun
100 feet of subway track? I wish I could get those rates. NYC's latest Second Avenue Subway budget is $6.3 billion for 1.5 miles, or, about $800,000 a foot. You can get 25 feet of subway track.

California's not quite that bad, but, it's close to that bad. The Downtown Extension for Caltrain is $3 billion for a mile. SF's Central Subway is $923 million a mile. So sure, you can get about 114 feet of subway, but it'll be the short little LRVs and not like BART or anything nice-ish.
Hate is hate. Morality is absolute, not relative.
I was also excited to add this, but unlike Worldle it doesn't support imperial units and is pretty unusable on mobile.
I suspect those sales were made in spite of much of the IBM hierarchy.

Another example IBM in the UK where I was working had a headcount limit imposed by Armonk. No matter what their revenues they couldn’t take any more people on. Did this limit their ability to sell lower value systems - seems a distinct possibility.
> as if being a for-profit company requires them to abandon their morals.

Agreed. To maximize profit, you must not only consider first order consequences like being banned in certain countries, but also second order consequences (and beyond) like being perceived as immoral in most countries. Disney is walking a fine line here.
Right now Russia is an enemy to any normal person/company who opposes the genocidal war Russia is waging in Ukraine. It is perfectly fine to strike at your enemy's propaganda.
Security through obfuscation isn't bad, but its certainly not infallible.
I feel like in a forum of programmers there would at least be some recognition that "get gud" doesn't scale while lane assist and emergency stop work for everyone all of the time regardless of how tired or distracted the driver is.

You're the next iteration of the person complaining about anti-lock breaks because you can just learn to drive better on ice.
Couldnt we also just charge a tax on electric vehicle charging stations or even integrate a tax with electric vehicle chargers in homes and multi unit dwellings?

I dont personally oppose some tolls (like bridges or even this) but the gas tax (or modern equivalent) completely going away does not seem like it will happen.
I'm talking about outside of Russia/Israel. And I personally do not see Israel positively wrt Palestine, but find their pretexts a lot more credible than Putin's so I understand why there's a lot more unanimity in Western press about Ukraine
I’m imagining an interactive tool where it asks those questions of the developer when generating the binding code (c2nim is what I use regularly)
But a general purpose web search engine should not be in a business of determining which side has a higher moral ground in a human conflict?
Ask HN: Service to find minimal set of streaming providers?
Given a set of TV programs, does anyone know of a service that will show me the min set of streaming services I'd need to subscribe to in order to be able to view these programs? Minimize by either a) total monthly cost or b) number of providers
Yes it is alarmist for a reason. We have about 60 to 100 years of topsoil left unless we get cows and ruminant animals to help rebuild it.
Not everyone has that luxury. What if you are not rich enough to live near work or your kids school?

Just walk/bike/etc. is a form let them eat cake.
Monad transformers aren't quite the same thing as composed monads. (In fact, they're kind of a kludge to deal with the fact that monad composition isn't very well behaved.)

Some monad transformers, like `MaybeT m a`, are just wrappers around a composed `m (Maybe a)`, but others, like the continuation passing transformer `ContT r m a = (a -> m r) -> m r`, are very much not.
This is an interesting paper, but it has been posted to hacker news in 2020 already: https://news.ycombinator.com/item?id=25166095

I had written about it around that time on my blog, for the curious:
https://chasethedevil.github.io/post/war-of-the-random-numbe...
and the sequel
https://chasethedevil.github.io/post/more-on-random-number-g...

A neat remark from the above: Monte-Carlo simulations run at the Los Alamos National Laboratory relied on a relatively simple linear congruential generator (LCG) producing 24- or 48-bits integers for at least 40 years
They are really going all in 100% North Korea.. Not going to end well
Yes, it's not very usable yet.

I started to use... Yandex! It's fast and provides very accurate results. Metager seems very accurate but less user friendly. I think it's an opportunity to have a look to the search engine market, thanks to DDG.

By the way, the DDG "bangs" can be replaced by the native feature of Brave where we can associate a search engine to a keyword.
> Private methods by definition are not an abstraction.

A private method is indeed an abstraction. If you take a chunk of code and extract it out into a method, that's an abstraction, regardless of whether it's private or not.

> Say a branch is never reached through a public interface but you test it in your unit tests since you don't know. This aspect is completely hidden from you.

This is purely a tooling problem. There is no good reason why your linter can't flag that a private method is unused in non-test code.

> Encapsulation literally defines this as a core principal. If you don't accept that then you don't accept the most important concept of OOP.

Do you have a source evidencing this claim? I would be surprised to find any canonical source stating that private methods should be held to a different standard to private classes and private packages

> If you want to break encapsulation you need to come up with an argument that's better than: "It's easier for me in this specific case".

My argument is this: we 'break' encapsulation every time we write a test that's not end-to-end. The question is how much we want to break it, and that question depends on how stable and well-defined the abstraction is that we want to test. If a private method is stable and well-defined, and if the cost of extracting it out into its own class is too great, then it's appropriate to test. A private method is less likely to be stable and well defined compared to a class or a package, because it's at the bottom of the encapsulation hierarchy, but it is not fundamentally different to other levels of encapsulation, and therefore there will be times when it is appropriate to test.
Location: Greenwich, CT, USA
Remote: yes
Willing to relocate: probably not. willing to travel
Technologies: Python (20 years), SQL (20 y), Redshift (5 y), AWS (12 y), Java (5 y), Go, Linux, Cassandra, Redis, nginx
Résumé/CV: please contact
Email: tropenatt29 [at] gmail

- 20 years experience, primarily data engineering and engineering management at early/growth-stage startups (several exits). Several years each in healthcare, finance, search.

- Open to full-time, consulting, or contract work.

- Formal training in applied math.

- Flexible work hours, can adjust to your timezone.

- Interested in jumping on the Rust bandwagon (not a requirement).
presumably a Stripe service built on ERC20 would support stablecoins (DAI, RAI, USDC), which will be pretty central to many crypto-commerce businesses. there is no greater fool in these closed systems.

source: I am selling art prints via stablecoins as a payment option for interested customers, but I’m manually handling the transactions, invoicing, and accounting (Stripe crypto could be an option for a small business like me).
You're right... but as soon as you drive one of those saabs you realize just how wrong you actually are. Its the most beautiful ugly car I've ever had.
Amazing. Of course I've heard of Kernighan long ago, but this is the first I've heard of LKH.

I did a lot in optimization, in my Ph.D. studies and in my career, but I dropped it, decades ago -- my decision was made for me by my customers, essentially there weren't any or at least not nearly enough that I could find.

Actually, my summary view is that for applications of math in the US, the main customer is US national security. Now there are big bucks to apply algorithms and software to some big data, and maybe, maybe, there is some interest in math. But the call I got from Google didn't care at all about my math, optimization, statistics, or stochastic processes background. Instead they asked what was my favorite programming language, and my answer, PL/I, was the end of the interview. I'm sure the correct answer was C++. I still think PL/I is a better language than C++.

Early in my career, I was doing really well with applied math and computing, but that was all for US national security and within 50 miles of the Washington Monument.

Now? I'm doing a startup. There is some math in it, but it is just a small part, an advantage, maybe crucial, but still small.
Germany actually is one of the few countries in Europe that has a truly free Autobahn network. Most countries around it have tolls on highways.
It’s not?
What bird creates its own perch? Or uses sticks to get to food?
I'm going to try this, as well as other suggestions here across a range of cloud-ish RSS readers and have a shoot out! It's going to take me a little while since it seems Feedly at least does not crawl very often, but I think a little experimentation here would make for an interesting follow up.
A repaired device is one less device sold new. At the end what matters is money.
It’s also built into Nim, for what it’s worth, though I do think D’s handling of C++ is more ergonomic.
I appreciate your continued feedback!

My content is not unique. That is not our goal either. Our format and simple learning process is unique. It aggregates and simplifies useful authoritative knowledge and presents it in a simple, convenient, quick format.

You can get in your car, spend some of that cheap gasoline, go to the vet to buy commodity pet products like shampoo or tick and flea preventatives. Or you can take 2 minutes to go on Amazon which sells the same commodity products, but it is easier, simpler, faster and more convenient.

You could search for basic pet supplies at a brick and mortar pet store or you can go on Chewy.com. By the way, they said Chewy would never be able to compete with Amazon. Well, they have kept growing revenue non-stop for years and now trade in the New York Stock exchange with a $16 BILLION market capitalization. Just a pet supply store with a website... Unique? How are they unique compared to Amazon?

But sure, a lot of people will drive to Wal Mart to buy stuff they can get in 2 minutes from Amazon. The market is big enough for everyone.

I think some people like you will prefer to browse and passively consume scattered information on the web. I also think other people will prefer to take 5-10 minutes to learn through a short interactive quiz that removes all complexity and solves the lack of knowledge in a simple way.

By the way, at the end of the quiz, users can download the test questions and correct answers as a PDF. In effect, the $5 you pay include a PDF that tells you all you need to know about toxic fruits, vegetables, edibles etc.

Any feedback?