skysight-inc/HackerNews huggingface dataset:
You won't find "eiz" in any Intel manual, and NASM doesn't recognize it either. x86 has no zero register¹.

This appears to be some GNU-specific syntax meaning "encode SIB byte with no index register". The only case where this would be required by the hardware is when using ESP/RSP as a base register, and every assembler should produce the correct encoding for that if you simply write [ESP].

So using "eiz" on GAS lets you control what is put into the (unused) scale field. One might call that a feature, but it is a meaningless encoding detail similar to which variant of "register to register" opcodes is emitted, something that I don't think any assembler gives you control over.

¹ except maybe on the microarchitectural level, but that isn't visible to the programmer
What everyone's talking about here is what is commonly referred to as an ORM by everyone apart from you, apparently.
can you say write me a function that does this with co-pilot?

or what library would I use to XYZ in ABC language?

I'm really asking. I've never played with co-pilot
This my personal opinion and may be entirely worthless. The quality of answers I read in all of the examples posted in that article read like the questions were routed to an offshore boiler room where the answers were crafted by humans. Like some modern day Mechanical Turk. Especially in the 6 eggs example, there is a complete discontinuity of thought across the answers, isn't this within a single session with the AI? To me it looks like different brains answered each question/challenge and seemed to have a bias toward not offending the human asking the questions.

Also, in this example, the first answer of 2 is correct: broke 2 (6-2 = 4), fried 2 (4-2 = 2) then ate 2, which most commonly implies it was the fried eggs that were eaten (2-0 = 2)
That’s because the Android emulator sucks for development.

There has never been an iOS “emulator” for development. When you built your code to test on the desktop, it was compiled to x86 and used x86 version of the iOS framework.

Of course now that Macs use ARM chips, it’s a moot point.
there's another factor: age

If I am a C++ developer, in my late 50s, close to retirement, and know C++ fairly well, don't want to learn a brand new system which I won't be coding in for much longer, and already have my financials all set...

I won't be looking for that early retirement big cash payouts. I just want my flow of cash for a good retirement, to go on my vacations, and to buy gifts for the kids / grandkids.

I'd be willing to settle for a lower pay with low stress and solid job security.

Remember the desires of people later in life and those early in life aren't the same. If you got 10 more years of work left, you don't want to be in a high stakes high intensity work environment. I worked with one such man. He'd fall asleep while coding mid day. Nobody bothered him. He just chipped away at his projects at his own pace and was happy to not be bothered.

Sounds like such a company is looking for a boomer/genx who's still got skills and willing to settle for not being bothered too much.
It's a demand side issue. Most C++ jobs are maintenance jobs. Most maintenance jobs are at low-growth companies who can't justify the TC of engineers at high-growth companies to their board.

There are pockets of the C++ ecosystem where this isn't true (e.g. HFT).

But bottom-line, it's a business thing, not a skills thing. There are also a lot more C++ devs than the zeitgeist would suggest. Far too many to cause a "COBOL effect" where supply constraints on talent dictate market price.
People can hold a lot of cognitively dissonant but valid viewpoints at the same time.

I put effort into my work because taking pride in one’s work nourishes the soul.

I try to meet my manager’s expectations because I know him, he’s a good guy, and I know he’s got my back to the extent he is able to.

I also know that my employer as an entity abstracted through a dozen tiers of hierarchy would feed me and my manager both into a woodchipper if it would increase quarterly gains more than the alternative would.

I work to minimise how much of myself I give to my employer, and maximise how much I give to myself and to the relationships I value (which still includes workplace relationships!).
This can happen. But when it happens, AI at that point has already replaced us.
One of the best things my wife and I did was have a "no phones at the table" rule for ourselves long before our kids were of an age to have a phone. It's made enforcing that rule on our teenagers a complete non-issue now.
You also now know where the show resides. Having your content spread over several services is horrible.

I also think the quality is higher when you have it local, though maybe this is wishful thinking.
Hyundai and Kia cheaped out by not including a couple dollar part that makes it harder to hotwire. Apparently kids can hotwire them with a USB cable because they don't have the immobilizer. It affects several years worth of Kia and Hyundai models.
More complex from a theory view, but not hard. You need a symbol table regardless, and symbols tables are most decidedly not "hard" to implement. Sure, it's a layering violation, but that's how we were forced to write efficient code back when computing resources were scarce 30+ years ago. An entire C compiler and integrated development environment was only a couple of hundred KB of executable on computers back in the 1980s under MS-DOS and on the Amiga.
but hold on. "not having people" and "not having people with the skills you need" are different in this regard. Offering more money won't make more people, but it will motivate people to learn skills.
Had a clot in lung and a series of minor strokes.

Couldn’t sit up more than a few minutes, barely talk, couldn’t do math or much reasoning.

