HNHacker News
TopNewBestAskShowJobs

rweichler

157 karma · joined March 7, 2014

twitter.com/rweichler

github.com/rweichler

submissionscomments
rweichler··on Ask HN: How were video games from the 90s so efficient?
For me it was Gameboy
rweichler··on Use forums rather than Slack/Discord to support developer community
Best thing I ever did for EQE is shut down the Discord. Insane waste of my time. Now the only way to reach me is via email or the forum on https://eqe.fm
rweichler··on Ask HN: How were video games from the 90s so efficient?
I was gonna suggest assembly but modern instruction sets are too complicated nowadays
rweichler··on Ask HN: How were video games from the 90s so efficient?
You don't need a job to get good.
rweichler··on Ask HN: How were video games from the 90s so efficient?
Write C, get good
rweichler··on San Francisco's homelessness is a humanitarian crisis
My uncle moved to SF in the early 2000s and died in May 2020 on Eddy St. Even before he became "homeless" he just did drugs all day and thought the world owed him something. He had a college degree and everything, worked white collar jobs, but decided he liked heroin more than that stuff, so he moved to the Tenderloin. Lack of housing wasn't part of the equation, it was the lifestyle that drew him.
rweichler··on I Miss the Old Internet (2019)
I was on the Internet before it was cool.
rweichler··on I will not exercise my Gitlab stock options (2017)
He should have at least exercised exercised a single NSO for 27¢. At least then he'd be kept in the loop to a certain extent.
rweichler··on AutoEQ: Automatic headphone equalization from frequency responses
If you have an iPhone X or older, you can jailbreak it and use EQE (https://eqe.fm) which is system-wide and has AutoEQ integration built-in
rweichler··on ListenBrainz moves to TimescaleDB
Figured I'd use this as an opportunity to plug my own service: https://eqe.fm

Only works on jailbroken devices but it works well, has a local backup, and has been maintained (by me) for 2 years now.

Server costs are $2.50/mo, so this will stay up as long as I am alive.

rweichler··on Ask HN: Who wants to be hired? (November 2019)
Hi. My name is Reed Weichler. Have about 2YOE of working as a salaried software engineer. I have been shipping various products to 100k+ users consistently since 2009 and have been making money on it since 2014.

Location: San Francisco Bay Area.

Remote: For the right opportunity.

Willing to relocate: For the right opportunity.

Technologies: iOS (5y), web frontend (1y, react), backend (1y, go, openresty/nginx, python, postgres, redis), LuaJIT (3y), Love2D (1y)

Resume/CV: https://twitter.com/rweichler (used to promo my products) https://github.com/rweichler (open source stuff) https://linkedin.com/in/reedweichler (work experience)

Email: rweichler@gmail.com

rweichler··on Ask HN: Who is hiring? (October 2018)
Came across Superhuman from the May “Who’s Hiring?” post. Currently on the iOS team. Just wanted to say you’ll learn a lot working here. Not just with engineering, but with product and growth as well.
rweichler··on MoonScript, a programmer friendly language that compiles to Lua
wat?
rweichler··on Ask HN: Who is hiring? (June 2017)
EQE | iOS Reverse Engineer, LuaJIT Engineer | Remote

We are creating a systemwide equalizer solution for all platforms, starting with jailbroken iOS. Looking for engineers who are proficient in reverse engineering iOS (specifically mediaserverd, SpringBoard, and AudioToolbox), and for somebody experienced in LuaJIT. Someone with experience in both would be a huge plus. Remote only.

rweichler@gmail.com

rweichler··on MoonScript, a programmer friendly language that compiles to Lua
i have no idea what im talking about tho.
rweichler··on MoonScript, a programmer friendly language that compiles to Lua
Nah I'm talking about the _ENV variable itself being in lexical scope.
rweichler··on MoonScript, a programmer friendly language that compiles to Lua
It uses lexical scoping, so it probably would mess up traces.
rweichler··on MoonScript, a programmer friendly language that compiles to Lua
> default values for function parameters

    function f(a, b, c, d)
        a = a or 1
        b = b or 2
        c = c or 3
        d = d or 4
    end
> list comprehensions

https://news.ycombinator.com/item?id=14444215

> local is default, not global

I think this is a con.

> a simple class system if you need it

I also think this is a con, because it limits flexibility.

Here's my class system:

    Object = {}
    function Object:new()
        local self = setmetatable({}, {__index = self})
        return self
    end
And how to use it:

    local super = Object
    Shape = Object.new(super)
    function Shape:new(color)
        local self = super.new(self)
        self.color = color
        return self
    end

    local super = Shape
    RedShape = Object.new(super)
    function RedShape:new()
        local self = super.new(self, 0xff0000)
        return self
    end
If I want to add multiple inheritance, or interfaces, it is easy. Because it is just metatables. With MoonScript this is not possible.

> `export`, `from` and `import` keywords

Sounds like a con to me. `require` is simple.

> `+=`, `/=`, `*=`

I agree with this one.

rweichler··on MoonScript, a programmer friendly language that compiles to Lua
Idk. Still not sold. You can do list comprehensions in regular Lua with something like this:

    function listcomp(t, f)
        local r = {}
        for k,v in pairs(t) do
            r[k] = v
        end
        return r
    end
And then, your Lua code would be like:

    listcomp({1, 2, 3, 4}, function(k, v)
        return v*2
    end)
Which would be the equivalent to this in MoonScript:

    [v*2 for k,v in pairs({1, 2, 3 ,4})]
I dunno. Just seems like a wash to me. And then you think about the extra compile step to run MoonScript, and the potential performance hits, and I'm just turned off completely from it.
rweichler··on MoonScript, a programmer friendly language that compiles to Lua
You have any references to these arguments between the two gods?
rweichler··on MoonScript, a programmer friendly language that compiles to Lua
Care to give an example?
rweichler··on MoonScript, a programmer friendly language that compiles to Lua
Metatables are your friend.

    -- LuaJIT
    
    local oldG = _G
    local newG = setmetatable({}, {
        __index = oldG,
    })
    setmetatable(oldG, {
        __index = function(t, k)
            return rawget(newG, k)
        end,
        __newindex = function()
            error('attempt to assign global variable')
        end,
    })
    _G = newG
If you want to assign a global variable, `x = 5` will error but `_G.x = 5` won't.
rweichler··on MoonScript, a programmer friendly language that compiles to Lua
I see it as a toy language. The only person I think would find it useful is leafo himself since he can edit it however he wants. But everyone else should stay away from it. Plain Lua is so much better.
rweichler··on Maru OS – A complete desktop experience on a smartphone
Idk, but Android isn't the way to go

Probably would need to make a custom OS. I'd probably base it on BSD

rweichler··on Maru OS – A complete desktop experience on a smartphone
> See title

Looks cool.

> Android

Pass.

rweichler··on How to generate Lua boilerplate with D
Is there something like

    extern "C" { void foo(); }
For D? That way you'd be able to use the LuaJIT ffi. That, in combination with what's in the OP, would be killer.
rweichler··on Guy Finds StarCraft Source Code and Returns It to Blizzard
You'd have to pay me way more money than that to keep such a pungent cultural artifact buried. What a shame!
rweichler··on LuaJIT 2.0.5 and 2.1.0-beta3 released
Build system in pure Lua: https://github.com/rweichler/aite

3DS port: https://github.com/rweichler/luajit-3DS

iOS runtime inspector: https://github.com/rweichler/lucy

Cydia alternative: https://github.com/rweichler/jjjj

And this is just stuff by me, some schlep. LuaJIT is so underrated it's kind of sad.

rweichler··on Apple has acquired Workflow, an automation tool for iPad and iPhone
Funny how more than half of them are after 2012. Gotta love the current state of the tech industry.
rweichler··on Ask HN: How should I teach code to kids?
> building and designing for the web

please don't

← PreviousPage 2 of 3Next →