skysight-inc/HackerNews huggingface dataset:
"Checked C introduces three varieties of checked pointer:

• ptr<T > types a pointer that is either null or points to a
single object of type T.

• array_ptr<T > types a pointer that is either null or
points to an array of T objects. The array width is defined
by a bounds expression, discussed below.

• nt_array_ptr<T > is like array_ptr<T > except that
the bounds expression defines the minimum array width—
additional objects may be available past the upper bound,
up to a null terminator."

It's not hard to do this if you retrofit checkable array types. I've proposed that myself.[1]
The trouble is, you've created another C variant, one with checking. There are many of those, and none have caught on.

[1] http://www.animats.com/papers/languages/safearraysforc43.pdf
Gardner for me. Fresh air everyday and making things grow.
Getting high-level understanding of anything first and then looking and retaining details if required. If not required or not relevant, focusing on things that matter. If forget, revisiting it again (easy when you have high level understanding already).
In the FIRE community, this kind of topic often comes up. Are there any enjoyable full-time or part-time jobs to do in semi-retirement?

Invariably, the conclusion is that low-wage or part-time jobs almost always come with enough baggage to outweigh any perceived benefits as a semi-retirement gig. A job is a job -- anything that produces a consistent income is going to involve dealing with unreasonable people or expectations or situations. [0] The most efficient path is to get into the most lucrative role possible early on and simply do that until you don't need to work at all anymore.

If you like carpentry or machining or driving around or landscaping or gardening, you're going to enjoy these activities a LOT more if you're doing them on your own terms in proper retirement for your own satisfaction. As soon as someone else is paying you to deliver these types of services for their benefit and not yours, you're in the same situation you're in as a software engineer, just with far less income and thus less potential to ever truly retire.

[0] I'm sure some "unicorn" jobs do exist. So I'm speaking in generalities here. There probably do exist some gigs out there that are genuinely great for semi-retirement; they're just going to be surprisingly difficult to find, they may not be stable over a long period of time (decades), and it may not be possible to find one for yourself.
What kinds of sketches do you draw?

Try to write pseudocode for the critical parts so you can test your design before you write code.
If this is a reward or payment for services, it is taxed as regular income, not as an investment. The FICA tax (SS/Medicare) will either be payed by the payer (shown on W-2) or the payee as self-employment tax when filing a Schedule C.
I have mentored for SCORE which is small business advising and is pretty old school, but they no longer push for business plans unless the client is looking for
a bank loan.

Instead, the choice of a lean business plan (business model canvas) is also offered or at least talked through. Someone has an idea but isn't sure what to do next. Well a business plan can just be the very essentials (who do you plan to serve and how... what are you planning on actually doing and can you afford to do that)
This is why I like frontend development - you get to see the results of your work.

It's satisfying to start with a blank screen or perhaps a times new roman mess, and leave it as something that looks great and works well.

Backend development can sometimes be a tedious death march where all you get at the end of the day/week/sprint is not-an-error or perhaps just wiring up RPCs, or maybe if you are very lucky upgrading to a new point-release of a library with no other visible changes. Don't get me wrong, refactoring and fixing backend bugs can be satisfying, but I often find it is not as genuinely enjoyable as being able to actually see the results of your work.
A wounded combatant who could benefit from medevac is no longer a (edit: combat) asset to their fellow combatants, but is someone who may need one or more other people to try to keep them alive, or more people to carry them to a safer location. Their wounds or injuries may prevent the group from moving as easily.

In the cold calculus of ground warfare, a wounded combatant in the field is more valuable to the opposition than a dead combatant precisely because a dead person needs less support from their fellows. Rapid medevac has changed the historical wounded:killed ratio from about 3:1 to about 4:1 in recent US ground wars. Getting a wounded combatant to definitive medical care in the first hour after
they are injured makes a huge difference in outcomes, which benefits troop morale.
How does this refute the argument that you can use it, for legal purchases, in El Salvador?

Also this doesn’t really apply unless you use the custodial wallet. McDonalds isn’t, and you don’t have to either. If you self custody you’ll be fine.
One thing I've learned about pedagogy is that it's a fool's errand to try to create material that works for everyone, because everyone learns differently. In fact, the meta story here is supposed to be about Liz and Tim having different styles of learning -- Liz learns by exploring off the beaten path, while Tim prefers to stick to the course content. Neither are wrong.
One summer in college I worked with my Dad as a timber faller. I had the luxury of getting paid for writing software before that (being paid to learn). On one hand I enjoyed the work… I was outside, getting great exercise, and I gained a ton of respect for my father. But by the end of the summer, it became pretty repetitive, extremely hot, and I was physically exhausted every day. Nearly 20 years later, when I feel like I am burning out for whatever reason, I reflect on that one summer and ground myself a bit. I have it really good. I’m extremely fortunate to have found interest in this world at a young age, and even more lucky to have hard working parents that supported my interest.
OH COOL!! I was just skimming and didn't realize that that INCLUDED the pair of Mitutoyo digital indicators -- THAT actually makes it quite a bargain! (Do you manage to get a substantially better price buying them in bulk?)

