skysight-inc/HackerNews huggingface dataset:
> Perhaps the most preeminent example would be pointers in C++ - which we generally know to use with 'smart pointers'.

Smart pointers are nice and all that but I have yet figured out how to mix them with code which doesn’t use them which is like 99.9% of all library code.

Not to mention that interfacing with C code (like python extensions) are basically impossible unless the calling code is responsible for the object lifetimes. I don’t know how language de jour deals with this C interop but have read it is a pain point almost universally.

Even some of the newer languages I see posted here have manual memory management as the default.
This is one of the main things we cover in all of our security awareness training. Yes, breaching data is worst case scenario and can be devastating to individual users, but it’s often the brand that takes the hardest hit.
I am pretty sure I started watching this a while ago but never watched it through.

His index/match formula usage is great, I always hated how vlookup is so fragile and confusing... learning something new from something so old.

Thanks for reposting!
> 'smart pointers'

I tends to avoid smart pointers.
There are too many variants, supported in different c++ version.
Can't reasonably track which one is supported in which compiler
Population booms overwhelm schools in the West
I see your point that there's no way that weight levels are entirely predetermined by genetics. To your point there are various cultures around the world who suffer more or less from obesity.

I don't understand this genetic determinism of weight to be the claim of Set Point Theory, which to my understanding is involved in energy homeostasis, which you acknowledged. Your body sets your metabolism, and it can tune it up or down. There are homeostatic processes in place such that your body "knows" whether it is underweight or overweight.

I'm not sure if there is a more specific objection you have to set point theory. It certainly has its limitations as to what it can explain, but it seems to be a useful concept or model.
When the package changes, I always assume the quality went down, if I even recognize it after the change.

Young people with 20/20 vision must be behind these stupid changes.
> Whereas users, and Google absolutely has the data for this, are probably mostly using bluetooh ear pods or headphones and so Google knows real users don't care.

Well... what it really means is most users don't care but that also means they probably don't care (at least not directly) if there is a headphone jack. Those who are using headphone jacks regularly absolutely do care though.

I'm not suggesting they haven't done a lot of market research here, I am sure they have. What I will say is that they should be careful of frog boiling themselves out of a market. Having a headphone jack is one of those things that differentiated the Pixel from an iPhone. Sure most users who prefer a Pixel to an iPhone probably won't jump over this one specific thing.... but the less differentiated they become over time the less sticky customers looking for something different to iPhones will be for them, and this won't easily show up in market research because they are asking things like "If we remove feature X would you buy a different phone? What if we remove Y?" but may not be asking "What if we remove X and we remove Y?"
Rightfully so. They’ve been completely silent on the GitHub integration and when it might be restored. It’s also extremely difficult to migrate off of Heroku. It’s either stay in Heroku and hope it doesn’t implode further, or higher a DevOps person to wrangle K8s on GCP or AWS. It’s a nightmare and there really aren’t any alternatives to Heroku (I don’t care what anyone says about render or fly. They aren’t there yet).
I'm the opposite. I'm sick of subscription service fees, and would much rather pay per view/listen/read.

I'm also annoyed I can't get a cell plan in my country that just charges me a flat rate per GB of data I use. Instead I pay a flat monthly fee that includes "free" call minutes and messages that I never use.

In both cases I'm sure I'm overpaying and cross-subsidising people who consume a lot.
You measure productivity by output divided by time, eg. 10 items produced by hour. If output was the same during lock down, but worked time increased, then productivity decreased.
Having a billing limit is important to me as I don't want to risk unbounded costs for personal projects.

> we'll just suspend your apps when the credit runs out.

This sounds great! I've looked at Fly.io before but didn't realise this was a thing so didn't go past looking. I'll definitely give Fly.io a test run now. :)
Not really, no. If you're being chased by a dragon that is obeying the speed limit and you need to go slightly faster to outrun the flames, you can make that case in court.
This is a nice example

