News for hackers. Stuff that matters.

yazzku

Re:MoonBit compiler is available on GitHub on Saturday December 21, 2024 @12:58PM (#42481095)
The AGPL precisely covers that part. https://www.gnu.org/licenses/license-list.en.html#AGPLv3.0

You can also email [email protected] with your use case and I am sure they will be able to help.

Re:Botan: Crypto and TLS for Modern C++ on Thursday December 19, 2024 @01:08PM (#42464141)
[flagged]
Re:Updates to H-1B on Wednesday December 18, 2024 @09:57PM (#42457968)
You're asking too-obvious questions. GP wants you to work for them, for less money, in a less attractive area, doing work that is likely related to killing people.

And you think they're asking the kind of question you asked? lol

Re:Updates to H-1B on Wednesday December 18, 2024 @09:53PM (#42457933)
"Hit the ground running."
Re:Updates to H-1B on Wednesday December 18, 2024 @09:45PM (#42457884)
It would be good to have a "no military" filter.

Results would probably come out empty anyway.

Re:Updates to H-1B on Wednesday December 18, 2024 @09:42PM (#42457861)
You are very confused about how the US works. Go find out where the Internet comes from, for example.
Re:Updates to H-1B on Wednesday December 18, 2024 @09:38PM (#42457843)
Why is this down-voted? I was going to add most people have already seen some sort of linear algebra even in high school. Determinants, Gaussian elimination, etc.

It's unclear what "linear algebra" means to GP, though. I agree writing linear algebra libraries is next level, since that involves numerical code and knowing FP math well.

For the memory order not covered in this talk, see Fedor Pikus: https://www.youtube.com/watch?v=ZQFzMfHIxng

And this whole blog series: https://preshing.com/20120612/an-introduction-to-lock-free-p...

Re:Elon Musk wanted an OpenAI for-profit on Friday December 13, 2024 @09:16PM (#42414115)
You're several decades late for that. Almost a century now.
Re:BlenderGPT on Thursday December 12, 2024 @12:58PM (#42401539)
Captcha?
Wasn't it the author of homebrew or something that failed to reverse a binary tree in a Google interview and took to social media to cry about it?

He would've been caught on the spot.

Re:China Completes Green Belt Around Taklamakan Desert on Sunday December 08, 2024 @12:39PM (#42358557)
Ah, right, the 50-year cut-off makes a lot of sense, circa Exxon Mobil deciding to engage in the largest terraforming experiment done on Earth for profit despite its own knowledge of the consequences. That makes total sense; God created Exxon Mobil, and anything we do to challenge it is interfering with God's fine handiwork.

Let me prepare the school curricula for next calendar year.

Re:China Completes Green Belt Around Taklamakan Desert on Sunday December 08, 2024 @12:21PM (#42358415)
Unlike when God slaughtered several million bison, right? https://allthatsinteresting.com/buffalo-slaughter
Re:Asleep at the Wheel in the Headlight Brightness Wars on Thursday December 05, 2024 @06:58PM (#42334291)
Peel their eyelids off and put the headlights in front of them. Let's see who's laughing then.
Re:Asleep at the Wheel in the Headlight Brightness Wars on Thursday December 05, 2024 @06:51PM (#42334224)
> The crusade against bright headlights has picked up speed in recent years, in large part due to a couple of Reddit nerds. Could they know what’s best for the auto industry better than the auto industry itself?

Yes. This industry is fucking stupid.

Sincerely yours, Fuck You

Superluminal is a sampling profiler for the most part. It works great for what it does, sure. But in the author's own words:

> So far, we’ve only used perf to record stack traces at a regular time interval. This is useful, but only scratching the surface.

For cache hits and other counters, you're gonna have to go deeper than just sampling.

You have earned your Martini.
I was half-joking. I wasn't aware Java was promoting "defensive copies" :D
Interesting. Why doesn't the standard lib use that for the examples I listed?
"You mean you're going to make a copy of that every time?"
Missing from this post: string_of_int, int_of_string, +, +., etc. That alone is a massive turn-off for me, I'd rather write C at that point. Any modern language necessitates some kind of polymorphism and make user-defined types feel like first-class citizens.
Compiler messages:

The big difference here is that the OCaml compiler has a lot less work to do. It's not that the Haskell error messages are inadequate (they are actually pretty good), but that the amount of compiler features and type gymnastics make the errors deeper and more complex. For example, if you get the parens wrong in a >> or >>=, you'll get some rather cryptic error that only hits home once you've seen it a few times, as opposed to "did you mean to put parens over there?"

Engineer vs mathematician. Haskell is the schizophrenic product.

> If I come to an existing OCaml project, the worst thing previous developers could do to it is have poor variable names, minimal documentation, and 200+ LOC functions. That’s fine, nothing extraordinary, I can handle that. > > If I come to an existing Haskell project, the worst thing previous developer>s could do… Well, my previous 8 years of Haskell experience can’t prepare me for that

This is kind of like Go vs C++, or <anything> vs Common Lisp. The former is a rather unsophisticated and limited language, not particularly educational or enlightening but good when you need N developers churning code and onboard M new ones while you're at it. The latter is like tripping on LSD; it's one hell of a trip and education, but unless you adopt specific guidelines, it's going to be harder to get your friends on board. See, for example: https://www.parsonsmatt.org/2019/12/26/write_junior_code.htm...

Re:Buy Nothing Day on Friday November 29, 2024 @02:53PM (#42276568)
Exactly. Plus you get all the discounts scavenging on excess inventory.
Re:QwQ: Alibaba's O1 Like Reasoning LLM on Wednesday November 27, 2024 @10:25PM (#42262150)
And Hollywood.
Re:QwQ: Alibaba's O1 Like Reasoning LLM on Wednesday November 27, 2024 @10:23PM (#42262135)
Unlike in the US?
Re:Show HN: App that asks 'why?' every time you unlock your phone on Wednesday November 27, 2024 @12:59PM (#42258126)
It's like self-help but flipped on its head. They're going to need a new section for it at the bookstore.
Re:Functional Programming Self-Affirmations on Tuesday November 26, 2024 @01:24PM (#42248386)
Interesting link, thanks.
Re:Remembering Cyberia, the First Ever Cyber Cafe on Tuesday November 26, 2024 @12:48PM (#42247956)
The guy at 2:45 in the video got it right.
Re:Functional Programming Self-Affirmations on Tuesday November 26, 2024 @12:44PM (#42247903)
You don't need coroutines or async or anything complicated to model monads, just functions and data structures. Search for "c++ monads" and you'll find a ton of examples.

Older »