Also excellent news about the ability to work stand-alone / no connection!

thanks!
Google's advertising business is really profitable so anything else is secondary. Amazon came at it from a business angle. They had a ton of spare resources that they only needed once in a while and figured out a way to make use of them.
How long until JavaScript breaks?
They didn't realise it was a high margin business until AWS numbers were reported separately.

A lot of people used to think that Amazon.com was subsidising AWS. Financials from other VPS providers suggested this to be the case.
Which you are wrong about in this case, however, because this was a people’s initiative brought by various health- and youth-related NGOs and actually opposed by the majority of members of parliament and the government.
It is not a contrarian view on HN.

That's one of the problems with asking people for their "contrarian views".
Horrible way to write, so many unnessecary words. Not for me.
I personally just hated the long-form-journalism style of "okay, at the start, you have to wade through a ton of irrelevant crap about the settings and the coil-bound notebooks they're using".
The amount. A real example is CNY, which is limit to 100 yuan notes, deliberately to make it hard to move large sums.

1000 USD bills exist but are very rare. 1000 euro note exists but I think that’s on the way out.

Your point that cash is censorship resistant is good, yes and we need to make sure it remains, however the physical limitations are defacto censorship.
Maybe not eliminate them, but they won’t be able to use the money printer as they please, effectively funding things like forever wars.
That was fun, but more about Linux than ports in general. I was expecting something more along the lines of a computer checks the port of every incoming packet and if it matches something it is expecting it does something. Though this was much more interesting, and now I'm curious about even more specifics of how Linux handles this.
Certain alcoholic drinks such as beer are legal to buy at the age of 16 in Switzerland. So the law actually says you don't have to be an adult for that.

Same with tobacco although the age for buying tobacco is not regulated federally but on a state level (So it different in each Kanton (state) either 16 or 18.)

>Protecting kids from alcohol is a no-brainer.

That is true and mostly anyone would agree but "kids" is undefined in this statement. Clearly the law in Switzerland does not think 16 year olds are kids but many people would disagree with that.
It just proves that particular project had an exploit and a decent bug bounty program. Its nice that this person used the bug bounty program.

Other organization bounties should go higher. Especially Web2 ones.
What software are you using to work with org-mode files on your phone/iPad?
>The truth is that there is no way you can fight a clean war. Having all these talks about “rules of war” just puts lipstick on a pig and makes a queasy public more willing to go along.

If you don't want the other guy to gas your troops, you can agree to in exchange not gas their troops. There's nothing artificial or contrived about that.
Crypto has always been about centralization. It's how the VCs make their x10000 return.
Amazing project. Poor marketing. Authors should put in huge bold letters: no in app purchase, no subscriptions, no spying on you, just pure joy of gaming.
I feel like a lot of replies like this assume that everybody is an upper-middle class white kid who hasn't had to shovel shit before. I've had a lot of much worse jobs than being a mechanic; jobs where I looked up from what I was doing when the mechanic walked in with unbelievable jealousy.

I'm counting the days until CoPilot suddenly turns a bunch of John Galts into Ragged-Trousered Philanthropists, but an additional effect is that a lot of people are going to notice that most programmers are at exactly the same professional level as other tradespeople, the difference is that since we're riding a wave of financial scams and deregulation that require the internet and cellphone apps as part of the grift, we're showered with cash. There will be a oversupply of programmers that plumbers will be laughing at.
I read somewhere that somebody did some study with god knows what methodology (people like to use current-world HG communities, not representative of ancestry) and decided that our ancestors walked about 12mi/day. That's about 3-4h of walking daily. We have like 280k years of that selection criteria. But also we came from apes, so we're sorta shitty at this upright stuff.

An aside: I also just loathe ergonomic design, I'm never comfortable in anything other than a recliner or laying on a couch or bed. I'm wholly convinced that chairs are the way they are because "they've always been that way" with tables and desks following suit. It's unfortunate that better designs haven't caught on, aren't readily available, and tend to be inordinately expensive. What I'd really like to see is a practical true to form holistic ergonomic design instead of this weird traditionally inspired clusterfuck with its productivity centric model.
The confounding variable is how developed a country is.

It negatively influences both stork pairs (storks in Europe mostly live in old-style individual farming countryside) and birth rates.
My source is the fact that I have yet to hear anyone successfully articulate exactly what makes human "humor" work
I've used Hop too. Transfers are naturally limited to however much liquidity Hop has, though.

Edit: Sorry for being disingenuous and unnecessarily curt in my reply. I didn't mean to. I'm in some kind of weird zombie mode this morning.
> a lot of people are developing extra things you actually can do with them

