Readit News logoReadit News
inthebin commented on Web apps built with Ruby on Rails   weuserails.com/... · Posted by u/kyrylo
inthebin · 8 months ago
Can someone provide a reason for why anyone should be using Rails? I'm always curious why people love context switching between multiple programming languages.
inthebin commented on We are teen hackers from around the world who code together   hackclub.com/... · Posted by u/mooreds
master-lincoln · 8 months ago
> Edit: if you disagree then tell me why I have a religiously strong opinion on spaces vs tabs

Because you did not think this through logically I assume. There is only one answer: indent using tabs, align using spaces. This way the text never looks "broken" on any other machine, and personal preference for how deep indentations should be can be applied.

I think people mostly form strong religious opinions because they want to belong to a group or feel a sense of purpose. Do you feel that when defending your stance on tabs vs spaces?

But I fail to see how this is related to programmers being creatives

inthebin · 8 months ago
Personally I don't think there is such a thing as "creatives". All humans are creative - that's what we do, we solve problems by coming up with solutions. Whether that is to create a painting, or coming up with a joke/punchline or writing a novel, or creating a product with code - that's a matter of aptitude/interest and environmental exposure.
inthebin commented on Show HN: Tramway SDK – An unholy union between Half-Life and Morrowind engines   racenis.github.io/tram-sd... · Posted by u/racenis
amjoshuamichael · 8 months ago
I'm starting to believe there is an external force that drives down the quality of game engines over time. In most tech, the things that catch on are the things that are the easiest to develop curriculum for. The shape of a node-based editor like Unity is uniquely suited to explaining over a number of classes. (Source: I had to learn Unity at my University) On the other hand, an engine like raylib can be grokked in an afternoon, so a university-level raylib class wouldn't work. So you have all these amateur game developers and programmers coming out of diploma mills, and all they know is Unity/Unreal, so companies hire Unity/Unreal, so universities teach it, etc. See also: Java being popular. Then of course, all these companies have wildly different needs for their Unity projects, so Unity, being a for-profit company that serves its customers and not a single disgruntled programmer, has to conform their engine. So you end up with 'turbobloat.' (amazing term, btw)

The Half-Life and Morrowind engines are in a unique situation where they're put together by enthusiastic programmers who are paid to develop stuff they think is cool. You end up with minimal engines and great tech, suited to the needs of professional game developers.

This seems like something that sits in between a raylib and a Unity. I haven't used it, but I worry that it's doesn't do enough to appeal to amateur programmers, but it does too much to appeal to the kind of programmer who wants a smaller engine. I could be very wrong though, I hope to be very wrong. Seems like the performance here is very nice and it's very well put together. There's definitely a wave of developers coming out frustrated from Unity right now. As the nostalgia cycle moves to the 2000's, there's a very real demand to play and create games that are no more graphically complex than Half-Life 2.

Anyway, great project. Great web design. Documentation is written in a nice voice.

inthebin · 8 months ago
Games used to be crisp as hell, and now they run like shit, crash, and take 150gb to download, and 150 years to launch. If we played games for graphics, one of the most popular MMOs wouldn't be based on a browser game from 2002, in fact we wouldn't be playing games we would be playing real life.

Look at what Epic Games did with fortnite. They killed a competitive scene game that ran smooth for turbobloat graphics and skins.

inthebin commented on Trump wins presidency for second time   thehill.com/homenews/camp... · Posted by u/koolba
the5avage · 10 months ago
Is there some analysis why the polls didn't correctly predict the result?

A failure in representative polls like this should be avoided with statistical methods.

inthebin · 10 months ago
Because a percentage of people who vote trump tell everyone they will vote dem to not be bullied or frozen out by their friends, relatives, colleagues, etc. Dr Phil described it well I think.
inthebin commented on SSL certificate lifetimes are going down. Dates proposed. 45 days by 2027   github.com/cabforum/serve... · Posted by u/thunderbong
inthebin · a year ago
Honestly, why not make it expire after an hour or something? That way you're forced to deal with auto renewal.
inthebin commented on Large language models reduce public knowledge sharing on online Q&A platforms   academic.oup.com/pnasnexu... · Posted by u/croes
nfw2 · a year ago
Fwiw, GPT o1 helped me figure out how a fairly complex use case of epub.js, an open-source library with pretty opaque documentation and relatively few public samples. It took a few back-and-forths to get to a working solution, but it did get there.

