HN user

htfy96

1,252 karma

test

test emph

  verbatim
https://www.gnu.org/
Posts77
Comments155
View on HN
github.com 23d ago

VNote: A pleasant note-taking platform in native C++

htfy96
5pts0
github.com 2mo ago

VNote, a Qt-based, free and open source note-taking application

htfy96
2pts0
criu.org 2mo ago

Checkpoint/Restore in Userspace (CRIU)

htfy96
3pts0
www.humprog.org 2mo ago

Enabling Monoglot Programming

htfy96
3pts0
smallake.kr 4mo ago

Trading Strategies (2018) [pdf]

htfy96
1pts0
intmainreturn0.com 1y ago

Backtrace is finally cheap by abusing x86/Linux's shadow stack

htfy96
16pts0
masm32.com 1y ago

Assembly Optimization Tips by Mark Larson (2004)

htfy96
49pts19
directory.fsf.org 1y ago

All (386) GNU Packages

htfy96
5pts1
intmainreturn0.com 1y ago

Show HN: Visualize the syntax tree of 80 languages in browser

htfy96
2pts0
intmainreturn0.com 1y ago

Secure Memory Allocators to Defend Memory Safety in Depth

htfy96
1pts0
code.nasa.gov 2y ago

NASA Open Source Software

htfy96
36pts9
smallake.kr 3y ago

Trading Strategies (2018) [pdf]

htfy96
1pts0
smallake.kr 3y ago

Trading Strategies (2018) [pdf]

htfy96
5pts0
www.cs.yale.edu 3y ago

Notes on Theory of Distributed Systems [pdf]

htfy96
199pts45
www.cs.yale.edu 4y ago

Notes on Theory of Distributed Systems [pdf]

htfy96
2pts0
isocpp.org 5y ago

ISOcpp D2349: std::pony

htfy96
1pts0
www.bloomberg.com 5y ago

Young Chinese Workers Trade the Grueling 996 for ‘Touching Fish’

htfy96
2pts0
news.ycombinator.com 5y ago

Ask HN: Is maintaining/supporting old tech stack a profitable business?

htfy96
4pts1
www.kernel.org 5y ago

The Linux kernel user’s and administrator’s guide

htfy96
19pts0
en.wikipedia.org 5y ago

Eternal September

htfy96
6pts0
news.ycombinator.com 5y ago

Ask HN: Why Docker(moby) didn't release any new version in the past year?

htfy96
3pts0
bigcgi.com 5y ago

bigCGI: A serverless computing platform harnessing the ancient magic of CGI

htfy96
3pts0
www.stroustrup.com 6y ago

Thriving in a Crowded and Changing World: C++ 2006–2020 [pdf]

htfy96
2pts0
learnvimscriptthehardway.stevelosh.com 6y ago

Learn Vimscript the Hard Way

htfy96
2pts0
news.ycombinator.com 6y ago

DigitalOcean Data Leak

htfy96
14pts7
www.forbes.com 6y ago

Warning over Xiaomi Recording Millions of People’s ‘Private’ Web and Phone Use

htfy96
3pts0
blog.jquery.com 6y ago

JQuery 3.5.0 Released

htfy96
1pts0
wiki.gnome.org 6y ago

GTK+ 4 checklist (2019)

htfy96
22pts14
guix.gnu.org 6y ago

GNU's distro Guix deprecates support for the Linux kernel

htfy96
4pts1
playonjump.com 6y ago

Jump, an indie game streaming service, has officially shut down as of 2/13/2020

htfy96
1pts0

Not true. China is definitely adopting AI more universally than western countries, and I have friends in China losing designing jobs due to AI. They remain optimistic as (1) the society typically doesn't blame the technology advancement (2) they switched to an AI powered content creator (fortune telling and meme videos) and continued to make money

Correct. As someone who maintain a 16-year-old C++ code base with new features added every day, The status quo is the best incremental improvement over deep copy semantics.

There are better choices if everything is built from scratch, but changing wheels from a running car isn't easy.

I have a close friend working in core research teams there. Based on our chats, the secret seems to be (1) massive compute power (2) ridiculous pay to attract top talents from established teams (3) extremelly hard work without big corp bureaucracy.