To be clear, the “thing” in this instance is NFT staking: a ponzi upon a ponzi where you buy a NFT and then lend it to a platform, which pays you fees. Platforms can advertise ridiculous yields (200% APY) because deposits go right out the door again as fees to people higher up in the pyramid.

https://learn.bybit.com/defi/what-is-nft-staking/
Had to read quite a bit before getting to the core insight:

> “So when you listen on a port, you’re really listening on a combination of a port, an IP, a protocol, and an IP version?”

> “Yeah, unless you listen on all local IPs. And if you listen on all IPv6 IPs, you also listen on all IPv4 IPs, unless you specifically ask not to before you call bind.”

> “Right. So the operating system must have, like, a hash map from a port and IP pair to a socket, for each combination of TCP or UDP, IPv4 or IPv6.”*

> “To a list of sockets”, Liz corrects. “Remember how I could listen on more than one?”

> “But it also has to handle listening on all ‘home’ IPs, and to be able to find a socket listening on IPv6 from an IPv4 IP.”
> Next recession you'll see people return to the office for at least 3 days/week

Next recession you'll see even more companies go remote as the recession forces cost cutting and rent/commute and their related insurance costs are cost centers that can be removed.

Remote working is a cost cutting measure. Only those companies that can afford to return to the office are doing so.
> After using Instagram a bunch, I found the targeted ads got pretty good

I really hate admitting this, but it's been very true for me. I've come across some legitimately helpful stuff that I would never have sought out.
Well it will probably be an arms race between time, money, and efforts to mislead all data aggregation. Dealing with paid ideologues will be more difficult and harmful. With the past years hacks I don't see our databases being free of fouling.
> They pay people to promote their stuff.

That sounds plausible. Do you have evidence they do it more than any other large consumer-oriented company?
You are wrong, but that's what happens when you project your biases and assumptions.

Perhaps try to avoid treating the other person as an adversary when they don't agree with you
Ask HN: How to avoid career stagnation in my 20s?
I'm currently approaching year 2 of my current job and have been in the industry for about 5 years since I graduated with my masters in comp sci.

A couple years ago, I did the leetcode thing to get cushy pay and worked really hard for the first year and a half. I'm now extremely bored and realizing all I'm doing is pushing Kafka messages and writing Java micro-services, leaving me with this daily existential dread of not advancing my career or knowledge.

Despite spending a lot of my time reading, learning and admiring tech, I'm sitting in my office wanting bigger and better opportunities so I can grow into a solid engineer. I've never had a mentor and despite seeking out mentors, I'm not sure how to really go about finding one that can provide guidance like this. I want to have opportunities to dive deep and become smarter, but realizing I don't really know how to best go about this.

Money isn't everything, however, I do still need a job to keep me afloat as my partner and I live in a high cost of living area (for her job).
It's the opposite. Here's one of the tech influential thinkers literally opening his mind. But, no, we have to hate him and cancel him and pitchfork him.
> I bet next recession companies extend their life by ditching the office and in extreme cases laying off staff and replacing with staff from lower cost of living areas who can work remote.

Bingo. Remote working is a cost cutting measure. Only those companies that can afford to return to the office are doing so.
No doubt. I think that sitting in room all days drags on some people the way climbing up a pole with equipment all day might drag on another.

And sometimes you just want something radically different. But don't pretend it's simple enough that we - the brilliant computer and maths people - could easily just start doing it. I think that's where the patronizing comes in. Any professional job requires training and experience.
If you’ve cracked Monero encryption or have a general deanonymization attack, you should submit a solution to the IRS’ multi-year, $600k bounty.

There have been a few instances of specific payment patterns causing de-anonymization (which just means payments are correlated and identified as not-spoof, due to the way the Monero blockchain works). But to be honest if you think Monero in general can be broken you probably don’t know how it works well enough to make that statement.
We are all here because some rich people are here and we believe in cargo cults
One thing I think should be made clear, that I don't think the author spells out for people who just know war by book, is that enemies frequently don't respect that red cross. In fact, like a swinging radio antenna from a backpack, it is a target and tactical advantage to pin ambulatory vehicles - whether they be airborne or land-borne. Some of this probably has to do with some knowledge that foremost military institutions will prioritize evacuation of injured and casualties at a high threshold in the face of their own safety.
I personally believe in statistics and I believe you cannot use them to make derogatory generalizations. I mean racists REALLY love to pull out crime statistics out of their pockets in justification of their views. And, frankly, its not about my beliefs right now and enforcing of societal rules, its about you making derogatory generalizations and thinking that its okay, because "statistics" and because you've said sorry.
The structure of something like GPT-3 is far too weak and general to achieve good results for something as structurally complex as music. It's designed to generate text - and then mostly natural language text. Music is very different, as OP hints in the linked post.
Sort of, Helium no longer sells hardware and the community votes on third party manufacturers to be approved for authorization on the Helium network. This has helped distributed hardware delivery more than any single organization was prepared to do, with the semiconductor and supply chain issues.

