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

Will a 1280 work on modern telecom infrastructure? Wikipedia says it's 2G and I don't think there is any 2G infrastructure left

comment 2y ago · link · parent

I think the economic value of SAAS is not in the first S (Software) but the second S (Service). People and businesses don't want to handle physical infrastructure or even virtualized infrastructure. They want to give people money and have all their technical issues solved for them. Self hosted or locally-run open source alternatives are popular among devs and engineers who enjoy debugging things and configuring software, but for people who are trying to run a non-tech business, it's a waste of time.

comment 2y ago · link · parent

I dropped out of college to be a full time software engineer and I decided to go back to community college to learn more fundamental math. I'm starting a calculus class next week

comment 2y ago · link · parent

As an aside, I'm a big fan of this site's imitation of neoplasticism as a form of web design

comment 2y ago · link · parent

A galaxy a54 is like 50% of the price of an 24 but with like 80% of the specs and better battery life

comment 2y ago · link · parent

> Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp

https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule

comment 2y ago · link · parent

Some people abuse drugs as a way to stabilize themselves. They don't take cocaine to party, but they take it as I would drink coffee. Then when they're too high they'll take a Xanax to bring themselves down. They may combine many different drugs and think of this as a normal way to regulate their body or mood rather than a way to simply party. John Mullaney did this

comment 2y ago · link · parent

No, there is a rise in colon cancer among people in their 20s and 30s, and scientists are saying it's probably ultra processed foods

comment 2y ago · link · parent

They weren't being funny, that is a strange mix to OD on

comment 2y ago · link · parent

The benefit of heapalloc and heapcreate is that it makes serialization of data simpler because you can define the bounds of the heap so you can easily save pointer offsets. There are other flags available as well. It's a win32 feature so you would only use it if windows is your target platform (and then write other bindings for other platforms)

comment 2y ago · link · parent

I think the market rewards cheap keyboards because most people don't use desktop computers, most people do almost all of their computing on mobile phones. Some people use laptops for work, which they swap out about every 2 years, so the longevity of the keyboard doesn't matter to them.

I've seen coworkers using 65% or less mechanical keyboards and I have no idea how they get anything done. They always seemed like a cosmetic item to me, though they seem more portable if you're connecting it to a laptop. I use a full mechanical keyboard with keypad and regularly use home, del, pg up/up keys and appreciate having the arrow keys in their own little area. I use a few of the F-keys too. To each their own, but I personally find these tiny keyboards to be far less useful than a full sized keyboard

comment 2y ago · link · parent

I wouldn't expect windows to prevent creating further executable pages; there are legitimate use cases for creating dynamically allocated executable memory. It just means that whatever foreign data you load into those pages can't execute, which is a security mechanism (for example, game save data can be loaded into these heaps so that you can load all game state but without the save file potentially running foreign code)

comment 2y ago · link · parent

How could the design of keyboards be improved?

comment 2y ago · link · parent

Oh that is just beautiful

comment 2y ago · link · parent

Windows has a private heap system where you can disable code execution from the pages allocated to `HeapCreate`, if you don't* set that flag:

https://learn.microsoft.com/en-us/windows/win32/api/heapapi/...

> HEAP_CREATE_ENABLE_EXECUTE

> 0x00040000

> All memory blocks that are allocated from this heap allow code execution, if the hardware enforces data execution prevention. Use this flag heap in applications that run code from the heap. If HEAP_CREATE_ENABLE_EXECUTE is not specified and an application attempts to run code from a protected page, the application receives an exception with the status code STATUS_ACCESS_VIOLATION.

I think POSIX has equivalent memory protection calls, but no equivalent to HeapCreate

comment 2y ago · link · parent

This is not fair use

comment 2y ago · link · parent

This is just JIT'ing. It's used in python and lua commonly

comment 2y ago · link · parent

Well I am the engineer who is writing the technical specifications, I just also work with the CEO on writing the product requirements as well.

comment 2y ago · link · parent

I think if all you're running is web microservices, then it's probably not worth it. But my company builds machine learning models offline and I feel that if we bought a dedicated GPU machine (literally just build one and put it in the office, not a rack mounted thing), we would save money in the long run after building a custom training pipeline

comment 2y ago · link · parent

I think if you had a whole server rack, you might have to hire someone for that, but if you're just running one or two servers with containers to run your dev builds, you could get that set up on K8s and manage your deployments the way you would with AWS. I don't think it would require hiring new people, an existing devops guy should be able to do that

comment 2y ago · link · parent

I am 100% opposed to BS licensing requirements. They are intended to protect the income of the few at the expense of productivity for the many.

comment 2y ago · link · parent

The longer my career goes on, the less a lot of these cloud services make sense to me. I know why we have AWS deploy our production instances, but why are all of our staging and dev instances running on EC2? Can't we just buy an old PC and put it in the office and run dev builds on that? Sure it might be slow, but it's not meant to handle 100k QPS, it's just for QA

comment 2y ago · link · parent

Yeah I've only worked for one company that had a dedicated Network guy, and his work was being phased out as we moved everything towards AWS. Eventually the only work to do at the company was managing security for the company wifi network

744.

Ask HN: Do you find that product requirements degrade over time?

3 points · by shortrounddev2 · 2y ago · 5 comments

comment 2y ago · link · parent

> but what WASM offers that those do not is sandboxing

The OS's themselves offer sandboxing, not the app platform. Mac has a locked down permissioning system and Windows has App Containers. Linux has a few sandboxing options available, like flatpak

comment 2y ago · link · parent

I think tailoring each app to the platform you're targeting will always look better than cutting corners. Especially if you can integrate your app into the native styles of the target platform rather than just embedding custom CSS into every application so the target platforms lose all character entirely

comment 2y ago · link · parent

and there's a slight runtime difference between typescript classes and javascript classes

comment 2y ago · link · parent

The Iowa caucus is always poorly run. It's a stupid way to elect a nominee

comment 2y ago · link · parent

Biden was polling over 50% since the start of the race. The idea that Warren supporters owed Bernie their support is ridiculous (bernie and warren supporters hated each other), and the idea that everyone dropped out to save biden is a braindead conspiracy theory

comment 2y ago · link · parent

The Inflation Reduction Act is the most important piece of climate legislation since the 1970s
1
242526
55