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

I would love this for a laptop but I feel like the tech is too new to be that compact

comment 3y ago · link · parent

They are clear, the server team is objectively wrong

comment 3y ago · link · parent

When I tried Matrix I found a lot of super right wing tech people using it. The main reason I could ascertain most of them were using Matrix was because they had been banned by other chat platforms for their opinions

comment 3y ago · link · parent

Personally I don't write portable shell scripts. They exist only for my own usage on my desktop. If we rely on any kind of script for deployment purposes at work, we use the scripting lang in the build system or a python script

comment 3y ago · link · parent

Obviously a bad server state should be 500

comment 3y ago · link · parent

The "lay" debate formats have the same technical rules as policy debate, theyre just shorter and dont lend themselves to spreading. Policy debaters clean up because theyre playing debate in hard mode, but the rules are still similar: present contentions, rebuttals, and anything that isn't addressed carries across the flow and is tallied up in the end as a mathematical formulation of who addressed which points when, and were those rebuttals convincing? Theres no room for the soft skills required to legitimately influence people in real life, the most important of which is listening.

comment 3y ago · link · parent

I still like REST. Most web applications are CRUD and don't need RPC. It also provides a standard and expected interface for 3rd party developers integrating with your code. If you're a small saas startup, nobody is going to waste their time learning the particularities of your protocol. Also makes the code very easy to read if you follow best practices for MVC style webapis with dependency injection. In my view, asp.net core is the apex of all RESTful frameworks

comment 3y ago · link · parent

Spreading is not a useful skill outside of debate. "Winning" by out talking your opponent is only useful in the context of competitive debate. If you do that when arguing with someone in real life, you come off as an asshole or autistic. Its an utterly useless skill after the age of 22

comment 3y ago · link · parent

Ok, similarly, you'll need to learn powershell if your going to use it as a tool as a system admin

comment 3y ago · link · parent

Yes, and? A Python developer needs to learn a different language if they become a java developer. A sysadmin needs to learn Windows if they're going to administer Windows.

comment 3y ago · link · parent

Did you watch the video

comment 3y ago · link · parent

At the cost of having to press tab to auto-complete a statement you've written 10 billion times before. God forbid a software engineer has to type something

> Case sensitive

they're not

Also your command is equivalent to:

ps | oh -paging | fl

comment 3y ago · link · parent

> if you expect it to be similar to Unix-like shells

And Python can cause issues if you expect it to be similar to Java. They're 2 different tools, so if you expect it to behave similarly to bash, that's on you

comment 3y ago · link · parent

There's aliases, and you can just hit tab to autocomplete the commands and their argument names. I find Powershell to be far more readable than bash because of its verbosity

comment 3y ago · link · parent

Powershell solves these problems by having structured data and types and not just streams of bytes

comment 3y ago · link · parent

We got, like, 50% lay judges (parents) and 50% competitive college debaters.

comment 3y ago · link · parent

> This piece is not about the vast majority of high school debate and is probably going to create some real headaches for people just trying to run an after-school activity.

My experience is that these kind of politics are universal in policy debate, not so much LD or PF

comment 3y ago · link · parent

High school debate is not a good event for this kind of argumentation. It's a very technical event with stupid rules and ridiculous "speeches" which consiset of someone screaming facts at you at 300wpm in between gasps of air

https://www.youtube.com/watch?v=0FPsEwWT6K0

comment 3y ago · link · parent

It has been like this for at least a decade; Policy debaters were all about far left kritikal debates when I was in high school. LD and PF were normal but policy was super left wing.

Anyways, high school debate is a stupid activity and I don't recommend anyone do it. It teaches no useful hard or soft skills, only encourages talking extremely quickly to win on rule technicalities rather than the weight of your arguments and speaking ability

comment 3y ago · link · parent

Chrome and vscode both have conditional breakpoints:

https://developer.chrome.com/docs/devtools/javascript/breakp...

comment 3y ago · link · parent

10 years ago I (living in the USA) worked with some Europeans who were fans of American sitcoms. We were in my car once and drove by a cheesecake factory. Their minds were blown that it's a real restaurant and not just something made up by Big Bang Theory and they demanded they we go inside. They loved it, and approached it like an Alien researching a new planet

comment 3y ago · link · parent

No, I believe that the 90% do most of the work. Just based on sheer numbers. I also think the 10% try too hard

