skysight-inc/HackerNews huggingface dataset:
My friend is a manager at a big insurance company. They have a bunch of legacy stuff in COBOL.
..trepidation

then you should go and visit a therapist.

:)
Now it will cost legal fees plus a million
He didn't even say to whom he'd sell the domain at that price.
Unrelated but I clicked your name and noticed you joined in 2007 the year HN started, that's pretty cool! How did you hear about it back then?

Also drift.space/jamsocket seem pretty interesting (the jamsocket site seemed to lag when scrolling).
I assume you're asking about a check for constness, like __is_constexpr() in Linux kernel.

Starting with C11, it's possible to implement it without any non-standard extensions: https://stackoverflow.com/a/49480926
Spotify Shares Now Selling at Less Than the IPO Price 4 Years Ago
It's a big deal because a) they never fixed it and b) you have to replace the whole top half including the touchbar, etc. Mine died twice under 3 years of Apple Care and is going out again now. I don't like the short key travel, but that's such a tiny detail to me. The 4 USB-C ports are fine with me except the external video compatibility is such a flaky mess.

I'm stuck using this "cool design" as a desktop now because it costs ridiculous money to repair. And I get to flip my monitor on and off twice to get it to come back from sleep.

This is my 4th macbook pro. Previously, I had 1 battery problem in my first 2008 model and it was replaced at the Apple Store same day. My old macs ran until the batteries finally swelled years later. They weren't just sleek and cool, but super high quality and amazingly sturdy.

The other thing that stinks is that the issue wasn't something accountants did to save some bucks, but a design feature that cost me more.

I'm honestly only buying an M1 because I know that they've left the sexy-at-the-expense-of-the-customer approach.

I think Ivie sans Jobs got too focused on design and not customer experience. Apple made excellent hardware before Ivie, and likely will after. Just maybe not as many fashion shows.
> Granted, most of them are crap

Well lol there you go. He probably wants good ideas not crap ones.
> which should work if you’re not logged in

It doesn't. That page has all sort of placeholder elements on it and Signup/Login buttons instead of what I assume would be a room view.

Try using incognito mode yourself.
When the CEO of the company gives an official response as "You're holding it wrong", I was never under the impression that Apple was concerned with anything other than their opinions
Chip consortium ISMC to set up $3B plant in India
First, owning a valuable domain that you don't use is basically the definition of squatting. Second, I never wrote that it was outside of his "rights", I wrote that it was obnoxious.
The government can take away your 1st and 2nd Amendment rights and you can go to jail for exercising them after that.

For example, judges can tell convicts not to buy or carry firearms.
So you really think that the “flyover states” and states in the south contribute more than they take in? Can you find a study that says otherwise?

https://wallethub.com/edu/states-most-least-dependent-on-the...

https://www.governing.com/finance/Are-Republican-States-More...

Just like old people on Medicare who are against “government run healthcare”.
This seems closely related to exhaustive checking of functions. There are some functions that you can test by trying every possible input. (For example, a function that takes an int32.) But most functions can't be tested that way.

Obviously, static analysis is possible, but the type system needs to be designed with type-checking functions in mind.
"I feel really angry that you said my colleague was lazy. As her manager, I know that she has been working late every day, including the weekends, to hit these deadlines."

EDIT: Another example: "I feel quite angry right now and it probably has less to do with what you did and more to do with the fact that I haven't eaten yet. So before we do my performance review, could we get lunch so I might be in a better mood to hear it?"

I think that would be a way to express anger connected to facts. Do you think that is still something people should keep to themselves?
Great stat. I might be underselling the achievement... I bet some of that growth is driven by the insane battery life, which we know people care a lot about. To be clear, I own and love 2 M1-based machines :-)

