• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. Programming Languages that are Both Interpretable and Compilable?

      I've been thinking about the feasibility of defining a language spec that can both be compiled and interpreted lately. I first thought about it while writing code in crystal, which, for the...

      I've been thinking about the feasibility of defining a language spec that can both be compiled and interpreted lately. I first thought about it while writing code in crystal, which, for the unfamiliar, is a compiled language based heavily off the syntax of an interpreted language (ruby).

      Here are a couple reasons I find the idea interesting:

      • It effectively neuters the interpreted/compiled language debates. Why just choose one, when both have such big upsides?
      • You could develop a program in the interpreter with the same playfulness as you get in a shell, and then compile it into a speedy 'lil thing!
      • It would be wonderful for metaprogramming! From my experience, languages usually define a little janked together syntax for compile-time execution. If the language had an interpreter for itself within the compiler, you could metaprogram and program in the exact same language.

      I'm curious if any languages like this exist, or if you can think of more benefits.

      Edit:
      I just want to mention that my reference to 'feasibility' earlier is not born of disbelief - you can write a compiler or interpreter for any (to the best of my knowledge!) well defined formal grammar with enough effort. I suppose I left that word there to account for the fact that I might have unknown unknowns here.

      14 votes
    2. Just like Phoenix LiveView but in Typescript

      @beenotung: Like the concept of SSR reactive web but not ready to use dynamic type Elixir for building webapp? TS LiveView get you covered 🤠 https://t.co/Enrprt6G2N https://t.co/elOC0N2vXd https://t.co/W9pdg1FAAr

      3 votes
    3. Fortnightly Programming Q&A Thread

      General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads. Don't forget to format your code using the triple...

      General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.

      Don't forget to format your code using the triple backticks or tildes:

      Here is my schema:
      
      ```sql
      CREATE TABLE article_to_warehouse (
        article_id   INTEGER
      , warehouse_id INTEGER
      )
      ;
      ```
      
      How do I add a `UNIQUE` constraint?
      
      3 votes
    4. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    5. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      14 votes
    6. What's a good way to learn how to maintain my own computer hardware?

      I have two computers (a desktop and a laptop) that broke down just before my city entered a lockdown. Being able to assemble and fix my own computer hardware is something I have always wanted to...

      I have two computers (a desktop and a laptop) that broke down just before my city entered a lockdown. Being able to assemble and fix my own computer hardware is something I have always wanted to do, and if I knew that I would probably not be using a borrowed Macbook Air right now.

      I have no immediate need to provide any maintenance services, nor do I require a primer in electronics or anything too advanced. Just enough to know how to assemble and disassemble a machine, identify and fix the most obvious issues without breaking anything.

      I tend to learn better from sequential and structure learning materials, preferably in text/images form. But videos are also welcomed. I know the names of the things and what they are, but I don't really know how to put things together in practice.

      Suggestions? :)

      13 votes
    7. Fortnightly Programming Q&A Thread

      General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads. Don't forget to format your code using the triple...

      General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.

      Don't forget to format your code using the triple backticks or tildes:

      Here is my schema:
      
      ```sql
      CREATE TABLE article_to_warehouse (
        article_id   INTEGER
      , warehouse_id INTEGER
      )
      ;
      ```
      
      How do I add a `UNIQUE` constraint?
      
      3 votes
    8. Folding at Home: Team Tildes information

      Inspired by @moocow1452 original post on donating computer resources towards the cause of researching coronavirus. This new post is to organize the Folding @ Home information to be at the top of...

      Inspired by @moocow1452 original post on donating computer resources towards the cause of researching coronavirus. This new post is to organize the Folding @ Home information to be at the top of the thread for new users who may be interested in donating their resources to the cause.

      34 votes
    9. Fortnightly Programming Q&A Thread

      General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads. Don't forget to format your code using the triple...

      General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.

      Don't forget to format your code using the triple backticks or tildes:

      Here is my schema:
      
      ```sql
      CREATE TABLE article_to_warehouse (
        article_id   INTEGER
      , warehouse_id INTEGER
      )
      ;
      ```
      
      How do I add a `UNIQUE` constraint?
      
      7 votes
    10. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      13 votes
    11. Call for volunteers: Techies against COVID-19

      Hi tilders. I'll keep it brief: I'm looking for people of various technical skills (devs, sysadmins, etc) willing to volunteer their skills at labs, hospitals and other establishments in the fight...

      Hi tilders. I'll keep it brief: I'm looking for people of various technical skills (devs, sysadmins, etc) willing to volunteer their skills at labs, hospitals and other establishments in the fight against COVID-19.

      A lot of us are lucky to be some of the least-affected by the virus. Not only is the technical field generally young and low-risk, but it's one of the most compatible with work-from-home professions.

      So I'm trying to use some of the free time during this lockdown to set up a volunteer network, focused on tech.

      I'm looking for two types of people specifically:

      • Anyone with tech experience: programmers, web devs, devops/sysadmins, etc; who has time they want to spend on this.
      • Anyone who works in or adjacent-to the medical field, who can help with identifying high-priority and impactful needs (who needs help the most, and how to reach them most efficiently)

      Note: The immediate goal is to build up a network of potential volunteers. I've been doing this on my own for a bit and there's clearly lots of needs, but it's hard to convince labs and hospitals to onboard a single person, so I'm hoping to get more people on board before continuing the search.

      Stay safe.

      10 votes
    12. What programming/technical projects have you been working on?

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...

      This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?

      8 votes