There is definitely an opportunity to sell overpriced hardware into the community then.

There are some other antenna-blockchain systems out there that look more like "schemes to sell hardware", such as Match X. There is a big and burgeoning market for these "passive income" things, people install hardware to earn a cryptocurrency.

It is definitely worthwhile to sell the hardware if you can.
> My worst such shelved toy turned an org-mode file in your project repo into Kanban board, locally editable in the browser using a websocket to running Emacs server. Spent weeks getting it to sort of work.

This sounds interesting. Have you posted the source/repository for this somewhere?
A bunch of them are and more are working on it. Here are some non custodial crypto to crypto ones: https://wiki.ion.radar.tech/tutorials/lightning-exchanges

And here are some traditional ones: https://github.com/theDavidCoen/LightningExchanges
I feel like cashapp, PayPal, and venmo work pretty well
I'm going to save you some money. What really works well and better than taking NMN orally(), eat a natural clean whole food diet (no pufa's or processed food), no alcohol or smoking and walk or do some sort of light exercise for about 30-60 minutes a day.

I am willing to bet it will do more for you than taking NMN.

Peter Attia has discussed this with folks who know a lot more than Sinclair and they have concluded there is no evidence it works. The number one thing you can do to extend lifespan is exercise.
Uh? This is "ancient", like from 2015 and they state that they have more than 500 in stock.

Should be easy to find reviews, videos etc to learn more.

Really feels low-risk unless I'm missing something major.
Yes, freedom means everybody is allowed to do whatever they want, even if I don't personally agree with their actions and even if some will elect to do stuff harmful to themselves.
Nobody wants a corporatecurrency

And there is no human coordination mechanism without the freely convertible currency

Blockchains provide the open source rails of all the account management and distribution, easing development costs. The infrastructure is already built compared to alternate ways of attempting to do this

have fun doing that without a blockchain
Well I wanted to be a friend. They were cool to me, I was cool to them. It was all in good jest, with a bit of truth. ;-)
Same, but tic-80 instead. :)
Ok, I didn't realize this aspect of the story, this is actually pretty cool, I agree.

I also like that the story encourages experimenting and testing out your mental models, like Liz did.

It's just the particular way they discover things that feels forced to me. The story is all about them coming to their own conclusions and thinking up their own experiments, but - it being a story - you know, it's actually all guided beforehand.

Maybe what irks me is that this concept of a character discovering "on their own" some ostensible deep truth (which is really just the author's personal opinion about something) has been used for a lot of worse reasons in other stories - even though, in this case, the "truth" is perfectly harmless and beneficial.

Anyway, it's always easier to criticize than to create, so I won't say I really have better ideas of how to do it.
Sure, but the point still stands is that people seem to be yearning for an alternative to computer-only work, and there are perhaps more feasible alternatives out there to the Office Space ending ideal.

As far as training goes- software engineering doesn’t seem particularly rigorous in providing it compared to other disciplines.
The regular journalling with a notebook was really interesting, as it's a habit I've been trying to implement. I've been trying to do interstitial journaling [0] by writing down the time, noting energy levels, and listing out tasks to complete for the next 90 minutes [1].

It's far less reflective than Highsmith's notebook usage, and with a different intent, though it was inspiring to see the pages of notebooks one can fill out across their life, if one chooses to (from the article: "The 56 journals (18 diaries, 38 notebooks) add up to eight thousand pages in total.").

I wonder why she journaled less regularly later in life. Privacy looks like a reason; from the article: "[...] that would also be the last diary entry for seven years. When her lover Ellen starts sneaking peeks at the diaries, Highsmith switches only to notebook entries, which are less personal (and less interesting)." Similarly, I've censored myself a bit with handwritten entries, as it's possible that I might lose the book, or a person might find and read the journal without permission.

[0] https://nesslabs.com/interstitial-journaling

[1] Inspired by Channing Allen's 'Plan, do, learn' loops posted on HN recently: https://news.ycombinator.com/item?id=29841136
It seems an unfortunate truth that moral purity is impossible for the leaders of the largest countries. Every decision is made with complex trade-offs and regrettable consequences even for the “right” choice.
> midway through writing code I start rethinking the design and start over again from scratch

What's the source of requirements you're building to and who verifies those?

If you're creating requirements out of thin air, just so you can build something (eg: you want to learn something) - your current approach is absolutely ok.
I'm not convinced it isn't crypto itself, and NFT is just an extension of that.
This is a good guide written by the co-founder of Stack Overflow.

https://www.joelonsoftware.com/2006/10/25/the-guerrilla-guid...

Tips on what questions to ask exist within this article.