I stand by my overall comment, though: They are better Macs. Not a new category or a new product for Apple.
This type of requirement on offers/acceptance procedure is typically (most states and federal jurisdictions in the US) require for ‘real property’, that is things categorized as ‘immovable’ property in civil law jurisdictions. It is not required for other property types unless the jurisdiction explicitly requires it via legislation.
The last generation of PowerMacs had dual-core G5s. They still ran very hot and it did not change much in the end.
I'll give more details, but keep in mind Saudi society's norms are in massive flux. Even specifically the things I'm saying are changing. The new nationalism is bringing down a lot of old hierarchies. This might be more useful to understand the past than the future at this point.

It's not specifically the way it's said because like I said informal speech is accepted at all level. I meant that the act of embarrassing others is very scandalous.

It's a concept called الستر (the veil or the cover) which has a high place in both the faith and the culture. Hide your own flaws, helps others hide their flaws, and if you see another's flaw don't look too closely. You could translate it to shame but it doesn't have the inner shame or guilt connotation. It's more about conducting yourself in public.

Another common concept is قطع الأعناق و لا قطع الأرزاق (rather cut necks than cut livelihoods) which puts affecting people's livelihoods on the same level as murder.

So if you criticize openly, and jeopridize someone's career, it probably won't matter whether you're right or wrong. You're violating many social contracts and there will be social consequences. The preferred way would be to approach someone privately, tell them what you think, and even better, provide a solution that includes a cover story for why things weren't done correctly in the first place.
Zelensky Compound NDA
Ah yes, “full self driving” and “autopilot”, two technologies that clearly can’t possibly be confused with self driving systems :-/
Great writeup.

I like getting older because one's preferences, opinions, and control are so much more refined.
Elixir. Just be warned, one you learn it there's a good chance you'll never want to python again.

I have a track record of picking good pls:. I picked ruby (2003), Julia (2009), elixir (2015), and most recently zig (2019) and no others.
This figure is useless without context. What was this number for previous generations? I suspect it's always super high because a huge demographic for mac's is college students buying their first laptop, obviously it's gonna be their first Mac. Same with software devs. Tons of Macs are used by software devs getting their work computer.
Interesting. I'd expect Java programmers to be the least likely to be willing to learn a different language:
They seem to have started there and gone nowhere. This whole document is essentially devoid of content.

To be fair, blockchain-like technologies can be extremely useful for improving Internet security. See, for example, certificate transparency. (But note that CT does not involve mining and barely involves consensus. I could imagine requiring something like CT for BGP routes, but I could also imagine it going horribly wrong in the event of a need to recover from failure.)
If I were rich, sure. $10k for Me is like $0.10 for Bezos.

But with your last $10k? That's just stupid (or fiction)
Sure, but here we have a giant company versus a 79 yo person. Surely you can make a case that the person didn't really understood that a binding contract was forming, since the common understanding is that you need to accept a deal. Seems to me that you can make a case that the person was "tricked" into a binding contract (if it is indeed binding).
That's not what happened. I've explained in detail what did happen, many times, so this doesn't seem to be about facts.

We cut users a lot more slack when they're making shit up about HN, YC, YC startups, and so on, but the amount of slack we cut is nonetheless finite and it's time you stopped.

Lest we hear more about how you're being repressed: people criticize HN, YC, and YC startups all the time here with zero problems. You, however, have derailed more than one discussion now by inundating it with dozens of sensational, false, and/or offtopic comments. That is not what HN threads are for, and even though we moderate HN less when YC startups are the topic, we eventually have to draw a line.

Actually I have the impression that you're rather a good commenter in general and this isn't personal in any way, so if you want to fix this, it won't be hard.
Wendy's puts kale on one of their chicken sandwiches. Is it really a health nut thing? Seems similar to lettuce.
True. But.

The learning curve of Rust should not be underestimated, IMHO. I do not know except by my own experience and "gossip", and would be interested in hearing from a bigger shop that has to deal with it.

Rust can make an experienced developer feel utterly clueless. The borrow checker is a very harsh mistress. Moving from C++ to Rust for a computer programmer with many years of experience in C++ must be a frustrating and humbling experience. The simplest things become so hard.

