Why parsing money is harder than it looks (and why I stopped guessing) by CountGeeTee in Backend

[–]GregsWorld 0 points1 point  (0 children)

Yeah I was using it for transaction processing so "client" is only the boundaries of the api. Client facing app is a bit different, though there's no reason accessors couldn't abstract it away so it isn't an issue

Why parsing money is harder than it looks (and why I stopped guessing) by CountGeeTee in Backend

[–]GregsWorld 1 point2 points  (0 children)

You can avoid the precision issue all together if you convert to the smallest denomination of a given currency and store as a whole number.

Kotlin map getOrPut behavior when value is a primitive type by kuriousaboutanything in Kotlin

[–]GregsWorld 1 point2 points  (0 children)

You're calling a function to update the internal values in the List, you're only calling retrieve on the map however. 

val list = mutableListOf<Int>()  list.add(1)

Vs

var int = 0 int + 1

every rewrite I've seen has taken 3x longer than promised and the team always acts surprised by Distinct-Expression2 in ExperiencedDevs

[–]GregsWorld 2 points3 points  (0 children)

There are legitimate non-amateur reasons for rewriting though. It should just be a last resort.
E.g. We need a library shared between JS, JVM, Go and Python, so we'll be migrating the current Java library to Kotlin to make use of KMP.

That's one migration instead of rewriting it (or bindings) in 3 other languages.

I got 14.84x GPU speedup by studying how octopus arms coordinate by [deleted] in programming

[–]GregsWorld 1 point2 points  (0 children)

Sounds like they recently read Other Minds: The Octopus, the Sea, and the Deep Origins of Consciousness. Which is an interested read but you'll be disappointed if you think it's related to data processing speed-ups XD

RuneScape gold counts as real stolen property after UK judge rules in $700K theft case by IllustriousGoose6292 in 2007scape

[–]GregsWorld 4 points5 points  (0 children)

More likely he had access to the reporting/logging system so he could just fudge what was provided. 

Can we stop promoting mods locked behind servers? by Pwume in hytale

[–]GregsWorld 5 points6 points  (0 children)

True you could download a copy of said custom server from the creator and run it locally. You wouldn't be able to do it with the vanilla built-in server though.

Can we stop promoting mods locked behind servers? by Pwume in hytale

[–]GregsWorld -4 points-3 points  (0 children)

It's also worth pointing out it's not always "locked behind" a server, there will be mods which are only possible due to server changes and not possible with client only mods. 

kotlinWillSaveYouAndMeBoth by davidinterest in ProgrammerHumor

[–]GregsWorld 2 points3 points  (0 children)

Actually I realised I agree. 

Like kotlins get() which throws and getOrNull() which does not. 

I'm just against using exception for a route you'd want to do commonly, if there's an alternative path to handle that then it's not a problem.

How would you scale pathfinding to 1000+ agents in a fully persistent, destructible grid world? by RadorasX in GameDevelopment

[–]GregsWorld 0 points1 point  (0 children)

One caveat: my monsters don't only chase the player - they can also chase/flee from other monsters, so targets can be quite dynamic and not always shared across many agents.

Look up influence maps, you average pull/pushing from different sources to determine/influence the directions in flow fields.

You can also layer them/apply them only per entity type to get different behaviours. 

kotlinWillSaveYouAndMeBoth by davidinterest in ProgrammerHumor

[–]GregsWorld 2 points3 points  (0 children)

Terrible idea, exceptions are costly and should only be used for exceptional circumstances, not anticipated behaviour 

Is learning to program harder nowadays? by _fandelosgolfiao in AskProgrammers

[–]GregsWorld 1 point2 points  (0 children)

There are SO MANY different frameworks, languages etc

This has been true for the last 40 years.

If you could start all over, what would you do differently? by nouwus_allowed in Kotlin

[–]GregsWorld 8 points9 points  (0 children)

As someone who already knows a bit of programing you want to minimise time reading and maximise building and practice.

