skysight-inc/HackerNews huggingface dataset:
Does anyone have a good reference for C as it should be used in 2022? It seems all the references out there are backwards facing and/or decades old.
> I’m surprised no one made an app that turns Touch Bar into fn (without having to press fn) and a button to switch to the apps choices.

That wasn't the issue. My main gripe with the touch bar is a lack of tactility; I don't need to look down at my hands to pinpoint the location of "F5" for debugging in VS Code, nor do I need to make sure my finger is hovering over the escape key before I press it. On top of that, capacitive touchscreens just don't make good buttons, my fingers frequently bump against the screen and trigger mutes and screenshots that simply wouldn't happen with a button. It's something of a usability nightmare.
As a software engineer, I never understood this stance.

Engineering is composition. Engineers look in books to figure out which existing construction technique to use for building the bridge. They're there to ensure there is a bridge still standing in a year, and the best way to do that is composition. That requires knowing the tools, techniques and QA requirements, which is what software development is too.

They don't invent new materials and designs. That's what doctors/researchers and architects do. Or computer scientists in our case.
Exactly, this!
I reread the letter, but I'm still not seeing the veiled threat here. Would you be able to spell out where/what it is?
It's not like there are a lot of idling cosmologist for lack of instruments right now, you'd really need to expand the set of tenured positions within the field if you'd want anyone to actually use a second Vera Rubin.

So "more of that" isn't a very useful position, science output isn't a linear, or even monotonous function of dollars spent.
Any website worth anything would have done a real time check on the users balance and only allow the leftover amount to be used to buy the bonds I.e if I already have $2K worth of bonds then I should be allowed only another $8K worth of bonds. How difficult is it to build this simple business logic into the user experience? Not a lot specially with the resources at their disposal. But unfortunately I can guarantee that the bureaucratic mechanisms , the digital divide that exists in the govt departments will ensure that there is no quick fix for this. And on top of that some of us may think of this as a feature :D and don’t realize what is wrong with this picture.
I'm not convinced the US has a higher standard of living, especially for the PMC. Here all your money gets sucked up by housing which isn't a problem in Russia.
Not to mention that to embark right now on a fancy-language-of-the-week codebase could be a career ending (and/or even company ending) mistake. I mean, I still work regularly on C++ codebases that are >30 years old (no STL!) and are supported and extended and even switch companies from time to time. God knows how many "languages of the future" we've had in these 30 years.
Oh that stuff is funny, but after getting my first "real" job after leaving the military, I actually found it difficult to determine if my boss was happy with the work I was doing. In the military, you usually have several people let you know immediately and in very direct language when you screw up :)
It's not about Cost of Living but Quality of Life.
It's probably because software contracting by the government is tidier in Mexico.

Also, the US tax system is partially the result of lobbying by parties such as TurboTax [1].

I'm glad I live in NZ, another smaller country with great online systems for government interactions.

[1] https://www.nbcnews.com/business/taxes/turbotax-h-r-block-sp...
Not much information, very verbose. The only valuable information is that Apple's strategy under Cook has shifted from devices to more profitable services.
I've always done my own taxes, by hand. I like the annual reminder of the insanity of the process, in a masochistic sort of way. But a voice is slowly getting louder, telling me to just turn this over to someone who likes doing it enough to be doing it for a living.
It sounds like they're filling the air of the court with words that sound good, individually, for their case, also signalling that they have a lot of power and authority, very good lawyering, prestigious lawyers.

It's like a collage of arguments that have stood up in court. Just like their contracts are collages.

Their contribution is the glue. Like glue code, glue sentences. Transition sentences. Stapling pages together.

So there's like a pecking order of lawyers, from my post-brain-surgery reconstruction of reality. It's like, lawyers don't really duke it out in court even metaphorically, they have a reputation with each other, emnities surprisingly, alliances unsurprisingly, they don't use all the arguments they could use.