I love Rust, but I do not use it professionally (I would love to). I can clearly see that it is a step closer to what we have been waiting for, it may even be the destination. But I can imagine the pain of moving a programmer from 20 years of C++ into Rust. Becoming a novice again
I guess the interesting question is the ratio of “glue” and layout code to business logic and algorithms. There’s definitely too much glue (and somewhat relatedly, too much branding and unique “design”) in software, IMO.
Lots of folks pointing out how the design is now “pragmatic”, which is exactly why it’s not at all interesting anymore.

Current Apple is never again going to give you something like the “Luxo Lamp iMac”.
It's interesting that the article attributed the shift in Apple Watch's marketing strategy to Tim Cook. I am pretty sure that Jeff Williams led that change. He is a smart guy who doesn't get the press he deserves, in my opinion.
> their pre-digital limitations

Exactly so. I love the idea of scribbling in a leather-bound gilt edge notebook, like a modern Thucydides. I can't find anything later without flipping through, and I hear people keep index in the notebook! Ain't nobody got time for that. I throw all my notes into a text file, check them into git and grep away! For impromptu notes I still use my National Brand Computational Notebook with grid ruled green sheets, roommy real estate, thick paper, page number, $12 each.
Agreed on everything you say, except I still find it curious why these seasonal "let's learn COBOL" posts find a place here on HN.

I mean, yes, there's a challenge in navigating boring legacy COBOL banking systems, which follow no conventions, were created before code versioning was a thing, or best practices for that matter. Yes, it's challenging and therefore of interest to hackers, but still...

... striking my fingers with a hammer is similarly interesting and challenging, but why would I want to do it?
it's a lot of fun! jai is my intro to systems programming.
so i haven't tried this in C++ (actually i have tried a few times over the past few years but never successuflly).

this is just a test of opengl, C++ should be the same exact performance considering my cpu usage is only 7% while gpu usage is 80%.
but the process of writing it is infinitely better than C++, since i never got C++ to compile a hardware accelerated bunnymark.

the only bunnymarks i'm aware of are slow https://www.reddit.com/r/Kha/comments/8hjupc/how_the_heck_is...

which is why i wrote this, to see how fast it could go.
Percival: Notebook for declarative data analysis and visualization with Datalog
"pry it from an old man's hands" paints a very clear image without using explicit wording.
In real estate, it's common for a house to be listed at one price, but the seller will turn down offers at that price because it's reasonable to expect bids 10-30% higher than the listing. There's no contract until both parties agree.
I had completely forgotten about these. I have to say I do miss this kind of detail in the presentations these days, even if I like the products of late way more than the ones that came in the latter half of the 2010s.
https://www.imf.org/en/Publications/WEO/Issues/2022/04/19/wo... page 144
This is probably an immoral viewpoint, because it isn't possible to universalize it, but:

Ha ha! After so many years of semi-officially cultivating their own hacking gangs, and not punishing those gangs as long as they didn't hack other russians, it's about time. Live by the sword, die by the sword, as Ben Franklin wrote.
Company: “We dont want you to write code, because finding ppl who understand the code is hard, while finding ppl who eat generic pulp is easy”
1 in 5 us adults take Ritalin? That seems incredibly high? And 1 in 11 children? This also seems super high.

Edit, it seems that only a few millions have prescriptions so way less than quoted in the article: https://clincalc.com/DrugStats/Drugs/Methylphenidate
MLE is different because there’s a ton of people who want to do it, and apply without the skillset.
You can politely explain to someone that you think they are wrong now evidenced by the fact they they were proven wrong in a similar situation before.

In fact, I would argue its literally your job to do so. You’re paid to make the right decisions AND to persuade others (and to be persuadable if you’re wrong).