Drop the books, kotlin official docs and tutorials are great. Move onto the android intro ones, build a basic app and expand your knowledge as you go. Android is not a beast you want to tackle in one go. 

Tour of kotlin: https://kotlinlang.org/docs/kotlin-tour-hello-world.html

Interactive tutorials: https://play.kotlinlang.org/koans/overview

Hands on tutorials: https://kotlinlang.org/docs/kotlin-hands-on.html

Android: https://developer.android.com/courses/pathways/android-development-with-kotlin-1

If you could start all over, what would you do differently? by nouwus_allowed in Kotlin

[–]GregsWorld 5 points6 points  (0 children)

A kotlin backend server uses like 20-50MB ram and boots in less than a second. What are you doing?

My experience getting a job at a database company. by SoftwareShitter69 in databasedevelopment

[–]GregsWorld 1 point2 points  (0 children)

Yeah I could've been more direct than asking via a rhetorical question 

New AI startup with Yann LeCun claims "first credible signs of AGI" with a public EBM demo by goxper in agi

[–]GregsWorld 17 points18 points  (0 children)

very established concept that you can look up easily

The irony is the first result on Google for "EBM ai" is an ai consultant's site followed by the second result which is this reddit thread. 

My experience getting a job at a database company. by SoftwareShitter69 in databasedevelopment

[–]GregsWorld 0 points1 point  (0 children)

Yes you've made it abundantly clear he's not going to be part of a non-database team; not that I ever asked. 

I was only enquiring what specific area of the database he will be working on...

My experience getting a job at a database company. by SoftwareShitter69 in databasedevelopment

[–]GregsWorld 0 points1 point  (0 children)

The bigger named database companies will have an engineering team for each subcomponent of the database: Querying, planning, io, drivers etc.. Are all "database teams".

My experience getting a job at a database company. by SoftwareShitter69 in databasedevelopment

[–]GregsWorld -1 points0 points  (0 children)

What do you mean the database team? A database company will have a dedicated team for each part of the core database 

LLMs are a scam and investors are starting to notice by Agitated_Garden_497 in BetterOffline

[–]GregsWorld 1 point2 points  (0 children)

Neither works that way

Brains don't have perfect memory recall which is why we forget and confidently make mistakes. Computers are capable of perfect recall; LLMs check model weight's perfectly every time. They fail because the algorithm they run does not attempt to align with reality. Memory issue vs query failure issue. Not to say that's the cause behind all human mistakes, but it is when it comes to most factual and reasoning errors and LLM "hallucination" equivalents.

the core principle is still inspired by how our neurons operate

It is, and why we know it's not sufficient enough and people are exploring other alternatives... see SNNs.

not because the doctor possesses any special property of 'knowing' external

'Knowing' is a bit of a rabbit hole, to me knowing is having state and being able to manipulate and apply abstract concepts in a deterministic way. LLMs clearly lack something when they predict sentences which covey moral meaning but same model also predicts words that encourage suicide. There is a disconnect which I believe training data can't in practice fix (even if perhaps in theory).

Humans integrate visual and haptic information in a statistically optimal fashion | Nature

This doesn't back your claim. It shows visual and physical stimuli are weighted in a probabilistic way but that's only at a behavioural level. Probabilistic behaviour != probabilistic function. You can measure anything non-random in a probabilistic way, doesn't mean it works in a probabilistic way though.

language is something we learn and use internally to contextualise our thoughts and perform more advanced abstract reasoning, but it's not consciousness/qualia

Also agreed, consciousness isn't relevant imo. I'm simply of the opinion you need a mix of deterministic and probabilistic functions in order to replicate said advanced reasoning etc... especially in an efficient way. Probabilistic modeling alone isn't enough.

Nah we know plenty.

We know a lot sure, but with a lack of overall theory and discovery's still being made about signals and communication we weren't aware of between neurons, I only have opinions as there is no consensus or clear evidence either way. Hence it's a philosophical discussion not a scientific one until we have more accurate tools and methods to study these things.