Better HN
topnewbestaskshowjobs
Log inSign up

shortrounddev2

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

Submissions

comment 3y ago · link · parent

Idk about Unix but I sometimes see people port modern languages or programs to freedos

comment 3y ago · link · parent

Steam deck is too big for my use case

comment 3y ago · link · parent

I would do something similar if I could get a desktop OS running on a tablet, but I would prefer a much smaller tablet than the iPad (like 7in). I need to be able to run either Linux or (preferably) windows. I wonder if there are mini tablets that do what I want...

comment 3y ago · link · parent

They often advertise as "pocket sized", which I take to mean: "put this in your pocket", but I guess I could be wrong

comment 3y ago · link · parent

Yeah the first is what I mean. I see a lot of those but I don't understand the portability aspect of it. They're often advertised as "pocket size", which I assume means "portable" (why else have it in your pocket?) But I can't imagine a portable PC is very useful without access to a monitor or keyboard

comment 3y ago · link · parent

> monitors are (almost) everywhere.

Can you give me an example of a place you're commonly at where you have access to a monitor? Personally I can't think of any other than home

1057.

Ask HN: Do you use a mini PC, and what's your workflow?

15 points · by shortrounddev2 · 3y ago · 31 comments

comment 3y ago · link · parent

Did you know SICP is in Javascript now?

comment 3y ago · link · parent

If it's means tested, what about this is guaranteed income? This just sounds like welfare

comment 3y ago · link · parent

Should add microsoft's SAL. Comes built in to MSVC

comment 3y ago · link · parent

clout

comment 3y ago · link · parent

Sure, I understand all that. But those are the reasons the book was hard to read and why I preferred the films

comment 3y ago · link · parent

It's the "thees" and "thous" that break the immersion for me. It feels like reading the Bible. I just can't relate to characters who talk like that. They don't talk like real people

comment 3y ago · link · parent

Personally I find the films far more approachable than the books. There's too much goddamned singing in LOTR and the prose doesn't feel nearly as dark and serious as the films

comment 3y ago · link · parent

I have no clue why anybody would use work slack for anything more than friendly conversation. The idea of using company-monitored communications to discuss dissatisfaction with your jobs is insane to me

comment 3y ago · link · parent

Meanwhile I'm using qhd at 60hz still. Never got the hype over 120hz

comment 3y ago · link · parent

would be cool to see a writeup converting these to equivalent powershell queries

comment 3y ago · link · parent

iirc the people who wrote VMS were hired to write NT

comment 3y ago · link · parent

Unpopular opinion but I like Microsoft's API design of having types for most things and using structs and C++ classes more than the Unix/Posix design of most things being an integer handle (yes I know Win32 has HANDLE objects). For me this translates to DirectX's everything-gets-a-type being preferable to OpenGL's everything-returns-GLuint

comment 3y ago · link · parent

You have to pay monthly for it

comment 3y ago · link · parent

Why does it seem like a lot of the local AI tools target mac specifically? Why don't AI developers seem to be able to write cross platform software?

comment 3y ago · link · parent

There exists dozens if not hundreds of programmatic advertising companies you can go to to show banner ads, not to mention Google

comment 3y ago · link · parent

> So you have never worked in an office with other people?

I used to, but even then nobody actively watched me code. Everyone else had their own jobs to do

> During an interview I am fine with pseudo code as long as you can explain what you want to do. During actual sprint I actually expect tested deliverables.

So you're optimizing for the ability to write pseudocode under intense time pressure and social awkwardness. Is that the most important quality you seek in a candidate?

comment 3y ago · link · parent

I once had a lambda that was running at like 10mins and timing out. It downloaded a bunch of data from an API, ran some statistical functions on it, and then uploaded it to a database.

I found that the biggest performance increase came from async downloads. By sending multiple http requests at once it went from 10 to 2min. After that, optimizing the queries sent to the API reduced the amount of data that had to be downloaded. Finally, I found the best way to bulk upload data to mysql was to use file based uploads which simply copy themselves into the database. Sending 500 inserts at a time was wayyyyy slower. Managed to get it down to 30s. I also switched from python to Java but I never measured the difference between the two

comment 3y ago · link · parent

Using electron isn't a performance decision, it's a labor one. It's easier to write a website once and then just export to electron than it is to rewrite your application in QT or XAML or another native desktop framework and have to hire C++ or C# developers

comment 3y ago · link · parent

In my experience the biggest bottlenecks are in the network. Most optimizations are also very very low hanging fruit because the original code was written by a moron

comment 3y ago · link · parent

I literally never have anyone watching me code, and the time pressure of an interview is way shorter than a 2 week development cycle

comment 3y ago · link · parent

It's admirable, but the interviewee is always under some kind of pressure to perform. if you are taking a conversational tone, they're going out of their way to be similarly nonchalant

comment 3y ago · link · parent

Not him but

1.) DS and Algo knowledge are way overrated in day-to-day job functions. I have yet to have to implement a single DS or Algo from those classes (they are almost always available to the framework, standard library, or language), runtime complexity has literally never once come up in my life, and the most I've ever needed to know about data structures is "which one should I use here?" and 99% of the time its either a vector (arraylist) or a map (dictionary).

2.) Just because you don't have a proclivity for code-golf does not mean you don't know DS and Algos, it just means that you don't waste your free time writing unreadable code for useless puzzles which serve only as interview questions.

comment 3y ago · link · parent

Better simulates the conditions of the job. I never have to write code on-demand in front of my boss with my job on the line. I get assignments and I do them asynchronously. Less pressure that way and I can do it right.
1
353637
55