If it turns out you were right but failed to convince others because you failed to present all valid arguments, then you are negligent.
Yes it does. Modern humans have so many more things to do than hunter gatherers or monkeys. Monkeys can't engage in cocaine fueled raves til 6am, work the night shift at a nuclear plant, or pull an all-nighter to pass their organic chemistry mid term. They can't stay awake till 4am watching anime.
Wow I feel really grateful you wrote all this and also tremendously fascinated. I'll reply more later in an edit to this post. Thank you for now!
I use .pipe(lambda x: x....) very often in my code, makes it feel more like I'm using dplyr...
There's a lot more than big O, like data layout, simd, parallelism, cache efficiency, caching, allocation, data architecture, IO efficiency etc etc. And these are just the ones I know about, I bet there's many more.

For improving performance of larger pieces of code often times it's not really important to talk about big O, but much more about how the data is transformed through the system, how lookups are done in memory, how operations are composed together. Then look at what would be possible in an ideal version of the code, and work towards that in steps. This approach can have orders of magnitude improvements, without changing big O.

If you're starting from scratch, this is much easier. Simply never make your code slow :-)
>There is a huge undercurrent of Russophobia

Where? The highly skilled Russians part of the brain drain will most likely go to big cities, full of high earning and/or well educated people, not in hick towns full of xenofobic loonies.

Russians brain drain to the US is not something new, but has been going on for several decades and it seems to have worked fine for them.
> eugeroytidue

If the SERP is to be trusted, this page is the only one on the internet that uses this word. I assume it has something to do with "eugeroic" (wakefulness-promoting drugs).

Anyway I find most discussions about consciousness to be rather boring since everyone has their own wishy-washy definition of it. Stuff that’s philosophically interesting to one person will be trivial to others.
If the author is here: There is a mistake in this article. In Section II, the text discusses a wagon capacity of 19, but the code and printed output are for a wagon capacity of 1000.
They are powerful ARM laptops. I'm considering getting one purely because of that + Asahi Linux. My Pinebook Pro just doesn't cut it as a main machine, and I'm sick of x86.
Good question! There are two separate issues with putting the GPU in the same package as the CPU. One is the memcpy bandwidth issue, which is indeed entirely mitigated (assuming the app is smart enough to exploit this). But the round trip times seem more related to context switches. I have an M1 Max here, and just found ~200µs for a very simple dispatch (just clearing 16k of memory).

I personally believe it may be possible to reduce latency using techniques similar to io_uring, but it may not be simple. Likely a major reason for the roundtrips is so that a trusted process (part of the GPU driver) can validate inputs from untrusted user code before it's presented to the GPU hardware.
Why?

Java is a starting point for many programmers, especially because there was a time were every "coding school" was a Java shop. But programmers naturally migrate from that to other waters: some to Scala or Kotlin, others shift gears and go to Python, others choose Golang.

Java has a special affinity to COBOL, if only because Java is/was widespread in "enterprise" systems. A common joke was that Java was the successor of COBOL!
You're going to need thicker stud walls and/or more exterior insulation than that, if you want to meet PaasivHaus standards.
Been fortunate enough to not work with anyone like that
>It puts control into the hands of people, can help prevent corruption, and gets rid of bloated banks that are a drain on our society.

And how, exactly, is this practically better? Nobody gives a shit about ideologies.
Add comments so people can discuss each one
> clearly, both languages can.