Well it's based on fighting, I know that well, it's words-fighting. That's its origin, that's exactly what the fuck it is, you talk stupid so you hire an eloquent tongue-tier to say beautiful things for your case. Before the lawyer era--in the champion era--the client fought poorly (was weak), so he paid a strong fighter who would fight for him.

I am however qualified to say what it would be like today if we still had champions instead of attorneys. I would do the same thing if I both were a bad man and agreed to fight on behalf of others for pay. Dude pro-wrestling! Faces and heels! All the way! Then you don't get hurt, ever! All the champions pretend to fight tooth and nail but don't, you hurt him he hurts you back, so it's dance-fighting choreography shit. You keep the fight going if you're paid by the second, and mostly you don't truly want to win for the sake of person you're defending. For your fighting record yeah, not for your client. You might owe the opponent a favor, it was his turn last time. And there's a pecking order, you don't just take any fight against any fighter. There is power projection, linked to price.

Because of all the champions there can only be one champion and the all of the rest are champions who aren't the champion.
Ok, we've changed the URL above to that from https://kqeducationgroup.com/jump-trading-sues-79-year-old-c.... Thanks!
My wife working in research at the moment and wouldn't recommend that either (as she works her thousandth weekend in a row for low pay getting stressed about output to find the next research position)
> They are the worst of both worlds: anemic, still burning fuel, hybrid complexity and combustion maintenance.

As someone who has neither a garage, nor a driveway, I have to park on the street. So I have no convenient place to charge a vehicle at home.

And probably neither does anyone else in a community built pre-WW2:

* https://en.wikipedia.org/wiki/Streetcar_suburb
Hahah I like how many of these phrases unlike their direct counterparts appear even more passive aggressive and insulting if you are used to corpspeak.
Yeah, I'm completely agreed with this.

