Better HN
topnewbestaskshowjobs
Log inSign up

happyweasel

152 karma · joined Apr 5, 2017 (9y ago) · 118 submissions

Submissions

comment 1mo ago · link · parent

Proof that rucking is good for your health

comment 1mo ago · link · parent

Tunnel it

comment 2mo ago · link · parent

Telegram on the desktop used qt widgets and not qml, at least on windows

comment 3mo ago · link · parent

You are essentially one executable just an editor so why don't you link statically ? Apart from the c runtime?

comment 3mo ago · link · parent

100% of the user space programs were from gnu. Compiler was from gnu

The initial filesystem was minix

The kernel was Linux.

So I would say Linus had 100s of man years of ecosystem he could benefit from and that is the oss spirit.

But yeah he did not write a shell or an editor or Compiler etc and the kernel was of course oriented towards an unix like os.imagine you would have had to start from scratch, if you had just had a PC and a bios.

comment 3mo ago · link · parent

"AI is a jet engine "

and rust just wants to ensure you are a capable pilot that can actually steer a plane before stealing everyone else's attention

comment 4mo ago · link · parent

Porting perfectly working C code that has been in production for decades (and has a great track record wrt to security fixes) to rust is more or less an obfuscation challenge.

comment 4mo ago · link · parent

Same ,I switched to cursor. I told it how to invoke msbuild and it can edit away without needing a native Visual studio plugin.. no problems at all. Target language c++

comment 5mo ago · link · parent

wow, basic stuff c++ had since the 80s. congrats. clap, clap, clap. now can someone please make this app that is running with -Xmx360m not use 700mb of resident memory ? asking for a friend.

comment 6mo ago · link · parent

You go to the gym to lift. Not to talk. You may talk shortly if it is related to something you need to continue your workout. Apart from that you do not talk. End of story.

comment 7mo ago · link · parent

Used this kind of font for output on the 320x200 screen all of the time in the late 80s while coding 68k asm on the Atari St

comment 7mo ago · link · parent

In the early 1990s, C++ had not yet been standardized by ISO, so your argument doesn’t apply to that period.

comment 10mo ago · link · parent

Let's see how this unwrap()s in production scnr

comment 11mo ago · link · parent

hmm how can I reuse this useful Go library in python... Oh I can't.. hmm and how can I reuse this useful java library in php ? Oh I can't. Oh and which of the programming languages you mentioned can and do use C libraries? All of them.

Reminds me of that coworker who thought that OpenCV was basically written in python.

comment 11mo ago · link · parent

does your gtx 1060 help in any way for the NAS use case?

comment 1y ago · link · parent

>BUT there's another piece that makes or breaks these tools... whether they can >build a community around them and stick around for years...

Why ? who cares? if the tool solves the problem, you need a community maintain it. And that's it.

comment 1y ago · link · parent

Oh, let me guess... The protests were organized by groups that get their funding from the NED or other Western sponsored NGOs ? (Asking for a friend)

comment 1y ago · link · parent

I always wanted to check out https://qskinny.github.io/ it looks compelling and sticks to c++

comment 1y ago · link · parent

vcpkg it

comment 1y ago · link · parent

I share the same perspective .. I was also wondering how UDA handles the problem of evolving schemas, "old clients" communicating with newer server or vice versa.

comment 1y ago · link · parent

>The truth is that although the AWS Load Balancer Controller is a fantastic piece >of software, it is surprisingly tricky to roll out releases without downtime.

20 years ago we used simple bash scripts using curl to do rest calls to take one host out of our load balancers, then scp to the host and shut down the app gracefully, and updated the app using scp again, then put it back into the load balancer after testing the host on its own. we had 4 or 5 scripts max, straightforward stuff..

They charge $$$ and you get downtime in this simple scenario ?

comment 1y ago · link · parent

Absolutely. Information can no longer be retrieved via internet search. Discord and Slack are effectively silos.

comment 1y ago · link · parent

IMHO, Deutsche Linux-Distribution (DLD) was the first german linux distribution (first release in 1992).

comment 1y ago · link · parent

Buggy/incomplete Openapi codegen for rust was a huge disappointment for me. At least with grpc some languages are first class citizens. Of course generated code has some uglyness. Kinda sad http2 traffic can be flaky due to bugs in network hardware.

comment 2y ago · link · parent

mfc has resizable ui layouts called Dynamic layouts (since the 2015 update?), and for wxwidgets there is wxformbuilder. Most stuff for mfc can be set in the dialog builder wrt to resizing, or in code. I cant remember doing manual pixel layouting ever, there are dialog base units or sth like this. People have been setting the ui to 120dpi from the 96dpi standard already decades ago. And the dialogs automatically readjusted without recompiling.

I also recently found out my mfc tools are per monitor high dpi aware without any interference from my side.

comment 2y ago · link · parent

The only real comparison would be a rewrite in modern c++ and then compare that to the rewrite in rust. Also the author mentioned that the original code had no tests at all. Well, good luck.

comment 2y ago · link · parent

> Back in the summer of 1999 [..] > We went all digital. We were ahead of our time.

Well I had a DAT recorder in 1993. Even a DAT walkman.

comment 2y ago · link · parent

Mybatis Generator worked nice for java and MySQL 15 years ago..

comment 2y ago · link · parent

My Productivity tanked when using Rust but I have not written 20k Loc yet. Ownership gets messy when you have a complex mutable application model (worse: oop written according to SOLID principles). At that Point,Just give Up and use ref counting (which you would use in c++ anyway..).
1234