• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. 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?

      5 votes
    2. Do you crush bugs?

      I bought a flyswatter for my girlfriend to deal with a fly she hadn't been able to shoo out but usually we would go to great lengths to capture and release invaders outside, especially spiders...

      I bought a flyswatter for my girlfriend to deal with a fly she hadn't been able to shoo out but usually we would go to great lengths to capture and release invaders outside, especially spiders whose company we tend to romanticize. I am not feeling especially regretful about the purchase but I got to wondering what opinions people here might have.

      I have been influenced toward this concern by the essays I read on Brian Tomasik's Reducing Suffering website, here is the section on invertebrates. I'm self-conscious of stifling this survey with that slightly ponderous link. I am not sure that I always track the calculus of his moral methods, though I appreciate the thoughtful approach.

      15 votes
    3. A proposal for a purely electric-powered commercial airline industry

      Around 3-5 years ago, Elon Musk was teasing that he thought he had a clever idea for how to make electric-powered aircraft viable/profitable with, basically, current technology ... and he was...

      Around 3-5 years ago, Elon Musk was teasing that he thought he had a clever idea for how to make electric-powered aircraft viable/profitable with, basically, current technology ... and he was basically daring people to guess it.

      Regardless of what he actually did or didn't know, it got me thinking, and I came up with an idea. I thought I'd run it past the Tildes Team, see if it passes muster.

      My idea, in a nutshell, is to build airplanes with only 25%-50% of the battery capacity required for their flight (making them much lighter, with much more capacity for people/cargo) ... combined with, I'll call them Maser Cells on the undersides of the wings ... coupled with low-intensity maser beam emitters at all the major airports.

      Airplanes use a ridiculous amount of energy gaining altitude. For short flights, it can be upwards of 50% of their fuel spent just getting from takeoff to cruising altitude. My basic idea is for planes to get up to cruising altitude in large circles over the airport, powered by a combination of battery power and maser energy beamed up from the airport below. Then stay in a taxi-ing circle over the airport until the batteries are fully charged, before departing. Longer flights can plan their route to include one or more detours to pass over other major airports (or other recharging hubs, like the Tesla Supercharging network, but for airplanes) to recharge the batteries along the way.

      Trans-oceanic flights would be more challenging, perhaps requiring some kind of recharging hubs located midway in the oceans.

      To clarify, my "Maser Cells" are similar to traditional solar-electric power cells, except they are optimized to convert either laser or maser beamed energy into electricity. These things already exist (I forget what they're called), although getting them to a high-efficiency commercial-airline level of production, that would take some effort.

      There is, potentially, a lot of inefficiency in the conversion rates, from ground-generated electricity to ground-generated laser/maser, then on the plane, maser converted back to electricity into battery, then from battery into electric engines ... perhaps there are ways to reduce the amount of conversions necessary, or to increase the efficiency of the conversions. Or perhaps this is what kills the idea.

      Similarly, if this were actually implemented large-scale, to largely replace fossil-fuel-driven planes, we would be talking about a LOT of electricity requirements, a lot of laser/maser emitters at every airport, and a massive redesign of flight traffic management, to allow for hundreds of planes routinely in hours-long recharging flights over every airport, all the time ... potential choke-points at various recharging hubs (again, similar to what Tesla sees at overly-popular Supercharging stations on the ground) ... and doubtless lots of other issues I'm not thinking of.

      Anyway, though, that's the notion.


      ETA: This idea could be extrapolated to an extreme degree, with on-board batteries almost completely eliminated.

      With clearly defined flight corridors, and ground-based maser power stations located every 10-20 miles along, planes could fly their entire route on power beamed up to them, with only 20-30 minute battery capacity for emergencies.


      ETA #2: A person who owned his/her own rocket company might also consider putting the maser cells on the tops of the planes, and launching a bunch of solar-power-generating satellites, with maser emitters shooting power down onto them.

      I guess my main point is, if this maser-energy delivery system is even remotely feasible at a commercial level, there's a lot of potential.

      10 votes
    4. Architecture for untrained software engineers (Python)

      Hey everyone, I've been programming for some time now but notice without any formalized education in CS I often get lost in the weeds when it comes to developing larger applications. I'm familiar...

      Hey everyone,

      I've been programming for some time now but notice without any formalized education in CS I often get lost in the weeds when it comes to developing larger applications. I'm familiar with the principles of TDD and SOLID - which have helped with maintainability - however still feel that I'm lacking in the ability to architect a properly structured system. As an example, I'm currently developing a flask REST API for a website (just for learning purposes). This involves parsing a html response and serializing the result as JSON. I'm still quite unclear as to structuring this sort of thing. If any more experienced developers could point me in the right direction/offer up their opinion I'd be very appreciative. Currently I have something like this (based - I hope correctly? - on uncle bob's clean architecture).

      Firstly, I'm defining the domain model. i.e the structure of the API response. Then, from outside in.

      1. Infrastructure (Flask): User makes request via interface (in my case a request to some endpoint)
      2. Adapters: request object checks if the request is valid (on the way back it checks if the response is valid) - Is this layer only for error handling?
      3. Repository: I'm struggling a bit here, AFAIUI this layer is traditionally a database. In my case however, where the request is valid, is this where I should handle the networking layer? i.e all the requests to return the website source? I'm also confused given at this stage I should be returning the relevant domain model, like an ORM, but as my data is unstructured, in order to do this I need to transform the response first. Where would it be best to handle this?
      4. Use Cases: Here I transform the domain model depending on the request. For example, filter all objects by id. Have I understood this correctly?
      5. Serializers: Encode the domain model as JSON to return from flask route.

      If you got this far, thanks so much for reading. I really hope to hear the opinions of more experienced devs who can steer me in the right direction/correct me should I have misunderstood anything.

      8 votes
    5. TV Tuesdays Free Talk

      Have you watched any TV shows recently you want to discuss? Any shows you want to recommend or are hyped about? Feel free to discuss anything here. Please just try to provide fair warning of...

      Have you watched any TV shows recently you want to discuss? Any shows you want to recommend or are hyped about? Feel free to discuss anything here.

      Please just try to provide fair warning of spoilers if you can.

      8 votes
    6. Economic crisis of Turkish football clubs

      An announcement shook Turkish football seriously. Turkish Football Federation (TFF) announced spending limits for clubs. That is very low because club debts. Everybody knew it would happen one...

      An announcement shook Turkish football seriously. Turkish Football Federation (TFF) announced spending limits for clubs. That is very low because club debts. Everybody knew it would happen one day. But corona took early that crisis. All of big Turkish clubs near to bankrupt. Their total debts over 2 billion dollars. Clubs signed too heavy deals with goverment banks. Goverment and TFF try to keep up clubs alive.

      This isnt about only coronavirus or only Turkish economy. Clubs loaned more and more each year since the early 2000s. Presidents of clubs spend money badly, they transfer useless football players. And now money ran out ! And of course, turkish lira in crisis. Clubs gains with turkish lira, but spend with euro. And Lira still unstable. Euro/Lira increased from 7.7 to 8.6 in just one month. Its ~%10 lost only one month. Broadcaster company BEIN SPORTS, pay less money to federation for corona and lira crisis. Debts, income loss, lira crisis, corona. Everythings

      Yearly spending limits of some big FCs:

      • Galatasaray: 58m €
      • Besiktas: 35m €
      • Fenerbahce: 20m € (too low)
      • Basaksehir: 20m €
      • Trabzonspor: 17.5m €

      That values very low. For this budgeds, clubs cant transfers. Someones should make the team smaller like fenerbahce. Fenerbahce protest that limits but they have 600m $ unstructured debt and they can't show income ! I think if this year fenerbahce cant be champion and can't go to the Champions Leauge, their clubs will be mortgaged or to be sold in the near future. A very rich bussines man -Ali Koc- became president of this club and he transferred a significant amount of money to the club. But for two years he was not successful in terms of sports.

      There is also Başakşehir. Our champion, Basaksehir played really bad footbal againts Copenhagen FC and eliminated from Champions Leage. But Basaksehir is a brand-new club, in fact they were established in 2014. They have profesional management team and every year become better since 2014. Today, they became champions for the first time and may be the brightest club in Turkey. Some arabs from Qatar want to buy this club. Fans do not react to this. Because this 6-year-old club has almost no supporters. They became champions, but they didn't celebrate. (Ironically, I am one of the very few fans of Başakşehir.)

      Galatasaray is less worried about debts. Because they postponed their debts for 5 years (with insane interest rate) But still too many debt in 5 year. the 115 year old club has many lands. Club think they can pay off the debts by selling the land at in the good areas of İstanbul.

      Source:
      TFF Spending Limits: https://www.tff.org/default.aspx?pageID=687&ftxtID=33547 (Not in turkish)

      8 votes
    7. Do you have any hobby electronics projects in progress?

      I’ve been wanting to get in to hobby electronics now that I have some free time, but I’m not sure what I want to start with. I am super interested in building an 8-bit computer but I’m curious...

      I’ve been wanting to get in to hobby electronics now that I have some free time, but I’m not sure what I want to start with. I am super interested in building an 8-bit computer but I’m curious what other types of things people have built or are building. Feel free to talk about any Raspberry Pi or Arduino projects as well even if they’re not strictly ‘hobby electronics’.

      8 votes
    8. What did you do this weekend?

      As part of a weekly series, these topics are a place for users to casually discuss the things they did — or didn't do — during their weekend. Did you make any plans? Take a trip? Do nothing at...

      As part of a weekly series, these topics are a place for users to casually discuss the things they did — or didn't do — during their weekend. Did you make any plans? Take a trip? Do nothing at all? Tell us about it!

      9 votes
    9. What has/have your government/school/college/teachers done to keep education flowing during this pandemic?

      Admittedly keep education flowing is some corporate language. The only people who care about education are left-wing politicians and the actual teachers, neither of which matter now. Anyway, my...

      Admittedly keep education flowing is some corporate language. The only people who care about education are left-wing politicians and the actual teachers, neither of which matter now.

      Anyway, my state government is broadcasting classes with 3 subjects from around 2PM to 4-4:20PM. The last subject of the day (3:30PM until the end) is only broadcast on the app they made and their YouTube channel unfortunately. All the classes are uploaded onto YouTube for posterity.

      The app they made is mainly a chat, later limited to 15 messages as an attempt to stop copy-pasting from flooding the few meaningful/serious answers (it is a live chat with 20k people in it simultaneously so good riddance), to little avail IIRC. (IIRC because I watch by TV because my battery is limited and the screen is too small to actually copy to a textbook)

      The quality is kinda mediocre but nothing bad enough usually. One time it was a 4:3 480p clip with interlacing, which is based until you start caring.

      They are also sending us "handouts" (apostilas, PT-BR to English) and the normal state tests every bimester.

      As for the teachers, they have sent us pretty much the full student workload via Google PDFs on WhatsApp, which is the opposite of private, but privacy is hardly possible when you're Brazilian and likely don't even have an up-to-date (defined as less than 5 years old LMAO ) PC. They haven't done any zoom/meet chats to teach us stuff however, since that's kind of the purpose of the TV/YouTube broadcast.

      8 votes
    10. Looking for a simple language to build a compiler for

      I've recently built a brainfuck just-in-time compiler and I'm looking for my next project. I think compiling a more complicated (and more easily written) language would build on what I've learned...

      I've recently built a brainfuck just-in-time compiler and I'm looking for my next project. I think compiling a more complicated (and more easily written) language would build on what I've learned so far. Rather than design my own language from the ground up, I'd prefer to work with a toy language that already has existing programs and a spec. This would both save me some work and give me more solid ground to build upon.

      6 votes