Disability lied endlessly to me, eventually denied claim after I got really pushy. Took months for me to get them to call me back.

Since I had an office job. Clearly I didn’t need to any of the above.

Couldn’t figure out how to fight them at the time, since most of my reasoning was gone.

Made for some bad years while I recovered.
It seems to me that many tech workers are experiencing, for the first time, the hard reality that:

a) Companies may be formed, operated, and controlled by people, but they are complex systems that do not have feelings and do not care about individuals no matter how much the culture warriors say otherwise. They are systems designed to survive, with or without you.

b) We are not defined by our jobs

I'm not making a case one way or another for capitalism, or layoffs, or the meaning of life, rather pointing out that this is the reality in which we live and once you realize these two points, things will make more sense.
Right now is the perfect time to get fired if you are having performance problems though. No one is going to think twice if you claim to be a victim of layoffs.
I think Elon is just trying to boost revenue. They have a product that isn't being fully monetized, so he's trying to squeeze a little more out of it. Pretty good business move to be honest. I haven't checked the pricing for the basic tier, but as long as it's reasonable and most indie devs can afford it, I'd say this is a good move. (I've used the free API before for side projects, and I would probably pay for access as long as the price isn't too crazy)
> At least you know I am human.

...we technically don't always assume that people we speak to on the internet identify human, since we don't ourselves, but we at least know that all host bodies (that we know of) are physically human. And we also know that all consciousnesses we've spoken with are "human" in nature as in "formed in a human brain".

> Hard to measure internal thought and understanding. Hard for you to even prove I have it.

Indeed, but brain scans exist to show mental activity in response to all sorts of things, including unprompted internal thought. You've heard of the EEG test for ADHD, right? You place someone in a room all by themselves, put some electrodes on their head, and leave them there for around 25 minutes. Then you measure brain activity to see if it looks... uhh, ADHD-y. I don't know what exactly they check for, but I'm pretty sure it's some certain type of uncontrollable mind wandering that people with ADHD suffer from.

With a language model, you are computing the mathematical transforms that result in its output. And there's no evidence to show that there is any sort of internal thought that occurs there, especially since the entire thing is re-run from scratch for every token. Any "thought" or "understanding" can at best be encoded by mathematical weights in the layers, or something, but it's definitely not the same sort of understanding that biological humans have, or even most animals. The way they run is just fundamentally different.

And obviously a mere product of consciousness such as an internet comment can be difficult to tell apart from the output of a hallucinating language model. :)

-Emily
Wait they're less reponsive than Akamai ? I ran away from Akamai because of their sales people and how they apparently embedded their dark soul straight into the user interface they give you to use, and by use I mean summon an akamai billing person from the depths because you're not allowed to do anything without them.

I know they're doing good but Cloudflare must be even more successful than I thought if they can afford that level of ineptitude at sales level
Although true, HTML doesn't let you customize context menus or (easily) open multiple windows either, and UI interactions frequently lag, but it's used for general desktop development all the time. These issues seem to be more that describing something as for desktop development raises the bar fairly significantly in terms of expected feature set. That's reasonable, but we should be careful in describing something as unsuitable because it lacks things HTML also lacks.
My guess: so they can flexibly cut hours when they need to save a bit of costs in a way they can't with salaried employees.
I think you may have some misconceptions about social security. It's funded by your kids. It's almost like a pyramid scheme, but not quite. It's a common misconception that the money you get is actually like some sort of direct investment that is stored or whatever from what you pay in. Actually what you pay in is going, amongst other places, straight to your retired parents and their kin.

When nobody has kids social security just dies. You get, in value, basically nothing for your retirement. Maybe some money is left but even then all you can buy with it is whatever is still being produced (very little if everybody is old) or already stored. Raising children is the single biggest investment/contribution in social security, and compared to someone who doesn't do that you basically start in the hole a six figure sum in the social security piggybank.

>Not how much your children pay into the system

I'm sorry but this is 100% incorrect. If our children don't pay into the system we get nothing. Social security is almost ENTIRELY dependent on how much our children pay into the system.

>It doesn't cost poor people anywhere near $250k - $500k to raise a child though. This may be a median price to raise a child, but this median includes money spent by the upper middle class on their children along with genuinely wealthy families.

Not to be snarky but I don't think you understand what median means. Upper crust wealthy, by definition, are not included in the median. Median would be the 50th percentile spender in effect.

If you want to argue that those who vote for or against immigration should be suitably adjusted, I think that is a seperate question than adjustment for raising the tax engines.
If you ban 'price-gouging', you remove incentives for suppliers to be resilient.
> Supporting web extensions on Android would be a brand new feature and would need significant development time.

