HNHacker News
TopNewBestAskShowJobs

drunken_thor

230 karma · joined August 7, 2012

submissionscomments
drunken_thor··on Don't couple your Go code to GitHub
Honestly google should have always had a package index even if it points tooling to the repo, but it would maintain the package name with the ability to change where the repo is.
drunken_thor··on I don't want the details
I would agree with you, this just sets up a scenario where the SVP positions themselves as a leader, without having to understand something technical, and without making the decisions on how to change things. It isnt about trust, it is about performing accountability so the SVP can say they did their job.

I think the author of the article is going out of their way to be charitable to the SVP for no reason. That meeting was a reassertion of power, not a wise move made by a sage.

drunken_thor··on Pushing the limits of RISC-V emulation
In my limited understanding, static recompiling is like JIT transpilation from one arch to another where emulation runs each instruction calling behaviour depending on the instruction. As for tradeoffs my knowledge is not wide enough to declare anything certain.
drunken_thor··on What AI developers could learn from Charles Bukowski?
This is why there is growing anti-AI sentiment. It is always extractive. You can never just enjoy a poem, you need to use it. You need to extract its value for shareholders. Get a life.
drunken_thor··on My midlife crisis Corolla is fast, furious, and modded
All these words and yet 2 pictures of the car. Show off the mods! Show me the engine bay, the suspension and sway bars!
drunken_thor··on Your 'app' could have been a webpage (so I fixed it for you)
The terrible thing is that everything is moving to apps so that the developers can get more access to the user's fingerprint and get more data. Get access to photos, location ect. All webpages that suddenly have an app, which in my experience ends up having less functionality than the website, are quite simply there to get data, and be able to push notifications. They are parasitic. I miss the days when an app was the better offering but it isn't anymore.
drunken_thor··on The future of Flipper Zero development
What a great tool and community they have built. I find my flipper0 is like a computer Swiss Army knife. It’s so fun to carry around a tool of my own trade.
drunken_thor··on Knowledge Should Not Be Gated
Sdks/libs, especially open source sdks, were never about gated knowledge. They were about the providing company making it as easy as possible for you to integrate. You would not need to know the idiosyncrasies behind api retries, paging, rate limits, auth flow, and on and on. The third party developers needed a resource, they call a method and get it. Open source libraries especially are about pooling knowledge, not gating it. This is propaganda for pooling that knowledge inside a service you have to pay to use, and instead of developers all using and improving the same codebase together, they have to spend money to rewrite the same code repeatedly. This is AI companies further trying to undercut open source because it’s free.
drunken_thor··on Show HN: A statically typed, cross-platform, easily bootstrappable build system
It seems like this was built years ago but only posted now. Why post it now? It doesn’t seem like it has changed much in 4 years so I can’t see that it matured or stabilized over that time. I am sorry for my ignorance of c build systems, this very well might be in high use already. Either way, it looks useful and built by hand so good job! Looks great and I hope people find it useful!
drunken_thor··on CarPlay Is Additive
CarPlay is also a contract between mobile devs and automakers. It allows for things like displaying "current playing" on the dash, media buttons on the steering wheel that control apps, and turn by turn directions show on dash and HUD. A screen cast may be able to do this but not in a consistent dependable way.

Also no one is mentioning that maybe we should not encourage users to use 1000s of apps in their car? It would be irresponsible to easily allow users to watch youtube while driving. Keeping the set of apps usable through the car is a responsibility in automobiles that are already becoming too distracting as is.

drunken_thor··on LuaJIT 3.0 proposed syntax extensions
- Agreed on the bracketed attributes, the close attribute is very useful and devs would reach for the brackets more if they were like as you suggest. - short form fns: you and another commenter have given me good examples. I’m still not sure they are worth the complexity but I understand the use better now. - varargs true! Conceded!

Thanks for the comment! It’s helpful.

drunken_thor··on LuaJIT 3.0 proposed syntax extensions
Agreed, it keeps the parser fast as well because it is a lot more clear when the boolean statement ends and the code block begins. You either need parentheses, `then` or brackets around the block to make parsing clearly defined.
drunken_thor··on LuaJIT 3.0 proposed syntax extensions
I think that allowing an if statement to return a value to deal with the ternary introduces a now concept to Lua and that is that the value on the final line of a block is a return value much like Ruby. This changes the logic of the entire language more than adding a ternary. I do prefer the if statement as it allows so much more emergent behaviour, but it does have more implications to consider.
drunken_thor··on LuaJIT 3.0 proposed syntax extensions
Some of these things are already implemented in PUC Lua. I don't know why they are diverting from lua spec on other aspects though. Why not work together with the PUC Lua team to add some of these to both lua versions and work on bringing their functionality closer to each other instead of further apart. You might as well just make a new language instead. New features will end up not being used in effort to keep lua scripts portable.

In effort to not pollute the github issue, and hopes that the authors read this thread, I will put some of my thoughts here. There are 3 main strengths of Lua: Embeddable, Fast, and Small(easy to learn). I worry some of these changes divert from the last, expanding the language into a more complicated language.

Here is a list of things already implemented in PUC Lua so can be considered safe to add:

  ● ~ a     Bitwise negate
  ● a & b   Bitwise and
  ● a | b   Bitwise or
  ● a ~ b   Bitwise Xor
  ● a << b  Left-shift
  ● a >> b  Logical right-shift
  ● a // b  Floor divide
  ● break   Break statement