C++ is not memory safe, which is table stakes these days for any truly "high scale" software. Which is why most large-scale software projects have been written in Java, a memory-safe language, since the late 1990s (taking over from the previously common use of C++). And no, even the C++ Core Guidelines and "modern" coding style do not fully address this issue; they're way too clunky, whether or not legacy code is involved. Rust, even more so than Java in the mid-1990s, is uniquely positioned in offering better performance and safety than C++ and a lower complexity in development.
The medication you're waiting for will not come in the future, either I mentionned it in my comment either it doesn't exist. Chances are moclobemide or (I'd try first) selegiline would be a better feat for u. As I said the drugs I mention can be used not necessarily to replace but to lower your stimulant dosage and therefore anxiety.
As for the anxiety it can itself be mitigated, by taking low dose clonidine (slighly sedating) or guanfacine (less sedating), and they can be bought OTC.
Many people report magnesium-l-threonate reduce stimulant anxietu (which is logic since it is a weak NMDA antagonist). If you want more strong solution against stim anxiety, either use a potent NMDA antagonist like low dose memantine (cause brain fog the first weeks) or use a low dose beta-blocker (some again being OTC)
Also vyvanse cause less anxiety than adderall.
As I said, zinc supplementation can reduce your adderal dose by 1/third and hence side effects.
There are also mild efficacy blunters, such as l-theanine, pine bark extract (promising) or ginkgo biloba.
If the stress is due to vasocontrition you might wanna try cialis.

then there are atypical non-addictive anxiolytics (afobazole, opipramol, etifoxine (beware liver monitoring), emoxypine, tofisopam)
> an Associated Press review has identified a number of concerns about the technology, including questions about its reliability and its potential to harden racial disparities in the child welfare system.

Seems like the objections are all "woke". Bodes poorly for getting rid of this algorithmic system, which should, after all be fair.
Alfvén was another example of a scientist who got no respect during his lifetime, but turned out to be right while his colleagues were wrong, and a better scientist than them.

Plasma fluid dynamics still does not get anywhere near the respect it deserves. And, Enceladus does not have geysers, it has jets.

I say this not as a plasma fluid physicist.
I think that they do not mind spending 50k or 100k, they just want to secure the possibility of sale going through. They probably do know that the legal fees alone would cost them more, they just want the domain.
Lol. Why would people be unwilling to work in Scala. I moved from Java to Scala and it was a breath of fresh air. We’ve had no trouble hiring people who didn’t know Scala but learned it on the job. It’s not rocket science.
I guess being called an "old man" has been around forever.

When I was younger my version of an old man was anyone over 30. I kept upping it the older I got.

I used to throw around the "Don't trust anyone over 30."

Now that I'm much older, I still don't trust most old adults, and I'm one now.

Looking back my definition of old is more akin to being wealthy, sneaky, money grubbing, shifty dude. The kind of guy who uses lawyers, instead of a handshake.

It's crazy but in my mind the "old man" is the guy running this crypto company.
So 300M gross sales and 100M in fees. That’s 30%. How is that any different than Apple’s cut of in-app transactions.
I really appreciate your transparency and understand this was one-time mistake and not the norm.
I think the touchpad would be the better location for the Touch "bar" rather than additional row
What happens if you push one off its path? Does it try to get back? Or just get eaten by some kind of langolier style phagocyte?
The amount of money makes a big difference.
> These days the use OPC is often preferred [...]

Wishful thinking. Especially in the industry sector RS485 based Modbus is still the norm, even for new products.

Also I guess you are talking about OPC UA, as OPC is just as old/bad in regards to cyber security.
No one would assume that a mobile phone requires to be plugged in to work. With mice it is not as clear cut. And looking at my magic mouse, I wouldn't know where they would put a charge port without making its wireless use worse. So I prefer it as it is. Would be nice though, if wireless charging would be possible.
I share the same idea! I pretty much always use this template for my blogs because its obviously not wordpress/etc, just a blog with the content you want and nothing else. Content writing is the same thing, I just toss a word doc in a folder and its now a blog post. No nonsense, no thoughts to ux/etc.

https://preview-of-blog-on-david.blot.im/
You seem to be under a mistaken impression of how HN works. Upvotes are an important signal but far from the only one. If HN were to go by upvotes alone, it would consist of little more than sensational flamewars about the same few hot topics over and over again (plus tons of meta drama). This is a weakness of the upvoting system. Lots of past explanation about this: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so....

Since HN's mandate is not to be that, we have to have countervailing mechanisms to compensate for that weakness. Otherwise the system would get stuck in one of its failure modes. The countervailing mechanisms include things like flags, software mechanisms (including automated up- and down-weights) and moderation (including manual downweights and other interventions). All this is happening all the time. If it weren't, HN would be a completely different place.

None of this is secret; it's not all transparent in the sense that we don't publish a full log of all the factors, but we're happy to answer specific questions.