Kiwi Browser, a Chromium fork for Android with a small development team manages to have extensions, and successfully runs almost all extensions for desktop Chrome.

Google doesn't have extensions in Android Chrome because it doesn't want them. I'm not surprised; many popular extensions make Google's business model less profitable. Firefox also significantly crippled extensions in its Android version, and I'm more puzzled as to their motivations.
Did a good job for a specific company like: https://gocheck.it
"Checkit is a platform designed to help organizations offer well-care and preventative services by providing customizable workflows and automated workflows. It integrates with a number of medical devices to provide a comprehensive platform that helps collect data points and streamline exams processes. It also helps provide better care by providing cloud-based solutions to help manage screening operations effectively and securely. Finally, it also helps with patient monitoring and provides patient privacy and access to their records."

But for CNN, https://cnn.com
"CNN is a website that provides news and information related to many topics. It has sections on US and international news, politics, business, opinion, health, entertainment, style, travel, sports, and videos. It also has audio, edition, markets, tech, style, travel, sports, videos, audio, opinion, coupons, weather, and more. It also provides reviews, deals, money, gifts, and a CNN store. You can also follow CNN on social media.", it did not do the best job
Great... another drug war that will not work.

Instead of prohibiting sale of tobacco (and drugs and alcohol), insurers should refuse to insure anyone taking them in large quantities.
I personally consider C or C++ written with the best-of-breed static analysis deployed on it, preferably from day one, to essentially be a different language. Most of the criticisms of C or C++ are eliminated under this setup. You get different ones; the resulting language is even more complex than the base languages, and requires an even deeper understanding of what's going on, but at least you have the requisite support to learn it, so in the end it's probably a net positive even in terms of the ability to learn it.

This is, obviously, a very opinionated opinion.

If I was going to be forced to do it, this is how I'd want to do it.
If you were to look into trading companies, mostly located in Chicago/NY, you would find positions paying competitively (or better) with FAANG salaries.
Companies typically don't layoff because they want to have a laugh.

Companies layoff when they're in some sort of trouble. If you don't have the cash to support the staff, you can't will that into existence.

So it follows that companies that laid people off struggled for a bit. Because they were already struggling. It's not an instant cure, or even a guaranteed one. It's a measure to spend less so you can ride out the downtimes.

Another way of stating it is that "People who were sick with the flu seemed to tire more easily in the days that followed compared to people who weren't sick at all". It's to be expected.
Hey HN! I wanted a way to quickly switch between local and cloud execution for prototyping, so we built Lug. Notably, Lug doesn't require you to define your dependencies; it tries to extract and rebuild the same environment automatically. That means the decorator can literally just start as "@lug.hybrid(cloud=True)".

In the background, a new instance is spun up for every request. That means this has a high cold-start time, so is best for longer functions. I use it for computational biology (which contains some ML) batch processing.

You can also switch between cloud environments with the "provider" argument, but it's limited to just a couple options right now. We use it to cycle between AWS and our on-prem servers depending on capacity.
Stating a falsehood without intent to deceive is just incorrectness, not a "lie". Let's dial the hyperbole back a few notches.
It’s done like this bc leadership at those companies want to have certain number of directors reporting to them (for resume padding purposes). The directors then need sr manager reports who in turn need multiple manager reports, etc. Pretty sure it has nothing to do with concern for low level employees’ careers as up and coming managers
Now I want to make a persona a just because.
Yep, I'm in the same boat. C++ jobs always pay like shit, so I sling web apis together with C# and make 3x as much. It's way easier and less stressful. I'll only use C++ for hobby projects now, and then only if it's the right tool for that job.
Soy on soy (on soy, on soy...). Disease soon sets in if not regularly rotated.
"Already" doesn't mean it couldn't be raised further. Have you seen C-suite salaries?

Also you don't have to only incentivize grads. Getting experienced devs to jump ship is the primary goal. Which a $100k+ raise would certainly incentivize.
They've answered why Dart many times. It's a language that fits their needs, since it has JIT, AOT, compilation to JS and now WASM. Back then there weren't many languages that could do all that, and even today there aren't many. Kotlin (and other JVM languages) and TypeScript (and other compile-to-JS-only languages) are already out since they are not AOT, only JIT even now.

More importantly, it was a Google language that they could mold for their own needs, not so possible if it's an outside language like TypeScript. For example, early on, they asked the Dart team to create an AOT compiler since Apple does not allow JITted code apparently (not sure how React Native gets around this then), or maybe it didn't back then, and the Dart team was able to do it successfully for the Flutter team. Try asking the TypeScript team to do the same, it's next to impossible.

For what it's worth, Dart 3+ introduces more functional parts like records, patterns, and exhaustive pattern matching so you can use it in a functional style if you want once that ships. There is also fpdart, for full functional support, and for brevity of code, since Dart has the ability to generate code via macros (with build_runner), you can also use packages like functional_widget, flutter_hooks etc to achieve a very functional code style as well, React-like.