Don't get me wrong, I love some of these quality of life changes like:

  ● Const keyword: changing const from `local a <const> = 42` to `const a = 42` is far better syntax. The bracketed syntax was never a good idea.
  ● nil-Coalescing and safe navigation are great additions as they are basically macros at the parsing stage.
  ● Compound assignment is also basically a macro at the parsing stage as well. Lua should already have this honestly.
  ● Ternary Operator: I *like* it and it will help the stumbling block of the `a and b or c` common pattern already in use. Though I think (like others have stated) the If/then/else syntax would be more inline with the language, similar to ruby and would enable far more emergent behaviour. However it does establish a new pattern that the last value in a block is a return value similar to ruby so I am conflicted about that.
  ● `continue` it is nicer than a goto and is helpful.
  ● String interpolation: I honestly don't love lua's concat operator `..` so honestly string interpolation would be a nice to have and a feature of many modern languages. However I do worry about it's effect on parsing performance, and complexity of the language.
  ● Underscores in numbers: *shrug*
These are great ideas for the language but I would want all lua versions to support them, not just JIT. These are things that I think are a distraction:

  ● The `and` `&&` and `or` `||`. This just goes in the wrong direction for lua. It is often confusing in ruby (especially because of precedence issues) but also lua is a wordy language. It has `do` `end` blocks instead of brackets. It adds ambiguity for no reason.
  ● Short form function syntax. Lua does not need this and I am not sure anyone asked for this. Why `a = |x| do ... end` is more helpful than just `a = function(x) ... end` is unclear and would love to hear more about why this is being considered.
  ● Named varargs: It may be nice, but there is no real reason to add this. If you wanted a name for your varargs you could do `local name = ...` or just use the `args` variable already available in every function.
  ● Switch/Match/Select Statements: An optimized if/else block works just as well and another expansion of a small language.
drunken_thor··on The Low-Tech AI of Elden Ring
This is behaviour trees. What you’re describing is behaviour trees. Edit: I see later you say it isn’t a behaviour tree but this is how a lot of BTs are implemented. They don’t always loop from the root. A lot of the time according to state the root is redefined off of a branch and that sub tree is looped until going further down the tree or even into a different tree. Much like the stack you are describing.
drunken_thor··on Show HN: Tiny – An interpeted dynamic langauge with inline Go native functions
What a great accomplishment! How did you manage to complete a JIT language in 2 months!?
drunken_thor··on Is AI ruining our skills? Early results are in – and they're not good
I’m watching those around me forget even the simplest command line commands for every day tasks in favour of AI. So not only are they letting hard earned skills slip away, they are paying for the privilege. Suddenly software development is a profession requiring a monthly subscription to participate in. It puts AI companies in a perfect position. This is the same business model as drug dealers. I am being told that I am going to be left behind but I’m the only one able to still be productive when Anthropic goes down. Don’t get me wrong either, I love that it writes tests and is able to do large tedious refactors for me but I also have a respect for my profession as a skill like a carpenter. It is only ever improved and maintained by active and deliberate work. Ai is killing daily practice, book clubs, community support, community development and we are all paying for the privilege.
drunken_thor··on I cancelled Claude: Token issues, declining quality, and poor support
Ah so we are only supposed to use this work tool outside of work hours?
drunken_thor··on I cancelled Claude: Token issues, declining quality, and poor support
AI services are only minorly incentivized to reduce token usage. They want high token usage, it makes you pay more. They are going to continually test where the limit is, what is the max token usage before you get angry. All AI companies will continue to trade places for token use and cost as cost increases. We are in tepid water pretending it is a bath pretending we aren’t about to be boiled frogs.
drunken_thor··on I wrote a CHIP-8 emulator in my own programming language
His spectre language is fully bootstrapped and written in spectre so his suggestion that you try to get an AI to write spectre stands for both the chip-8 emulator and the language itself. He is very obviously a prolific programmer with a very keen focus.
drunken_thor··on Why can't you tune your guitar? (2019)
I wondered why this article was so high on the front page but now I realize it’s simply because everyone else wanted to “um actually” it. I guess that makes sense.
drunken_thor··on An interactive map of Flock Cams
Haha Sudbury and Napanee are the only places in Canada to have them. They are tiny cities where nothing happens. Bored police officers imagining situations where they are needed.
drunken_thor··on Why No AI Games?
I think AI could reinvent text based games in a fresh way that would be fun. Text based games were always so constrained by what the developer could guess that you would type but with AI it really could read more like an interactive choose your own adventure novel that is easy to navigate.
drunken_thor··on Vibe coded Lovable-hosted app littered with basic flaws exposed 18K users
This is a prime example of how lazy vibe coding makes people. Even if they were not technical, some of these bugs would have been caught if they just went through the behaviour by hand at least once. Not an ounce of QA just generate and ship.
drunken_thor··on Cartoon Network channel errors (1995 – 2025)
Knowing cable companies that was probably until all contracts with that channel as part of the subscription ended. They had to keep the channel running otherwise they might need to refund people.
drunken_thor··on Ask HN: What would you do if you didn't work in tech?
All the jobs I rather be doing are antiquated. Furniture maker but it’s not a viable job anymore either. A machinist, tool-die maker. Or mechanic maybe. I have always thought that mechanics are just debugging a very specific architecture. None of these make money though.
drunken_thor··on What if you could build and sell AI Agents like apps?
What if I puked into your mouth as a service.
drunken_thor··on Why I code as a CTO
This is just a pride post with little self awareness.
drunken_thor··on Show HN: A GitHub Action that quizzes you on a pull request
We now are making bots to quiz other bots. This is a nightmare.
drunken_thor··on Google CEO says more than a quarter of the company's new code is created by AI
A company that used to be the pinnacle of software development is now just generating code in order to sell their big data models. Horrifying. Devastating.
Page 1 of 3Next →