https://www.3dorderbook.com/
Personal work helped get me hired to my first job out of college.

In my latter years at college, I spent Summer & my spare time contributing to the Bugzilla project. My work on that project, and my involvement in the project's IRC, caught the attention of someone who worked at the company which eventually hired me. They were looking for someone to take over admin of their Bugzilla instance (a very large, customized, private installation). The work I did was enough for them to hire and relocate me from Ohio to California.
Unless you then try to hook that Denon up via HDMI to an LG TV - eARC won't work.
We're looking at a simple Lift & Shift to AWS. We're building our next product on AWS, so makes sense to move everything there, and the agency that we have doing the 24 hours monitoring runs a bunch of rails apps on their AWS stack so they've got everything in place to do it pretty simply.
A macOS bug could have allowed for a serious phishing attack against users
Switching jobs is not "very low cost" at all. It's a huge pain in the ass, even if you don't count interview prep.
Yes, .eu is a ccTLD. "EU" appears in ISO 3166-1, a list of codes for countries and other geographical purposes, under the Exceptional Reservations category. TLDs in use on the basis of an entry on ISO 3166-1 are known as "country code top-level domains," even if the use of the word country is ambiguous or administratively incorrect.

For example, no one (well, perhaps we should say few) would argue that the United Kingdom of Great Britain and Northern Ireland is not a country, yet it operates ccTLD .uk which is not a country code assigned to a sovereign entity. GB is the country code for that country; UK is an exceptional reservation.
On a similar note, you can flash your pixel devices from the Google website: https://old.reddit.com/r/GooglePixel/comments/raxrjg/til_you...

You connect your phone to the desktop via USB, then navigate to the specific website. Then it uses a Web API to talk to the phone. I'm not sure whether it uses privileged access though.
Ask HN: What is ur take on SaaS as a biz model on a builder than on products?
The idea is basically you are subscribing to that person(builder) where you get access to all the products that builder built it for free or based on whatever the terms.

I see something like this on Github where developers sponsor other developers to contribute to open source projects.

What if the same business model is applied to consumer products? (This may sound stupid, but I'm going to ask anyway)

It would be great if you share your thoughts from builder's POV and consumer POV?
This reminds me of a thing I do when I prepare for a cold shower. I rhythmically start walking in place. Just moving my weight from one foot to the other at a constant pace. At the same time, I breathe in and out at the same pace.

I've noticed this helps me take the shock of the cold water so much better. I feel like it helps my emotional mind latch onto a simple task. It's like when you're air drumming and you nail all of the parts in a song and you feel great because there's something so satisfying about your mind predicting an outcome and then that our coming happening rhythmically. I feel it's the same but on a simpler scale when doing my steps and breathing.
It definitely looks like with this one at least you could make it ortho
As long as they don't lose the Colonel, they can't screw up too bad. And since the actual Colonel Sanders has been dead for years and replaced by a cartoon, he's now immortal.
Knowledge something will fail eventually, and knowledge of exactly when it will are entirely different propositions.

The market can stay insolvent longer than the investor.
Yeah, scanning a shelf, I would assume that the redesigned package was one of those internal brands with very generic package design.
Extremely brave comment. Thank you for your service.
I wrote a sibling comment about some web app fundamentals posts I've put together, but fwiw I've also got some resources on debugging as well. This is another topic that seems to be rarely taught, and people just have to pick it up through hard-earned experience.

I did a presentation last year that provided some general guidelines and suggested approaches to debugging, as well as specific info on the standard controls used in GUI debuggers and tips for debugging React and Redux:

https://blog.isquaredsoftware.com/2021/06/presentations-debu...

I also have a prior post where I gave some general debugging tips, and wrote up several "war stories" of weird and difficult problems I've debugged:

https://blog.isquaredsoftware.com/2019/01/blogged-answers-de...

You mentioned "trace", and I'm not sure if you're referring to "trace a request as it gets passed through multiple services", or just "trace data flow on the client side".

The other resource I can point you to: a couple months ago I joined https://replay.io , and we're building a time-traveling debugger for JavaScript apps.

The basic idea of Replay: Use our special browser to make a recording of your app, load the recording in our debugger, and you can pause at any point in the recording. In fact, you can add print statements to any line of code while debugging the recording, and it will show you what it would have printed every time that line of code ran!

See https://replay.io/record-bugs for the getting started steps to use Replay, and https://docs.replay.io/docs/examples-d25ae319114e4d109022458... for some videos and examples of using Replay to solve problems.

We're working on additional features to help with debugging apps - we already have the React DevTools integrated into our debugger, so you can inspect the component tree at any pause point, and over the last couple weeks I got the initial alpha implementation of Redux DevTools integration working as well. (Long-term, we'd like to integrate _all_ major framework-specific DevTools as well.)