This is a great podcast/video episode on how Flutter came to be, from the early days to now, and how it used JS in the beginning but it didn't serve their needs, as well as how it used to be more imperative until a declarative React-like model was then made.

https://www.youtube.com/watch?v=xqGAC5QCYuQ
Guess the 90s C++ vs 20s are completely different. When someone says they are looking for C++ developers I wonder which one are the looking for.
Try making your own brew water.
https://espressoaf.com/guides/water.html
I highly doubt insurability is warranted. And definitely not insurability with one particular insurance company.
> "there’s not some huge glut of unemployed people waiting in the wings to clean offices at $20 an hour."

16 - 18 year olds. They can do the job after school.
Scala is worse, people tend to invent their own DSLs in it and you end up with two libraries unable to work with each other without wrappers, like in the old days of C++...
The philosophy behind the Japanese art form of kintsugi
Anonymity is impossible, especially online. About the best one can do is to engage in clever obfuscation though there's a benefit to creating multiple personas for online activity: it makes it easier to keep your silos of interest separated. It's not for everyone but it can be handy.
Java's gotten a lot better with latency with new GCs. Some codebases use statically-allocated memory in Java and do it very carefully. Sometimes shops will just shut off the GC. Graal also gives you AOT options now.

One thing I read is that memory allocation can be faster in Java because malloc can result in system calls. Deallocation is what's slower.
What’s the difference between the App Store and a package manager? Mostly it comes down to trust: I can give you Mac .pkg files all sorts of ways but what you really want is a way to know that I am who I claim to be.

Package management has a boot-strapping problem for mainstream platforms: the same people telling the public that you should install Firefox using their ad bundle installer would instantly pivot to saying that you should install Firefox by adding their “store” to your system package repository list, and then SEO-ing their instructions as hard as they can.

Homebrew works because the audience is heavily technical and they don’t accept every app. Change either of those and quality would decline, and gaps in package coverage normalizes the behavior of installing things from outside of the store.

The real solution is probably something regulatory requiring Microsoft and Apple to run a basic store at cost, possibly allowing premium add-on services, or perhaps having a way to setup other stores with proof of liability insurance and auditing. The basic tier could be something like having a verification process for developers and a robust way to yank abusive apps.
ChatGPT is capable of reasoning but it has only one tool: "thinking out loud".

If you'd like it to solve more complex problems, ask it to do it step by step, writing down the results of each step and only at the end stating the conclusion based on the previously written results. Its reasoning capabilities will improve significantly.

It cannot do it "in its head" because it doesn't have one. All it has are previosuly generated tokens.

I wrote some examples in this Twitter thread and pointed out some additional caveats: https://twitter.com/spion/status/1621261544959918080
Every time I try and get into C++ development I get hung up on build systems, compiler choices, and IDEs. For some reason I just can't build up enough steam (motivation, determination, whatever) to get past that initial hump, even though I know once I get rolling it will be fine like every other language. I've tried lazyfoo's tutorials several times and can never figure out how to get the SDL libraries working correctly >_<. Maybe it's worth another shot...
That's entirely the fault of their inept and corrupt administration there.
I absolutely agree, and admire your comprehensive explanation.

While the market may sound greedy, you can't legislate away human nature. People just won't work for free.

If you also want to address inequality, then by all means implement progressive/negative income taxes. But mess with production and distribution incentives (like implementing price controls) and you have a recipe for disaster.
Can anybody explain why I feel like crap after drinking about 5 cups of decaffeinated coffee (black, without milk/sugar) during a workday?

(Brand doesn't seem to matter, I tried many, and I have no problems drinking just water, or tea)
Yes, but you should specialize in domain and not programming language.

It's better to be a specialist in JavaScript + crypto than forth.

If crypto doesn't pan out, you're still a JavaScript developer that can get a non-crypto job.

If forth doesn't pan out, you have to become JavaScript developer to get a job.
> The bigger issue that farmers are ignoring is water.

Ironically a statement without nuance. Western US farmers are ignoring water. This is not an issue in the East.
For me it was ConLaw as part of the first year of law school. It forced me to relearn US civics, and confront all the gray area that exists in trying to build and maintain a functional democracy. It expanded my view because it retaught periods of US history from a very different perspective than I'd encountered previously. Considering the interpretation of laws and policies through the lens of precedent and separation of powers made things far more complicated and interesting to me. I made peace with the fact that answers that start with "it's complicated,..." and "it depends,..." are generally better (if less satisfying) than ones that start with "clearly,..." or "obviously,...".
Screenshots show address and zip code? May want to blur those