News for hackers. Stuff that matters.

kwant_kiddo

Re:Ask HN: Do you still use Search Engines? on Tuesday April 08, 2025 @04:13PM (#43625997)
no, and there are two major features of using LLM instead of search engines.

1. No prompt about decline/accepting cookies every time I want to look something up.

2. No ads.

the results are mediocre the same way using google is.

Re:Ilya Sutskever's SSI Inc raises $1B on Wednesday September 04, 2024 @12:05PM (#41447362)
I repeatedly keep seeing praise for Ilyas achievements as a scientist and engineer, but until ChatGPT OpenAI was in the shadow of DeepMind, and to my knowledge (I might be wrong) he has not been that much involved with ChatGPT?

the whole LLM race seems deaccelerate, and all the hard problems about LLMs seems not do have had that much progress the last couple of years (?)

In my naaive view I think a guy like David Silver the creator/co-lead of Alpha-Zero deserves more praise, atleast as a leader/scientist. He even have lectures about Deep RL after doing AlphaGo: https://www.davidsilver.uk/teaching/

He has no LinkedIn and came straight from the game-dev industry before learning about RL.

I would put my money on him.

it is a shame they don't do physical print through
Re:C++ Safety, in Context on Tuesday March 12, 2024 @11:53AM (#39681005)
I think it is remarkable how important ABI is to C++. I think 'making it easier to enable them' i.e. enable the sane defaults went down the drain once they locked in on not breaking ABI.

I am sure that Herb wrote this with good intentions, but no concrete measures was proposed but trying to standardize compiler tools, and to some extent downplay Rust.

I agree there is a misconception around programming safety, but this reads the same as when big industry say the want to focus more on climate change.

Re:Ask HN: High performance, low latency IDE suggestions on Friday January 26, 2024 @06:00PM (#39149995)
I have not found a better 'true' IDE experience than JetBrains. Once it has done it's thing, it works pretty good. If your projects are big like a C++ codebase +2mil LOC then well the latency is going to suffer.

If you count VSCode as an IDE then I would suggest neovim with an LSP and a fuzzy finder. It is the fastest/best dev setup I have experienced for most things.

If you are very latency sensitive I am afraid an IDE/'smart'-editor may not be for you. Then I again would consider some lightweight editor that has fuzzy search and no intellisense.

Re:Ask HN: How to Get into Quantitative Trading? on Friday January 26, 2024 @05:49PM (#39149888)
this makes me believe you never were in a quant shop, sorry. At least if your goal is making money.

I think it can be a fun project to make an engine, and try to make models, together with some form of ingestion pipeline and finally solve and calibrate the models. Try some simple products, and see how close you can get to real world prices.

Making pricing/risk engines are in my opinion somewhat close to game engines even through that the domain is so different.

Re:Converting the Kernel to C++ on Wednesday January 10, 2024 @04:46PM (#38943690)
Somewhat related: In 2020 gcc bumped the requirement for bootstrapping to be a C++11 compiler [0]. Would have been fun to see the kernel finally adopt C++14 as the author suggested.

I don't think that Linus will allow this since he just commented that he will allow rust in drivers and major subsystems [1].

would have hoped see more answers or see something in here from actual kernel developers.

0: https://github.com/gcc-mirror/gcc/commit/5329b59a2e13dabbe20...

1: https://youtu.be/YyRVOGxRKLg?si=_ad7wU51bDdDg6Ic&t=104

Re:Misra C++:2023 Published on Monday December 18, 2023 @06:02AM (#38681120)
I don't think this is true, but I don't know this for sure. From what I have read it seems that 'only' Bloomberg, Meta and Microsoft that uses c++ with exceptions.

And since both microsoft and meta are adopting rust in their services it seems to me that they are looking for another language than C++. (why else adopt a new language?)

Following seems not to use exceptions(?)

LLVM: https://llvm.org/docs/CodingStandards.html#do-not-use-rtti-o...

AWS: (seems to be using Google's guidelines to be fair)

Webkit: https://gist.github.com/derofim/df604f2bf65a506223464e3ffd96...

Qt: https://doc.qt.io/qt-6/exceptionsafety.html

gcc: https://gcc.gnu.org/codingconventions.html#Exceptions

Unreal: (not totally sure, but I think it uses error codes internally)

Most of the embedded world. + any console game you ever played or heard of.

Re:Misra C++:2023 Published on Sunday December 17, 2023 @04:01PM (#38676375)
it is easy? It is the named constructor idiom.

I don't understand why jupp0r is getting downvoted?

Most big public c++ projects turn off exceptions, so it seems to be the norm more than anything.

Re:Ask HN: What are your predictions for 2024? on Tuesday December 12, 2023 @12:22PM (#38615264)
- Google will lose the 30% tax on their app store and so will Apple.

- OpenAI is going dominate the AI-space (again).

- Inflation will continue to go down, and we will see inflation at ~2 % at the end of 2024.

- Trump will be favoring the american election starting at the end of 2024.

- Ukraine will be forced to start negotiations on giving up land to Russia.

- a JSON parser will be accepted into the C++ standard, but still no official package manager, just kidding =)

Re:Modern C++ Programming Course on Tuesday November 28, 2023 @04:50PM (#38451795)
yes, LTO itself does not inline but from a user point of view it does, and that is exactly my point. If you are a beginner and you do not come from C, then you might not think about these things (maybe you do I did not).

I get that it is just an implementation detail, but so are many things in C++ and you usually care about these things otherwise you would not be using the language in the first place.

Many projects also disable exceptions that is also an 'implementation detail' (or at least something that is definitely not required by the standard I would imagine), but now you are technically not writing C++ anymore.

I guess this is also one important thing when learning C++. The community is very fragmented, and there seems to be disconnect between C++ users and committee.

Re:Modern C++ Programming Course on Tuesday November 28, 2023 @11:39AM (#38447659)
One thing that would have helped me when I started learning C++ was learning the C++ compilation model i.e. translation units.

It is surprising how many people look surprised (that also claim they know the language) when you tell them that code in .cpp does not get inlined into other .cpp files no matter what doing compilation. (yes the linker can (and should) do that with LTO doing linking)

Re:Ask HN: Why is GPT4 better than the other major LLMs? on Saturday November 25, 2023 @04:47PM (#38417012)
I think one clear difference is that they are just so focused on shipping compared to the others, and they gain many of the benefits that comes with that.

I think it is reflected in both Greg and Sam that they really want to ship, and this have made a positive feedback loop into the team and what talent they have been able to acquire but also build up.

Another point might be that AI chatbots are a first-movers market. Even if Grok turned out to be much better I would still miss some of the UI features that ChatGPT provide along with my chat-history.

In regards to their fast shipping I think it is also reflected in their tech-stack. I suspect from reading their job posts (I might be very wrong here) that they started just coding everything in Python and the tooling/ecosystem that goes along like FastAPI/Django etc. maybe a bit C++/CUDA for the training. Then when they needed to scale they migrated from Python to Rust in the more critical areas of the codebase. They clearly also have a monorepo mentioned from [1].

if you look through the their career-page the job description of a software engineer for developer-productivity [1] mentions "Our current environment relies heavily on Python, Rust, and C++" also "Are a proficient Python programmer, with experience using Rust in production" I found an earlier one where they mentioned that their backend was written in Python. "Proficiency with some backend language (we use Python)" [2]:

1:https://openai.com/careers/software-engineer-developer-produ...

2:https://openai.com/careers/software-engineer-leverage-engine...

Re:Ask HN: Big C++ projects that uses Exceptions and RTTI? on Saturday November 25, 2023 @03:04PM (#38416217)
The premise is that exceptions should be zero cost to check, however it worries me when profiles like Tim Sweeney says that his code got 15% faster by turning off exceptions [1].

[1]: https://twitter.com/TimSweeneyEpic/status/122307740466037145...

Re:Ask HN: Big C++ projects that uses Exceptions and RTTI? on Friday November 24, 2023 @05:43PM (#38409196)
Okay, do you think the effort is worthwhile? Or do you think migrating to a language with a bigger runtime would have been a better choice? Because that is usually the conclusion I make. If you can afford that the compiler emits code for exception handling in all your functions and pay rtti then maybe your problem does not need that kind of performance in the first place. And you get all the downsides of using C++, and don't benefit from the upsides => just write it in go/java/c#

I think another big issue is the complexity overhead of 'introducing' exceptions in a already complicated language. When you use exceptions the control flow of the program gets 'invisible' should you recover from a exception.

Also, just writing data structures in general that obeys the weak and/or strong exception guarantee is not very easy [1].

Like it makes writing (correct) C++ even harder than it already is.

[1]: https://en.cppreference.com/w/cpp/language/exceptions

Ask HN: Big C++ projects that uses Exceptions and RTTI?

In my career the places I have been that uses C++ (with success) have all been using -fno-exceptions and -fno-rtti. All major open-source C++ projects seem to do the same. Chromium, LLVM, Electron, protobuf etc.I guess if you want to excel at this language and build software (in C++) that people actually use you have to learn to use it without exceptions and rtti?Some projects do use them like...

( Read More... | 4 comments | 4 points | on HN )
Re:Committing to Rust for Kernel Code on Thursday November 23, 2023 @03:05PM (#38396914)
compiling on mac is very easy/fluent experience for me. I guess OSX is still kinda first-class citizen for LLVM so maybe it does not count?
Re:Sam Altman, Greg Brockman and others to join Microsoft on Monday November 20, 2023 @04:20AM (#38345291)
Still the aftermath leaves a bitter taste in my mouth about Sam and Greg joining MS. Regardless of whether the AI development in OpenAI was responsible, I think they succeeded in making a product and a culture I have not 'felt' since the early Google days.

Naively, I had really hoped for Sam and Greg to start their own and not join MS. I think a lot of the value was being coherent and to some extent independent. I can't help to think that the same will happen to the 'new' OpenAI as what happend to DeepMind once they became Google DeepMind (again).

What makes you think it is 'his' work and not theirs? I remember when OpenAI was just a joke compared to Deepmind. The turning point (as I remember) was when they used [1] deep reinforcement learning on dota2. clearly iyla (also one of the authors) contributed, but so did many others on the team I assume?

[1]: https://arxiv.org/pdf/1912.06680.pdf

Re:Ask HN: Do companies validate their recruiting strategies? on Monday November 13, 2023 @04:09PM (#38255419)
we don't; and it shows :(
Re:Kalman Filter Tutorial: Kalman Filter from the Ground Up on Saturday October 14, 2023 @05:58PM (#37884626)
at least in HFT as I am aware, however I see that KF actually IS extensively used elsewhere.
Re:Kalman Filter Tutorial: Kalman Filter from the Ground Up on Saturday October 14, 2023 @03:11PM (#37883306)
edit: Extensively!! In control theory it seems :)

It is just that I keep seeing KF be mentioned on Twitter and blogs etc. for using it in finance.

Re:Kalman Filter Tutorial: Kalman Filter from the Ground Up on Saturday October 14, 2023 @02:46PM (#37883100)
Often in textbooks and on here on HN Kalman Filters are praised, but folks from the industry often ridicule Kalman Filters.

All People I have interacted with have never used/seen Kalman Filters outside Academica. Do anyone here have industry experience where Kalman Filters is actually used in prod?

Re:Ask HN: Something that you learnt and made you go Wow on Monday September 25, 2023 @04:45PM (#37650345)
Silly, but getting comfortable with vim macros.

Not really wow, but makes me smile when I parse +100 lines in under 10s. Coworker might be impressed if you can pull it off on the spot. Too bad some editors are not emulating it too well.

Re:The low, low cost of (committing) cybercrime on Thursday August 31, 2023 @05:06PM (#37343686)
A bigger problem for me personally is the high cost of reducing developer productivity and increasing operational risk just for the sake of cyberponies trying to defend their job.

Also I am not so sure the cost is that low. Well for phishing attacks maybe, but what is the return here?? Many skilled people had been caught doing 'cybercrime'. I just think if you compare this to e.g. tax-fraud then I would expect the risk/reward to be much higher than doing phishing attacks.

Re:Stable Diffusion in pure C/C++ on Saturday August 19, 2023 @10:15AM (#37189004)
not sure what "It's not hard to write Python code that "optimally exploits" the GPU", exactly means but Python is so far from exploiting the GPU resources even with C/C++ bindings that it's not even funny. I am sure that HPC folks would have migrated way from FORTRAN and C/C++ long time ago if it was so easy.
I almost wrote a non-US company. In general I must say that working for tech in European firms vs US firms is night and day, but that is another discussion :)
Worked in a similar organisation also. The culture in european banks is even more dull than I expected before working there.

The view on technology and infrastructure is very primitive... as you can also read from just the header "IT division". I initially thought that they were competent but greedy turns out the banks are really just greedy, naive and sometimes... plain stupid.

I don't know if it's unique to Europe, but I am never working for a non tech-first company again.

Not a book, but learning analysis changed my view on math. In my BSc in CS I only learned discrete math and maybe some algebra also a bit of geometry, but no analysis! Analysis is in my opinion harder to start with and maybe requires some more discipline. I remember when I finally understood how to actually use the extreme value theorem or realising how useful the triangle-inequality is for proving. Another cool thing about analysis is that all machinery you develop is used in applied math. The most useful math like Fourier, DE's, Stoc. Proc, SP is all analysis under the hood.

Another thing that chanced my view on math (somewhat depressing I admit) is how important programming and systems knowledge is for using math in the real world. We had a math 'expert'/professor write an important routine at work for a year, and we ended up deleting all his code and rewriting it.

I am also biased in this regard. For me maths is just another tool, but math is not about writing algorithms it is about writing proofs.

Re:Are Consultants worth the money they charge? on Wednesday July 12, 2023 @05:38PM (#36702036)
Sure, but not always in the way you'd presume. In many instances, management consultants are tools leadership uses to support their agendas, not necessarily to spur growth. I can speak for family-owned European companies (which there are many of and quite big) that operate more conservatively. Despite seeming to "throw money away" at consultants, they continue to do so. So clearly there is market for hiring expensive management consultants. In most parts of Europe, management consulting is seen as more prestigious and better paying than tech or finance, reinforcing the industry's perception of these firms as the 'elite'.

I think all people who are actually building something knows that they bring nothing of value especially when you weight the opportunity costs, but that does not really matter.

Older »