Beyond that, we also spend a bunch of time helping teach people how to debug in general, specifically _because_ that's a thing that is so rarely taught.

If you've got questions about Replay, or just want to chat about debugging approaches, come by our Discord at https://replay.io/discord and say hi - we'd love to offer suggestions!
If a company acquired another company to stifle competition, that’s usually bad. In every other case, it should be good. Many companies simply would never form if the opportunity to get acquired didn’t exist. Some are only able to reach scale by combining with a larger company, or with another product. And sometimes, an area of the market is oversaturated, and even reducing competition can be beneficial to consumers if it means a more sustainable outlook for firms, industries of scale, or clearer choices.
His brain cross connects with honey bunches of oats and still thought he was looking for cereel I guess?
I'd argue it's the exact opposite - the best of both worlds. But it is what you make of it.

The poster child of gradual typing has to be TypeScript, and it's been a wild success. TypeScript allows gradual implementation to any JavaScript project and there's almost a million small different gradients you can use. From simply using a js file, to noImplicitAny, to simple types, to using complicated built-in types (eg Partials).

With TypeScript, you never lose the speed of dynamic typing. The whole point of gradual typing is you can jump between more and less types, so at no point are you restricted from reverting to full dynamic typing. And it is true, you can't rely on all types being checked, but the point is you add it to the important/stable bits. And having your largely stable important bits being typed while your more experimental unstable code can be dynamic (while still getting the benefit of consuming the stable types) is a nice place to be.

As I said, it is what you make of it. If you spend all your time typing the unstable bits and leave the stable core bits untyped, well, you've just wasted your time and would get the worst of both worlds.
Do you understand what “not at all” means?

If they did part of the work, then clearly it is “some” work, and not “none at all”
It does almost crash at one point and he says he might have to restart LOL
"reconnect with existing consumers and reach out to new ones" is management consultant bullshit like "leverage our synergies to enhance the client experience". It means nothing. TFA did not explain anything.

You also don't "reconnect with existing customers" by changing the brand.
I've watched my parents pensions get wiped out twice. IIRC the first time my dad withdrew a few decades worth of pension and bought a pair of boots.
It's been interesting to see alternatives like the one described in the article pop up. Another popular one is property - employees might club together and purchase a small flat every N months and each own some shares in it. Then there is the ever-favoured cash/gold under the mattress approach...
Dream of Reaching Near Space with Raspberry Pi
That was over 10 years ago, a mistake which the company has shown no signs of repeating.
In the US, at least the 433 and 915 MHz, and of course 2.4 GHz, bands are unlicensed and widely used by all sorts of commercial, industrial, and DIY electronics. All my wireless temperature sensors in my house are on the 433 MHz band, my natural gas meter speaks (ERT) on 915...
> Denverton is actually a very interesting platform for the wattage - that’s 16 Goldmont cores in a 32W package

That's pretty neat, but I'm thinking about, say, a 60W-95W package that would make sense in a normal desktop.