It makes me wonder if the AI successfully found and digested obscure sources on the internet or was just better at making sense of the esoteric documentation than me. If the latter, perhaps the need for public samples will diminish.

inthebin · a year ago
To be honest, many times GPT 4o helps me understand poorly written emails by colleagues. I often find myself asking it "Did he means this when he wrote this?"... I'm a bit on the spectrum so if someone asks me vague questions or hallucinates words for things that don't exist, I have to verify with chatGPT to reaffirm that they are in fact just stupid.
inthebin commented on On the Nature of Time   writings.stephenwolfram.c... · Posted by u/iamwil
gibsonf1 · a year ago
I'm a big fan of Wolfram's physics project, however, he seems to be confusing thinking about physics (computation) with the continuous and ever-changing substance of the universe itself.

Time is a human idea to grapple with the fact that everything is both continuous and constantly changing. Time is simply picking out from that continuous change a sequence of changes or state(s) that occur during a measured standard sequence of change, such as the earth making a single rotation around its axis (day). It helps us manage and refer to and measure both the order of changes and the duration of changes or states using standards.

inthebin · a year ago
I thought spacetime was a fundamental concept of physics which explains gravity and not merely a human invention for measuring change...?
inthebin commented on Intelligence is not like height   theinfinitesimal.substack... · Posted by u/Schiphol
passion__desire · a year ago
Depression is clearly a hardware issue. So also ADHD.
inthebin · a year ago
Depression very clearly is both a hardware issue and a software issue.

rolled 0.6 on hardware + 0.4 on software = 1.0

rolled 0.4 on hw + 0.6 on sw = 1.0

rolled 0 on both = 0.0 = maximum depression

rolled 1 on both = 2.0 = golden retriever with good owner

inthebin commented on Artificial intelligence is losing hype   economist.com/finance-and... · Posted by u/bx376
dax_ · a year ago
Do you perhaps have some resources on how you use AI assistants for coding (I'm assuming Github Copilot). I've been trying it for the past months, and frankly, it's barely helping me at all. 95% of the time the suggestions are just noise. Maybe as a fast typer it's less useful, I just wonder why my experience is so different than what others are saying. So maybe it's because I'm not using it right?
inthebin · a year ago
I think it's your mindset and how you approach it. E.g. some people are genuinely bad at googling their way to a solution. While some people know exactly how to manipulate the google search due to years of experience debugging problems. Some people will be really good at squeezing out the right output from ChatGPT/Copilot and utilize it to maximum potential, while others simply won't make the connection.

Its output depends on your input.

E.g. say you have an API swagger documentation and you want to generate a Typescript type definition using that data, you just copy paste the docs into a comment above the type, and copilot auto fills your Typescript type definition even adding ? for properties which are not required.

If you define clearly the goal of a function in a JSDoc comment, you can implement very complex functions. E.g. you define it in steps, and in the function line out each step. This also helps your own thinking. With GPT 4o you can even draw diagrams in e.g. excalidraw or take screenshots of the issues in your UI to complement your question relating to that code.

inthebin commented on Children should be allowed to get bored (2013)   bbc.com/news/education-21... · Posted by u/xj
ricketyricky · a year ago
Ehem - sounds like a normal childhood?

Compare that to the sheltered, all-wishes-granted and no minute spent w/o distractions like social media, kids. Started with Gen Z who get all angsty, with panic attacks, when they have to start performing, i.e., during final exams and the like. And never learned to deal with emotions and free-floating thoughts, handling themself, keeping calm.

(all observed from multiple coworkers being parents, some had to bring their offspring to psychiatric therapy - of course, driven, as taking public transport on their own would be too much!)

Due to our normal childhood, we could handle situations later in life where today's offspring inevitably fails.

inthebin · a year ago
I think the problem you're describing is not due to distractions and social media. I think the fault there is that school has changed, kids aren't taught to be allowed to make mistakes. If you're not taught that failure is part of learning, then you're just teaching kids to build anxiety because they are not allowed to fail.

u/inthebin

KarmaCake day13July 29, 2024View Original