orangse's recent activity

  1. Comment on How much testing do you guys do? in ~comp

    orangse (edited ) Link
    My thoughts on testing and what I do currently are in the last paragraph. Testing was a major part of our curriculum in college. In almost every single class you have to either write unit tests...

    My thoughts on testing and what I do currently are in the last paragraph. Testing was a major part of our curriculum in college. In almost every single class you have to either write unit tests (in the lower level classes, specifically the two intro courses) and then in the upper levels you have to write more general tests that are just inputs to the program (not sure what those would qualify as). The instructors would prepare somewhere between 10-30 hidden buggy implementations of the project and then your tests would be run against them; If they produced different output than when the test was run on a correct implementation, you got the points. None of this was shown to us, just a small message that said "test_2 exposed bugs A,C,F, etc". This was slightly different for unit tests, where normally you'd just count the errors and print that at the end.

    This also factors into how the projects were graded, as a small aside; the instructors would prepare something like 10-90 hidden test cases (heavily dependent on how complex the code was) and then you could send your code into an autograder that would run it against those hidden test cases. In almost all situations there was basically no feedback if you failed a hidden test case other than the line of the test that was different from the solution, so your own tests were the only thing you could look at to see where you were going wrong!

    All in all I'd say this made me hyper aware of the testing process, and maybe a better developer? For personal projects I'll generally write some sort of unit tests for each header file that gets exposed and then a few general test cases. The company I'm going to work for doesn't require a whole lot, but I did some on my own during an internship and tbh I think that got me the job. I enjoy testing, the ones I have the most fun writing are fuzzing tests where you generate random input and then see if it crashes. Loads of fun imo.

    2 votes
  2. Comment on This week's album and EP releases in ~music

    orangse Link Parent
    That's fair, you're probably listening to quite a bit of it as well I'd assume. It just seems like it would be an interesting problem to try and get all that sorted out automatically (although for...

    That's fair, you're probably listening to quite a bit of it as well I'd assume. It just seems like it would be an interesting problem to try and get all that sorted out automatically (although for sure nontrivial). Thanks for the work regardless, I had completely forgotten Andrew Bird even existed even though I listened to him quite a bit in high school.

    1 vote
  3. Comment on I need a good text editor on Windows 10 in ~comp

    orangse (edited ) Link Parent
    Well the op did say that he likes open source software, so that's a pretty big reason to use Linux imo. WSL is fairly limited as well because: It doesn't do X applications without extensions which...

    Well the op did say that he likes open source software, so that's a pretty big reason to use Linux imo. WSL is fairly limited as well because:

    • It doesn't do X applications without extensions which is a huge hit in my book for personal use
    • WSL performance is horrendous. Summarizing those benchmarks, it's anywhere from a 10x to a 20x performance loss on many common operations. Compiling any sort of large codebase is pretty much impossible and for that matter any sort of large file I/O. Maybe its just me, but I don't see anybody that has to compile a >100,000 sloc codebase doing it on WSL anytime soon. Tbh, even in my own personal use for smaller 5,000-10,000 sloc codebases I've noticed pretty unusable performance hits. small edit: I should note that normally I'm compiling C++, which already has disgustingly bad compile times. Multiply that by 15... I would actually jump off a bridge.

    A VM definitely works, it just has its own performance hit as well, though not as bad as WSL from what I've seen.

    1 vote
  4. Comment on This week's album and EP releases in ~music

    orangse Link Parent
    I'm curious, are you automating this process in any way?

    I'm curious, are you automating this process in any way?

    2 votes
  5. Comment on I need a good text editor on Windows 10 in ~comp

    orangse Link Parent
    Have you ever considered dual booting? I feel like that solves your problem pretty handily.

    Have you ever considered dual booting? I feel like that solves your problem pretty handily.

    5 votes
  6. Comment on The most recent game you played in two words in ~games

  7. Comment on What do you Tildians think of Atom? in ~comp

    orangse Link
    Ed is the standard text editor. On a more serious note, Emacs is the bomb and I can't ever read a thread about text editors without recommending it (that's actually a GPL3 clause, go read the fine...

    Ed is the standard text editor.

    On a more serious note, Emacs is the bomb and I can't ever read a thread about text editors without recommending it (that's actually a GPL3 clause, go read the fine print). Specifically, with pretty much any text editor you're gonna eventually say "wouldn't it be great if it did this?" and that's why hackable text editors are so popular. Elisp is not an amazing Lisp, but in terms of configuration languages it for sure tops vimscript and javascript.

    At the end of the day it really doesn't matter what editor you choose, but whichever you do it'll become a tool you'll have in your pocket for a long time.

    small edit: if you do choose a mouse-focused editor I'd recommend either sublime text or vscode, specifically vscode looks like it has the best selection of packages.

    7 votes
  8. Comment on Can anyone edit the title of post, or are there only certain editors/moderators? in ~tildes

    orangse Link Parent
    I get the vibe that this site is less about free speech and more about fostering a community with quality content. I'd recommend reading https://docs.tildes.net/overall-goals. I'd say that heavy...

    I get the vibe that this site is less about free speech and more about fostering a community with quality content. I'd recommend reading https://docs.tildes.net/overall-goals. I'd say that heavy moderation is kind of a necessity to these goals, but thats just me.

    11 votes
  9. Comment on Would you go to Mars? in ~talk

    orangse Link
    Depends on how many people have gone to Mars previously and how long a colony has existed there. In the beginning, probably no way. Not even because it could be a death sentence, I just think at...

    Depends on how many people have gone to Mars previously and how long a colony has existed there. In the beginning, probably no way. Not even because it could be a death sentence, I just think at that point the more interesting work is being done on Earth; Specifically the whole nebulous concept of a 'life support system' in terms of recycling waste, growing food, maintaining oxygen levels, a lot of that engineering would be done beforehand on Earth and a lot of the lessons learned in the early days of a colony would probably be fixed and engineered on Earth.

    I'd probably do so when it's really starting to ramp up; specifically terraforming. I know there's that video of Elon Musk saying the quickest way would be to nuke the poles, but regardless of the methodology I find the whole idea of taming something so hostile intriguing. That would be the best work imo. You're essentially engineering a whole new ecosystem, which feels eerily like a real life Dune in a sense. I won't confirm or deny if that is a major reason why I would go.

    If its post terraforming I'd probably still go, mainly because of climate change and to avoid a lot of the problems that will result on Earth from that. Sure, its selfish, but thats just me.

    1 vote
  10. Comment on Google announces "Stadia", a new game-streaming platform with deep YouTube integration in ~games

    orangse Link
    Skimmed through the presentation, how is payment done? Is it a subscription service, ads ingame, or just pay a little extra per game? This will be the biggest determiner for me, if its ads thats a...

    Skimmed through the presentation, how is payment done? Is it a subscription service, ads ingame, or just pay a little extra per game? This will be the biggest determiner for me, if its ads thats a big nope.

    1 vote
  11. Comment on Which OS do you use and how does it look? in ~comp

    orangse (edited ) Link Parent
    I love the idea of using the f1-12 for window switching. I use emacs as well and I couldn't find a good way to do it without clobbering meta. Tried out stumpWM which was nice, but there was a lot...

    I love the idea of using the f1-12 for window switching. I use emacs as well and I couldn't find a good way to do it without clobbering meta. Tried out stumpWM which was nice, but there was a lot of power there in common lisp that I just wasn't using. I'm liking a few other ideas in your i3 config as well, I might be doing more work than I expected tonight...

    1 vote
  12. Comment on Something has changed, and, thankfully, those trying to manipulate us haven't recognized it yet. in ~talk

    orangse Link Parent
    That isn't self-evident whatsoever, I'd say she spiraled into national stardom because she upset someone who hasn't had a difficult race since 2004. Crowley was literally being considered as a...

    But I think one can tell that AOC has spiraled to national stardom from negative attention, not positive exposure

    That isn't self-evident whatsoever, I'd say she spiraled into national stardom because she upset someone who hasn't had a difficult race since 2004. Crowley was literally being considered as a Pelosi successor and she beat him. There are multiple other positive reasons, she's extremely active on social media which is a huge boost to popularity through retweets, shares, and other extremely viral methods of getting your posts out there.

    I asked for an explanation of why your claims are true and you didn't give me anything, just another claim. It doesn't have to be data, I was just listing off things you generally add to an argument to make it persuasive. I don't even know why I'm asking at this point if your claim is that AOC is famous due to negative attention and not positive attention. Anyone can list positive and negative reasons she's famous. That doesn't make either of them untrue, because you can be famous for multiple reasons.

    21 votes
  13. Comment on Which OS do you use and how does it look? in ~comp

    orangse Link
    I've been using Manjaro for the past week or so, I'm normally an Ubuntu kind of guy and I hate having to configure my system just to work, I'd rather just do configuration for cool stuff I'd like...

    I've been using Manjaro for the past week or so, I'm normally an Ubuntu kind of guy and I hate having to configure my system just to work, I'd rather just do configuration for cool stuff I'd like to have. Ubuntu's Emacs version is like 3 major versions behind now, and I could name more than a few other packages I've had to build from PPAs or source to use them. I needed more recent packages so I switched to something with AUR access and just faster packaging in general.

    Its pretty much stock so I don't really see any worth in posting pictures of it, just standard XFCE. Only real problem is Firefox is totally unusable, constant crashes, I've literally been using the emacs web browser for just surfing. A tad ridiculous in my opinion, but I'll figure out the issue when I've got time. Oh well.

    1 vote
  14. Comment on Something has changed, and, thankfully, those trying to manipulate us haven't recognized it yet. in ~talk

    orangse Link
    So do you have anything to back this up? Data would be nice, maybe some concrete examples supporting your claims or even an explanation of why your claims are true. All you've done in this post is...
    • Exemplary

    So do you have anything to back this up? Data would be nice, maybe some concrete examples supporting your claims or even an explanation of why your claims are true. All you've done in this post is make claims, and it contributes nothing. I'm open to your ideas, I don't think they're that off the wall, you've just put in minimal effort to explaining and supporting them.

    30 votes
  15. Comment on What are you doing this weekend? in ~talk

    orangse Link Parent
    Drunk dnd is best dnd. I haven't played too much, just one campaign with some buddies, but by far our best sessions have been when tipsy. Everyone gets into character way more. Definitely go with...

    Drunk dnd is best dnd.

    I haven't played too much, just one campaign with some buddies, but by far our best sessions have been when tipsy. Everyone gets into character way more.

    Definitely go with something involving cranberry or cranberry juice, the brighter red makes it look more like a health pot. If you use some kind of pomegranate it will be a lot deeper red.

    2 votes
  16. Comment on Hosting my own Tildes in ~tildes

    orangse Link Parent
    Not trying to be "that guy", but why not just use another piece of software designed for an end user? It would be way easier to just set up a server using Discord or a chatroom with Signal. Or...

    Not trying to be "that guy", but why not just use another piece of software designed for an end user? It would be way easier to just set up a server using Discord or a chatroom with Signal. Or even a private subreddit, if you need the link aggregation setup.

    10 votes
  17. Comment on What are you doing this weekend? in ~talk

    orangse (edited ) Link
    I've been toying around with Manjaro recently, because Ubuntu's packaging system is so broken. I felt like half the programs I was installing were either built from source or from some guy's ppa....

    Arch Linux installation

    I've been toying around with Manjaro recently, because Ubuntu's packaging system is so broken. I felt like half the programs I was installing were either built from source or from some guy's ppa. I wanted a distro with that sort of "everything is already done for you" feel while also having access to repos that were a little more... loose with how they release packages.

    How have you been liking Arch? I always get tempted now and then.


    I'm working on a school project, writing a compiler for the Decaf Language. The projects are split up into writing the lexer, the parser, a semantic analyzer, an intermediate representation generator (This is what I'm doing this weekend), and then an optimizer. The translation from IR to MIPS is done for us, which is kind of nice I guess. This class was supposed to be more heavily focused on the front end while the graduate compilers course is more focused on the back end.

    I've been messing around with elisp lately using the book An Introduction to Programming in Emacs Lisp. I'm not a massive lisp guy (yet), but hopefully I'll be able to do some cool things in my init.el, and maybe help someone out on emacs stack exchange. My main goal is to patch my elfeed to work better with reddit links, currently I use eww for all links since all the content is just text anyways. But with reddit it kind of bugs me that instead of just hitting 'b' in the elfeed-entry buffer to view the content, on a link post I have to do C-s link and then ret to actually follow the link for the actual content.

    Other than that I'll probably take a few walks, the weather has gotten much better (~30F normally to ~50-60F) and maybe read a bit outside.

    1 vote
  18. Comment on Apple denies Spotify's "unfair play" claim in ~tech

    orangse Link Parent
    Ok, see this is something I can say is important. This is real action taken by Spotify against Apple, I was under the impression the blog posts were all that happened. Now upon rereading the...

    Ok, see this is something I can say is important. This is real action taken by Spotify against Apple, I was under the impression the blog posts were all that happened. Now upon rereading the Spotify blog post, I realize that there is a single sentence saying they filed anti-trust, which I missed and now I feel kind of dumb. I'll argue that it was easily miss-able! Thanks for posting this.

    3 votes
  19. Comment on Apple denies Spotify's "unfair play" claim in ~tech

    orangse Link
    This may seem a little dismissive, but does anyone really give a shit about this little spat? I'm not trying to belittle your contribution @bee, believe me. Its aimed at Apple and Spotify both...

    This may seem a little dismissive, but does anyone really give a shit about this little spat? I'm not trying to belittle your contribution @bee, believe me. Its aimed at Apple and Spotify both posting these ridiculously long blog posts filled with corporate speak. What was the point of Spotify posting the original post, did they expect some massive public outcry about how the app store is fucking over app developers? Because I have not seen that at all. Maybe its on the section of Twitter I don't frequent, I don't know. Apple fucks over app devs and Spotify fucks over musicians, all these posts have done is make me dislike both of these companies more.

    4 votes
  20. Comment on Could We Run Modern Society on Human Power Alone? in ~misc

    orangse Link
    Its a very interesting article, however it leaves a lot of questions I think. Specifically which is more efficient: automating the task or just having a human do the task? Like moving water, it is...

    Its a very interesting article, however it leaves a lot of questions I think. Specifically which is more efficient: automating the task or just having a human do the task? Like moving water, it is definitely less time to pump it versus carry it, but how does the energy expenditure hold up when the pump is human powered? In terms of the building, I can't believe they'd /build/ it on human power, which makes the carbon footprint much higher than I initially thought when reading the article.

    Personally I think the best method of going about this would be a high population density village of sorts. That way you eliminate the large carbon footprint from construction, and a lot of people can be devoted to producing electricity for shared resources like washing clothes and cooking. You'd need to fiddle around a bit to see what allocation of automation vs. just doing it is realistic and sustainable. Gonna go out on a limb and say modern living is probably impossible on human power alone.

    Ultimately these would hopefully be answered by the experiment, but it doesn't look like a lot has happened on that front? It looks like they're still active with other stuff though.

    Regardless we're all kind of boned by climate change, which does make this a bit depressing.