How many E-cores could you fit in such a package? For highly-parallel workloads, would it stomp all over anything else on the market? (I'd guess yes)
Not bored as much as "I need a big project to parlay into a VP/Executive role"
The WebAudioModules (WAM) have some very cool demos if you're into music: https://www.webaudiomodules.org/wamsynths/

I've been learning tone.js as of late
And the enter key. I'm betting on key combos for them.
First two things that come to my mind are limitations of OS when it comes to memory address space and need to easily display documentation.
True, there might be tax reasons too even if they don't care about KYC.

Although most miners will know people who they can trade face to face with if they don't care about taxes and don't want KYC.
Let me recall how I learned back then because it's an interesting contrast. Magazine subscriptions (like Byte). Books from the library. Word of mouth (friends, computer stores). Television - there were a few like Bits and Bytes and The Computer Chronicles. And just hands on. A computer club if you were lucky!
This is really cool. I'd love to see more devices like this. As I don't exactly have the resources to build one on my own, I'd also be interested in the opportunity to buy one.
What condition do you use for determine split horizon? Client IP?
Rising energy prices are good for renewables, not bad. A rise makes renewable infrastructure more profitable just as it makes non-renewable infrastructure more profitable. Thus, renewables get even more competitive to non-renewable alternatives.
I'm not saying that everyone must behave the same way, I'm saying that capital L Liberals here are not really that different from capital C Conservatives in any way except degree. Both would rank as lowercase c conservative compared to most of the rest of the West and both have this mindset that I have only really noticed in America.

I specifically am not using Republican and Democrat because the parties are not really important to the point. Libertarians and Greens also have this "imperfection is worse than nothing" mindset.

An example where Liberals needed to relax and not let perfect be the enemy of the good was the 2016 presidential election (and almost 2020 as well). The number of people who said things like, "I know Trump might win if I don't vote for Hillary, but too bad!" was so high that it actually happened.
It could pair perfectly with screen glasses like these:

https://news.ycombinator.com/item?id=31393483

You could even drop the built-in display. I totally see a future now where I’ll have a screen-less MacBook with a pair of glasses like these for on the go and plugging into a monitor at home/work.
Like I said, Societal modelling is a funny science. These things are really dynamic. I can agree with your points that there is a lack of affordable housing and that common workers are underpaid, but at the same time disagree with your conclusion that allowing free migration will makes matter worse.

In fact a plausible dynamic is that seeing the potential surge in the demand for cheap housing, a developer might seize the opportunity, lobby their local government for more liberal zoning and start building small and cheap housing to be rented mainly to temporary workers coming with free migration. A more plausible scenario is that migrants will choose to delay their migration until they have secured a high enough paying job and housing they can afford. (Maybe they will get a job in the now booming construction industry.)

There are similarly complex dynamics with the labor market, perhaps the surge in new workers will push further unionization and actually increase the wages. Or—more likely—xenophobic politicians will fear the surge of migrants, and as a counter measure raise the local minimum wage, thinking that saturating the labor market makes is so companies won’t be able to afford migrant workers.

The point is, we don’t have any reason to believe one way or the other These models are complex and it is probably impossible to construct an unbiased one. As it stands we can only look at the evidence from history and current examples. And they do seem to indicate that the worries people have of free migration are not justified.
Neural Search for Tattoos – An open-source project
> Disclosure: I hold short positions in companies mentioned in this article. This is not financial advice.

Hmm. Well, on the one hand, he is putting his money where his mouth is. On the other hand, this could be prime evidence of motivated reasoning. The author has also submitted his own article to HN it seems. Reading the analysis, it makes sense, but I'm not experienced in analysing company financials. Other people I respect/trust who have a good track record don't feel this way about the companies in question.

I think, in general, shorting volatile assets is a pretty fraught undertaking. There could be a Gamestop style short squeeze fueled by Crypto bros for example. There could be a purchase announcement that could spike the price. ARK could decide to buy a large stake. All these things could lose you a lot of money for 'no good reason'.
In my experience, i have only had 1 corrupted SD card yet - after running about 5 Pis any given time for a few years now, starting with a 2b iirc...

Running HA, Pi-Hole, OpenVPN, solaranzeige.de, piVCCU, piCorePlayer, BirdNET-Pi, OctoPi/Klipper (2x), Pi1541 etc...

No. single. failure. yet.

The corrupted SD card had me baffled for a while as randomly some binaries would get corrupted (like php, which would throw random errors, files of a Grafana install would end up in lost+found) - the cause?

Me, using a spare Apple iPhone charger (1A) to power the Pi - haven't had an adequate power supply around at that time..

As a rule, i use 5V PS with at least 2.5A with the Pis and (almost) never had issues like the Raspys complaining with that rainbow colored box (or "vcgencmd get_throttled")...

So, yes, getting a good power supply (well, one that can supply 2.5A++ - if these are really good (as in "noise free") is another matter, which i've discovered with my BirdNET-Pi now) is key for the longevity of your SD card!
I visited Sri Lanka as a tourist last weekend. Some thoughts here
Ah, the title is truncated

non-electronic computers that work when you color them according to a simple set of rules.
It was more important for later jumperless PnP cards with a non-PnP BIOS.
Show HN: Sales and Marketing for Startups
I stick to stores that I can trust. Costco very much can. Walmart maybe. Amazon nope who knows what your actually getting.
> One possible example would be Scotland voting to peacefully leave the UK. It's very possible the UK would change its name after that, since it's not really the union of those two kingdoms anymore.

It's the United Kingdom of Great Britain and Northern Ireland. Scotland is part of the former bit (Great Britain) alongside England and Wales.
I wish security trainings didn't do that. I always find it appalling that "the brand" is pictured as of comparable importance as customer data.
This. I've had a very real situation with DataDog: I've accidentally created a Synthetics test (and forgot about it) on a test account and incurred $5k+ bill at end of month. Zero notice or anything.

I ended up swallowing the bill but will not be using them again since this is plain scary.

Edit: funny thing - to add insult to injury, I've started to hear from their sales people on "my growth plans", even though I've had a support ticket hoping to resolve this to no avail.
RandomX has some mechanisms to discourage cryptojacking botnets: https://github.com/tevador/RandomX#does-randomx-facilitate-b...
> May I ask whats the equivalent for it in Chrome as majority of users are on Chrome for me.

I think for Chrome it's under devtools: https://developer.chrome.com/docs/devtools/storage/cache/

> what you say can even be done with the service worker API I mentioned above

Well no, because service worker API is going to be subject to the same security policies as any other site.

If I understand what it is you're asking for, you want the Web-equivalent of doing something like doing overnight pushes of software updates to the enterprise.

I don't know your environment, but you might be better off solving this by pushing large cachable things to edge caches closer to your users.

If they're on the public internet, then caching resources out of a public CDN might do the trick.

If they're on private networks in offices, then perhaps deploying something to those offices to serve local cache might work.

You don't necessarily need networking magic to make this happen - a service that can locate your users, and then issue HTTP redirects to a local cache server could possibly do it.

eg: call https://cache-main.example.com/some/resource.js, the server does a geo lookup on my IP, and issues a 301 to https://cache-some-remote-location.example.com/some/resource...

Trying to automate things like updating a user's cache directly in their browser seems like a major pain. How do you handle them not being logged in/sleeping/having multiple browser profiles/etc etc etc.
I don't disagree with that in any way. My point was that "super-fast-reacting thing makes obviously intelligent slower thing look foolish" is both an incorrect and odd conclusion to close TFA with.
There you go. Exactly what the commenter said. Disagree in any way? Get labeled as "white supremacist" "conservative" etc.
Tims has gone downhill since they got bought out by an American holding company.