While I certainly see the utility in truly global search / discovery systems (they're great!), all the big ones turn deeply abusive and manipulative in time, because they are all ranking systems of some kind, which can be gamed[1]. Nothing has ever fixed that issue, and I'm not sure it's possible to. Small communities can more reasonably deal with it by hand when necessary, so they can get closer to what they meant rather than what they said, which is what I think most people want/need.

[1]: "Closest text match" ranks in favor of both precise words and phrases, and commonly used ones (you can game it by being predictably-niche or by using the most used things). "Most recent" ranks heavily on frequency (game it by doing things a million times per day). "Page rank" is literally just a popularity contest, easily swayed by money and connections like all popularity. It doesn't matter what you're doing, you're promoting something and thus providing a way to control your promotion to determined parties.
Armodafinil ships to denmark https://europechemist.com + /product/german-waklert/
I don't know if its legal there nor how much the customs let go.

The reason your grapefruit extract potentiate the dose is not different from e.g. piperine.
This is a mild CYP P 450 inhibitor and therefore increase the production of a drug for a same initial dose, in the liver.
Grappefruit juice can be lethal with some drugs actually.
The interesting question is:
Is your modafinil 50mg + ??mg of grapefruit extract better than modafinil 100-200-300mg alone?
I don't see how or why but please share your precise experience.
I would say my niche language is SystemVerilog (if you count a hardware description language in this discussion).
>You telling me people don't care about democracy? Or privacy? Or the environment?

Nope, they don't. Thinking that people will magically start caring about any of these things is wishful thinking.
Well the lies slowly grew. They didn’t get wide circulation until 2021. By then he had befriended a lot of folks who were blinded by friendship. He took it too far with all the bogus KOMs and the Pez article. People did notice and everyone knew in 2020. The guys at the bike shop did nothing because they wanted a job. The women did nothing because they believed the second round of lies (it was all a misunderstanding about doping). Ultimately no one really cared enough about this none sense because they had real problems like COVID to deal with and no one had the time the author did to publish it all in one place.
Ask HN: How to stop using food delivery apps?
I have become addicted to/heavily reliant on food delivery apps throughout the pandemic as they are seemingly convenient. In reality, the food quality is subpar and seldom arrives on time. Also, these apps are money sinks, not to mention that the food is generally not the healthiest. Any tips/ideas on how to reduce or stop using them altogether? Thanks.
> as ADHD is a recessive genetic disorder, i.e. 7% should be what the data shows

Might you have a source for that? This is the first time I'm hearing this. I'm aware adhd is genetic but if it's recessive it needs both parents to have it for the child to have it, right?
"Why is Canada euthanising the poor?"

This doesn't seem to be seriously misleading, in my opinion. It's quite common to use the country's name to refer to something the population is doing and not the government.
Fuck is generally very acceptable in meetings at my (large tech) company (in US at least), depending of course on context. I hear it a lot less from our APAC and EU offices though.
I always forget how to get a unixtime so I either load a repl or the manpage for date, but FreeBSD date -r 123 works to go to human time. date -u -r 123 if you want UTC.
Nah, fuck that. How about, "I do not work weekends. If something is on fire I will help out, but I'll be taking Monday off."

You have a contract, stick to it.
There's too many phd's for the number of available academic jobs, but that has nothing to do with broader hiring...
Hmm. Lemme step back and see if I can clarify.

The first step is to make the recording. That does currently require that you download our custom fork of Firefox, which has been instrumented to capture all the OS syscalls. (We also have a Node fork for CI usage, and are working on Chrome for Mac support). In the FF browser, sign in to Replay so it knows who's making the recording. Open the app you want to debug, press the "Record" button, reproduce the issue, and hit "Stop". That uploads the recording data to the cloud. So, no other "script tags" or anything. It's about recording all browser operations as you interact with a given page, while you have the "Record" button active.

The "client" that I'm referring to is https://app.replay.io . This is just a standard web app, and you can use any browser to open that page, log in, and start debugging. (I typically do my dev work in Chrome, personally.) If you're seeing problems with that, I'm very curious what's going on - we've had some backend issues this week, but I haven't seen any reports of client-side bugs.

The data that gets uploaded to the Replay cloud is exactly what _you_ had in the FF browser as you were navigating that page and recording it. So, sure, if you had open a proprietary page, the data from that page is getting uploaded. However, the recording itself is private by default, so only you have access to it, and Replay's client UI will tell you what sorts of domains have data included in the recording as you're looking at it.

Happy to chat more about all this if you'd like. Best place would be to drop by our Discord ( https://replay.io/discord ) - feel free to ping me directly if you do.
> pattern matching expressions

Available in 3.10: https://peps.python.org/pep-0636/

> syntax for partial application...

from functools import partial

somefunc_arg1_arg2 = partial(somefunc, arg1, arg2)

> ...and composition

A native compositional syntax would be nice.

> a typing system which can express structural types

# mypy will typecheck this code and see `MyString()` has a `.read()` method, so it's a `Readable` even though it doesn't sub-class `Readable`

from typing import Any, Protocol

class Readable(Protocol):
def read(self) -> Any: ...

def read_something(something: Readable) -> Any:
return something.read()

class MyString:
a_string: str = "something"
def read(self) -> str:
return self.a_string

read_something(MyString())

> a generalised list comprehension

I agree this would be nice.
Yup. Originals: https://vm.tiktok.com/ZMLGoHyTy/
Not really, PPC was a reasonable choice for a high-performance architecture back then, and arguably a better fit for former 68k coders than x86. And a move was necessary because the 68k was becoming a dead platform by then.
There's 8 million solutions to the constraint 1000 ≥ Bread×1 + Meat×3 + Beer×7.

a brute force triple loop would check a bunch of possibilities that aren't solutions either the very naive 1000×1000×1000 (for one billion) or slightly less naive 1000×333×142 (for 47.3 million).

Not that a billion would take that long either on a modern computer, but if you look at the OR-Tools solution, it's really not any longer or more complicated than loops would be. As long as you have good tools (coughprologcough) it doesn't take very long for constraint solving to come just as naturally as loops.
> The magic mouse you could not use while charging.

I totally think they done this on purpose to prevent anybody to use the mouse while charging it. In that way, there isn't anybody continuously using the mouse without removing the cable, making the product look like is wired instead of wired, and breaking that minimalism design they want to.

Apple is a company that not only design product to look good in a shop window or an ad, but also in how other people will use the product and what image will give to the rest when its in use.
Might want to check your dosage on the "omg no bundled charger omg omg the world is ending" memedrugs.

The iPad Air ships with a USB-C charger. A nice one.
https://archive.ph/6RtxY
I agree with most of the points except for the Python indentation argument. I think that’s entirely subjective (I think good on the premise that enforces consistent code structure), but almost all the other points aren’t without substance.
In C++‘s heyday there were things such as OKWS[0] web application server. Yes externally C++ was no so popular in such situations, but at Google they had/have many such C++ services and that was the motivation behind Go - a safe language to build mostly-IO-bound-but-a-little-bit-CPU-bound services.

Another example of this shift would be that Bitcoin’s reference impl (2009) is written in C++, whereas Ethereum’s reference impl (2015) is written in Go.

[0] https://okws.org/
Well, in Russia it's almost impossible to live in your own quality home in a good weather with a local, well-paid job. That's still the selling point of the US.

Yes, Moscow have good living standard for some definitions of living, but usually it will still mean living in a relatively small apartment of high-rise residential building. Singapore-style (only that it gets very cold).
Let's talk about the COBOL job market since I think what you're really asking is whether you can have a stable career writing COBOL. Contrary to the annual articles we see decrying the lack of COBOL programmers and suggesting that becoming a COBOL programmer is a way to get a high salary easily, the actual job market for COBOL programmers is quite different from those of the rest of the software engineering industry. In aggregate, across the United States there are a number of large companies that still use COBOL such as Eversource or Labcorp. Unfortunately, the teams using COBOL typically aren't growing. They may hire 1-2 COBOL programmers a year. This means that outside of a few banking hubs like NYC, you may need to move for your job if they require you on-site. A number of these companies have also outsourced their COBOL jobs and gotten used to paying low salaries for hires. This means that there's a large dichotomy in salary, some pay very little (I think an ex-colleague with 15+ years experience was offered 35/hr) and some are in the 100K+ range. A good example of this is searching indeed for COBOL jobs (https://www.indeed.com/jobs?q=cobol&l=&from=searchOnHP&vjk=f...). There are less than 2000 jobs on indeed across the US, and while the median range looks to be around 100K, many pay very a lot less. As far as I can tell nobody is making anywhere close to FAANG money with COBOL. Take a look at the locations of these jobs as well. If you want to find a job within 50 miles of you, there may only be a few options. Anecdotally, my ex-coworker hasn't worked in COBOL in the last 8 years, maybe even longer.

Now let's talk about a few of the positives. Many of these jobs are relatively stable, especially the government ones. They may also be relatively low-stress and be close to the traditional 9-5. Being paid 100K+ in Albany, NY is good money for the area, potentially on par with being paid 200k+ in SF. Unlike javascript, you won't need to keep investing in learning new frameworks every 1-2 years.
Scarfolk is one of my favourite things, full stop.

It's not just a funny series of posters but also some often fairly successful satire of British council politics and 1970s doom and gloom. The books are fun, and much more morbid than you see on the web. Lots of nice touches like the library stamps saturating at the end of 1979 (scarfolk is stuck)

"Guilt is good for you"
I don't believe storage is the main limiting factor here - availability is. And whether you want to make your data available outside.
No it is ad-hoc, mild ADHD cover at least 15% of the population, only the official ad-hoc severe impairment impacts only ~5% of the population.
I need specifc talent. I don't care how great you are a physics, pharmacy, mechanical engineering, or any of dozens of other PhDs that you might have, I'm hiring people who program and your degree isn't the right one.
So I guess you didn't want to trigger any emotions when you referenced how I communicate with my partner.

Btw: That's a great example where someone thinks they are polite but, in reality, aren't at all. More words won't help with that.
Brightness and volume are actually my two biggest touchbar annoyances… w/ older mbps I could simply feel my way to where I knew the keys were via muscle memory and adjust them with a few quick taps (or one long press) without looking or even having my eyes open. Near impossible with the touch bar.

Always good to remember other people can have different experiences, of course, so ymmv.
reminded me of this twitter thread...
https://twitter.com/MeanestTA/status/1509936432625897474

took me way too long to find it, how do you guys search whatever it is you've seen on the internet
I'd really like to have a list of engineers I'd need to wine-and-dine to add two USB-A ports for the good of the people.
FYI, somewhat related:

https://mosh.org/
I think there's a communication gap.

I absolutely don't want to praise what the author is doing. I'm saying that the choices of ADHD folks is different from non-adhd people, and from the outside some choices may not make sense. I don't think using ads like the author does is a good idea, but I understand (and can sympathize) with them.
I had it in my mind during the Great Recession that quantitative easing was going to create a ton of inflation in the 2010s, so I started putting money in I-Bonds each year. That inflation never came, and I did pull some funds out of the I-Bonds for real estate transactions along the way (no regrets) but I've still been buying them every year as a hedge. What's great today is that the I-Bonds really have softened the blow of inflation, since after having them sit there with a low interest rate for a decade, I'm able to say "AHA! Finally! The I-Bonds were worth it!" It's a brief moment of cheer in each depressing news cycle. That enthusiasm is tempered by the fact that I'm not actually making money with them, of course.

But good lord is that TreasuryDirect site the worst site on the Internet. Every single time - and I mean every single time - I instinctively click the back button to go back to a prior screen only to be presented with an error message and thrown out of my session, requiring another visit to the god-awful virtual keyboard and navigation through menu after menu of curiously similar, poorly-worded options. They can do better.
No one is claiming to replace Visa and Mastercard with NFTs either.
I understand the sentiment, but can’t follow the rule. I meow at cats whenever I meet them. It just always seemed the right thing to do. Granted, I don’t know exactly what I’m saying when I meow (or otherwise, really) - but then I don’t know what they’re saying, either, so I figure we’re even.

In any case, none of the cats I’ve meowed at over the years have ever seemed too offended - perhaps I’ve just been lucky. Barking at dogs has been a totally different story, though…
It always amazes me that when the upper class is bothered by the more competitive job market the "immigrants are stealing our jobs" is fine and tolerated idea. When it's the lower class its no one is taking your job, they are creating jobs.
Similar discussions when people talk about IT and Indian visa holders.
Sure, I'd just offer the fundamental difficulty is date/time is a sum of "trivial" problems like this. That a date by itself and a time by itself can be "moments in time" is just one of many difficulties around date-time. IE, none of the particularities (other examples being the irregularities of legal month/day combinations) seem "conceptual".
ADHD is many things and nurture can be sufficent independently of genetics although I wonder the prevalence.
One thing that helped him was he was perpetrating this last round of frauds in the US and was an Australian citizen. It just makes it a little more difficult for those of us in the US to fact check somethings. He crafted his story with just enough confusing details and remote locations that finding the truth wasn’t super easy, but it was still doable.
Just cook something instead, I guess? Helps to have some food at home ready to be cooked. Go for simple dishes like pancakes or fried eggs if your current skill level is kind of low.
I believe it's an emergent phenomenon, so unless there is a plan to enforce that from emerging, you're going to be very unsatisfied even if "the patriarchy" is removed. But my question that I want to understand is, are "gender roles" by definition a patriarchal concept? If so, "the patriarchy" will always be a boogeyman to blame any time gender roles emerge. If not, then tying them to patriarchy is dishonest.