21st Century C++ 1 year ago

While I sort of agree on the complaint, personally I think the best spot of C++ in this ecosystem is still on great backward-compatibility and marginal safety improvements.

I would never expect our 10M+ LOC performance-sensive C++ code base to be formally memory safe, but so far only C++ allowed us to maintain it for 15 years with partial refactor and minimal upgrade pain.

Terence Tao on O1 2 years ago

It raises the bar of 'professional 3D artist'.

There're hundreds of thousands of '3D worker' working behind the scene to create the 3D models for makeshift ads, and as far as I know many of them (including my high school mate) already got displaced by Midjourney and lost their job. This used to be a big industry but now almost entirely wiped out by AI.

Note that there's a more reader-friendly list with support for filtering by category at https://software.nasa.gov/ . Specifically I found DATA SERVERS PROCESSING AND HANDLING especially helpful for general SWEs. Here's a list of my personal picks:

- Shift: Self-Healing Independent File Transfer

- BASSHFS: Bash-Accessible SSH File System: SSHFS but without fuse dependency

- Ballast: Balancing Load Across Systems: load balance for SSH servers

It depends. O0 turns off a few trimming optimizations and could potentially causes more information (code or DWARF) to be included in the objects, which may eventually slow down the compilation. In our large code base, we found that -O1 works best in terms of compilation speed.

There's also a more blasphemy-ish approach of interop between C++ and Rust if the C++ code already have good Python bindings: C++ <=> Python <=> Rust. It's not bad as you may think. My company uses it to adapt C++ to Rust without rewriting the 40K LOC Pybind11 boilerplate. Going through the Python interpreter is definitely slower than a native call but perhaps <3x since we only rely on Python being a hosted + GC environment, plus it's much easier to express lifetime in Rust given that everything is managed on Python heap.

the downside of this is that companies with locked compiler versions won't be able to use the static analysis tool. Up-to-date compiler versions, according to my observation, is more like a privilege of BigTech and startups. Tons of firms are still using the bundled compiler in RHEL and only upgrade every 3-5 years, though in this case the off-tree decision more likely came from the intent of bypassing compiler repo code reviews for faster iteration (very typical at BigTech when you need KR every quarter)

The motivations in claims unfortunately don't apply to my case:

1. FFI boundary will likely to exist forever in a milions-of-line C++ codebase, especially when the behavior of this system is not possible to be formally specified / tested (e.g., depending on an unknown external system, or some behaviors specified in hundreds of pages "specs" full of jargons)

2. In the above case, when C++ code dominates the FFI cost would be signified as you need to call C++ routines frequently to achieve stuffs. For example, when every struct has some methods returning std::string the std::string needs to be targeted.

In our case, the primary motivation of Rust isn't its safety - we just use it for syntax sugars and ease of extensions (with proc macros).

Lua in the Kernel? 6 years ago

I guess running an alternative language in kernel is not very challenging. (I tried it two years ago and managed to run i8042 keyboard driver in WebAssembly on Qemu) The hard part is interoperability. Even in languages with automatic C header -> native prototypes conversion capabilities, many kernel features are still not properly handled, especially the macros. Status quo requires the user to manually extract wrappers which could be super tedious.

There are few times you'd join more than say 5 or 6 tables.

This is only true in new tech where data relationship isn't complicated. Any stored procedure in bank would contain joins with no fewer than that number of tables.

This article only tested two pages, each with millions of data. In corporate developments (and probably the original meaning of "joins don't scale" in the era of Oracle/MSSQL), it's usually the opposite - usually joining half dozen of tables, each with a few data, but their mappings and underlying relationship are usually not explicitly-defined, making joins across multiple tables super slow (RDBMS can only plan the query based on fundamental stats). In other words, joins now scale with table size, but still a challenge in terms of #tables

Featherweight Go 6 years ago

For caching mechanism, there's zapcc (https://github.com/yrnkrn/zapcc) which launches a background server at first compilation, and reuses instantiated template from the server in the following compilation. Sadly this project was discontinued.