Better HN
topnewbestaskshowjobs
Log inSign up

shortrounddev2

2,427 karma · joined Jun 15, 2023 (3y ago) · 1,641 submissions

Submissions

comment 2y ago · link · parent

True and thankfully I don't need to operate in such environments. Others have brought up embedded, which is an industry I don't work in

comment 2y ago · link · parent

Idk what fetishizing is supposed to mean in this context, I'm saying that a debugger is vastly more efficient tool than rerunning the program over and over

comment 2y ago · link · parent

If you need glasses, you need to get a set of lenses made for your prescription using a template they send you.

comment 2y ago · link · parent

Are x86's days numbered?

comment 2y ago · link · parent

Xreal sells an AR glasses pair that simply uses a USB c cable to show your input as a virtual screen. They also sell an accessory that tracks your glasses relative to the peripheral so that the screen remains static in the room. I'm not sure if it can do multiple displays though

comment 2y ago · link · parent

I started coding by just dropping print statements in my code to debug it. In college I was introduced to gdb and I never looked back. I will not code without a debugger now, it's such a waste of time dropping print statements in code and re-running. I'm always surprised when I learn about some language I'm interested in and finding out that the standard way to write code is in a text editor without an LSP implementation and just print debugging everywhere. I don't even start trying a language if I can't put breakpoints in somewhere.

comment 2y ago · link · parent

My dad worked for at&t and he got a budget for treating clients to lunch and such during meetings. He only got as much as he spent, so if he had $1000 left over, he would get $1000 less the next year. Each year, he would send someone out on his team to just buy a ton of gift certificates for the most common restaurants they take clients to and blow their budget in one day

comment 2y ago · link · parent

I'm working on my own game, but I'm trying to generalize some of my code to be reused in future projects. I don't wanna say I'm making an engine as much as a framework for writing graphics code in DirectX. I'm also working on various tools for creating configuration files

comment 2y ago · link · parent

I get messaged by recruiters in my area weekly, but I currently have a fully remote job, so I would need another fully remote job to willingly leave. However, if I were to lose my job, I think there would be plenty of opportunities out there in my area, and obviously I'd be willing to take an in person job if I needed to. Hell, I'd work at the 7/11 if I needed to, I got bills to pay

comment 2y ago · link · parent

I think that's just OOP

comment 2y ago · link · parent

I still use a 13 year old thinkpad sometimes and it's fast enough for regular laptop needs. I'm not running any games on it but it doesn't need to

comment 2y ago · link · parent

Windows runs on ARM, they have ARM based surfaces now

comment 2y ago · link · parent

The Open Source Initiative is a hypocritical organization that tried to trademark the term "Open Source" and was denied because they don't control the term and have no stewardship over it. Your interpretation is not accepted by the overwhelming majority of "experts in software engineering" (whatever that means), and I don't know of any way to quantify your claim either. What you are referring to is most likely FOSS, which is a more rigidly defined thing. Open Source, to most people, is a colloquial term that simply means that the source is available to be viewed.

comment 2y ago · link · parent

Why isn't it open to interpretation? Who made you king of open source software

comment 2y ago · link · parent

No, my thinking is that if software engineers are replaced by AI, then any job can be replaced by AI and the global economy will catastrophically collapse. I'm not afraid of being replaced because not only can I do nothing about it, but i will be utterly powerless to find any kind of income afterwords also. AI will have destroyed the world without any violence and then we'll all be in the same boat

comment 2y ago · link · parent

Learning is not a distinct thing I set aside time to do. I am always learning, and I don't have a strategy for acquiring information

comment 2y ago · link · parent

I am not afraid of being replaced by AI, at all

comment 2y ago · link · parent

Proton is like my 'pure' email. I sign up for things that are likely to spam me using my gmail

comment 2y ago · link · parent

I can't wait for the AI bubble to be over so HN can talk about something else

comment 2y ago · link · parent

How could they fix this? Perhaps a build version vs featureset version?

comment 2y ago · link · parent

The node versioning system makes no sense to me. They release a new major version and their key highlights sound like minor version changes:

> Enabling require(esm) by default for Node.js applications

> Removing support for Windows 32-bit systems

> Stabilizing the node --run command

> Enhancements to the test runner, including glob pattern support for coverage files

When Java or especially C# increment major versions, they've added some key language or compiler features, large new standard library changes, or breaking changes of some kind. Node uses major versions to announce what more or less sound like housekeeping. Unless they're just bad at writing blog posts, which it seems like they are. Under "Other notable changes", they have:

> [83eb4f2855] - (SEMVER-MINOR) deps: V8: cherry-pick cd10ad7cdbe5 (Joyee Cheung) #52535

Which tells me literally nothing about this "notable change", unless I go to the pull request: https://github.com/nodejs/node/pull/52535

> module: implement NODE_COMPILE_CACHE for automatic on-disk code caching #52535

Which still doesn't seem like a major version headline feature.

Consider this "notable change": https://github.com/nodejs/node/pull/55086/files

> doc: add abmusse to collaborators

> + * [abmusse](https://github.com/abmusse) -

> + *Abdirahim Musse* <<abdirahim.musse@ibm.com>>

I'm guessing they're fully relying on semver to generate their changelogs, but they're not providing any convincing reason to upgrade to 23.0.0 other than to remain up to date as an inherent virtue

comment 2y ago · link · parent

I like my Dell Inspiron 16, the anti-reflective coating makes it really easy to use in direct sunlight

comment 2y ago · link · parent

I think functional programming languages are at an inherent disadvantage

comment 2y ago · link · parent

Very cool, but should be bigger on desktop, it's hard to read

comment 2y ago · link · parent

I believe that the government should tax transactions involving money. If you cash out your bitcoin, then that's income, and should be taxed. I don't think unrealized gains of bitcoin should be taxed because bitcoin isn't money

comment 2y ago · link · parent

I believe crypto should be unregulated

comment 2y ago · link · parent

It's an interesting view because I find neatly compartmentalized functions easier to read and less error prone, though he does point out that copying chunks of code such as vector operations can lead to bugs when you forget to change some variable. I guess it depends on the function. Something like

    Vector c = dotProduct(a, b);
is readable enough and doesn't warrant inlining, I think. There's nothing about `dotProduct` that I would expect to have any side effects, especially if its prototype looks like:

    Vector dotProduct(Vector const& a, Vector const& b) const;

comment 2y ago · link · parent

Well there's also compiler directives other than `inline`, like msvc's `__inline` and `__forceinline` (which probably also have an equivalent in gcc or clang), so personally I don't think you need to make the tradeoff between readability and reusability while avoiding function calls. Not to mention C++ constevals and C-style macros, though consteval didn't exist in 2007

comment 2y ago · link · parent

Can someone explain what inlined means here? It was my assumption that the compiler will automatically inline functions and you don't need to do it explicitly. Unless it means something else in this context
1
192021
55