comment 3y ago · link · parent

Yeah, I've shown the junior devs a dozen times how to set up breakpoints in VSCode and they still opt to console.log everything instead

comment 3y ago · link · parent

Not him but I use typescript with webpack. Webpack has webpack serve, which runs a simple HTTP server that shows an index.html for testing your script. It adds some file watchers on your source so if you make any changes it automatically compiles. Webpack will build the .map files so you can run breakpoints in your browser on the original source, but if you develop with vscode, you can create a launch profile which allows you to attach your vscode debugger to the browser and put your breakpoints in VSCode instead of the browser (which I prefer the UI for). This works with react as well

comment 3y ago · link · parent

Ah yes, that was it; a screw. Asus C201 or something like that

comment 3y ago · link · parent

> most people don’t actually do much work at work and that it was all one big game

This much is true. Most people don't do much work at work. The difference between working in the office and working remote is that when you're at the office, your "pretend to work" time is spent discreetly browsing social media on your phone. When you're at home, you can spend it on things more conducive to your health like going to the gym or walking your dog.

I have a hypothesis that the top 10% of performers (could really be as little as 1%) in society are usually very upset by the fact that 90% of people want to do as little work as possible, and those top 10% performers are holding the rest of us hostage via in-office requirements and constant electronic monitoring, but I think since 2020 these people are now losing that battle and the 90% no longer have to pretend to give a shit what the 10% think anymore

comment 3y ago · link · parent

I have coworkers who only use 2 of chromes debugging tools: the console and the network tab. They dont know about breakpoints, mapped typescript/react files, or local overrides. Every time they come to me with some issue they're facing, I have them set up breakpoints first before we do anything. Usually that's all that we need to do, and we figure out the problem in about 5mins

comment 3y ago · link · parent

I coded on a chromebook throughout college. It was the crucible of learning software development in the mid-2010s because you had to improvise. Most assignments were in Java back then (from what I understand, colleges teach mostly python now) and I couldn't run eclipse (the standard IDE used in college at the time). I ended up renting a VPS from Vultr for $5/mo and SSH'ing in. I coded everything in vim with no debugger or code completion, and compiled everything with makefiles.

Classes usually only required a single java file to turn in your work, which was then compiled and run automatically with the results being verified by another program, so as long as your individual java file output the same results as what was expected, it didn't matter what build system (if any) you used.

The only other class that didn't use java was systems programming, where we did C. I had been doing C since I was 12 at that point, and since I was already using ubuntu server via ssh, it wasn't a difficult class at all for me.

For my OS final, we had to write an operating system simulator (a program which simulated the kind of events that would occur in an OS: new processes, processes being deleted, memory paging, single process multi-tasking with pre-emption). I didn't actually read the instructions and ended up writing a kind of hypervisor(?) which ran programs in an 8080 emulator with some of my own custom instructions for memory banking and forking to meet the requirements of the class (your program had to be able to do memory paging up to something like 512mb of RAM).

You had to have some kind of user interface, so I wrote it as a web server in C with a custom HTTP server implementation. The program returned an HTML page which looked like a desktop. You could spawn terminal windows and run specific programs. I wrote a few long-running programs which printed out numbers to demonstrate memory paging and process pre-emption. There was a special instruction I made to fork the program so you could clone a process from another process, and I used one of the unused flag register bits to signify which fork the program was.

The professor was impressed by the implementation (and I implemented all the algorithms required to get 10 points extra credit), but because I didn't actually write an OS simulator (closer to an actual OS, but not quite there), he gave me 100%, but no extra credit. I was happy with that, because I'm not a grade chaser.

Unfortunately, I failed the class because I couldn't answer trivia on the exam like "What does GRUB stand for" because I spent the whole semester working on the hypervisor and not actually going to any of the lectures. I just read the textbook and coded in C at the library.

Here's the very rough code, with a slightly buggy 8080 emulator implementation:

https://github.com/ShortRoundDev/8080-Remote

comment 3y ago · link · parent

I had a chromebook which required you to open it up and flip a hardware switch to allow write access to the OS. Have to open it up and push the switch with a little screwdriver.

comment 3y ago · link · parent

I just mean where I have a relative path, set your own paths to what they would be on your machine. The subsequent comment is unrelated
1
484950
55