HNHacker News
TopNewBestAskShowJobs

jclarkcom

706 karma · joined February 20, 2013

submissionscomments
jclarkcom··on I tried making artificial sunlight at home
No, there is no IR to speak of, however a lot of people tell us they feel warmer when they stand under it - just a psychological effect but interesting to observe
jclarkcom··on I tried making artificial sunlight at home
We provide full 1nm resolution SPDs in our download section so you can do any kind of calculations you want. Worth noting the SPDs change a lot depending on the color temperature of the light. In terms of similarity, trying to match sunlight exactly is not ideal because UV is bad for you and IR is a lot of water energy that can be produced in other ways more efficiently. For energy efficiency we focus on the spectrum that is most important for humans (versus plants, fish, etc). This is mostly the visible spectrum as align with our cones and the blue spectrum aligned with our ipRGCs. Most people don’t know about ipRGCs so we have a research page about this here: https://www.innerscene.com/research For the visible spectrum we target 90+ CRI for the full CCT range (3000-40,000k) but it goes as high as 98 and even R9 goes up to 9& as well. You might find this content about ipRGCs and melanopic light interesting

https://www.innerscene.com/products/circadian-sky/CircadianS...

jclarkcom··on I tried making artificial sunlight at home
Oh, gotcha. we don’t do that in-house but lots of companies are available that specialize in this - probably one near you if search for sheet metal fabricators.
jclarkcom··on I tried making artificial sunlight at home
Haha - actually one of our customers is a doggie hotel chain that has installed them in multiple locations
jclarkcom··on I tried making artificial sunlight at home
Yeah - channels can be a pain, reach out to me directly if you run into issues: Jonathan @ Innerscene
jclarkcom··on I tried making artificial sunlight at home
Yes, it’s region specific. In the USA sales generally go through a partner. But it is a fraction of the weight, depth, and cost of the large coelux units that run $40k plus install. We also realized there is a need for producing just the sky with great photo metrics and that is even thinner and less expensive. A lot of interesting reading can be found in our interactive spec sheet here: https://www.innerscene.com/products/circadian-sky/CircadianS...
jclarkcom··on I tried making artificial sunlight at home
Thanks! It’s powder coating that gives it a super clean look, great for sales demos but I’d suggest that anything not visible from the room side should be cost optimized
jclarkcom··on I tried making artificial sunlight at home
Let’s chat! Are you the article author?
jclarkcom··on I tried making artificial sunlight at home
Very cool. I’m the CEO of Innerscene (https://innerscene.com) and we make a commercial artificial skylight that uses some of these concepts. Actually the coelux ht25 model is almost identical to what you made but using smaller lenses and more LEDs - however the effect they were able to achieve still isn’t that great, the sun looks like a giant orb and once you get a few feet away you can make out a sun at all. We spent a lot of time working on perfect collimation and hiding lens edges and making sure the view into the sky was seamless and artifact free. I’d say the last 10% of that problem is 90% of the work. :). I think we successfully cracked the nut but currently using a lot of expensive parts so working on brining the cost down. If you search Innerscene patent many of our approaches are spelled out. We also spent a lot of time on simulation and software…
jclarkcom··on Going down the rabbit hole of Git's new bundle-URI
VMware?
jclarkcom··on Qantas South Africa flights delayed by falling debris from SpaceX rockets
I saw them a couple of nights ago and was able to get them in a photo. You can see about 12 of them in a row.

https://www.dropbox.com/scl/fi/u978rksgjrtvusfmpt36k/IMG_896...

jclarkcom··on Back to basics: Why we chose long-polling over websockets
I did the same, were you at VMware by any chance? At the time it was the only way to get comparability with older browsers.
jclarkcom··on How to Create HTML/ZIP/PNG Polyglot Files
If you are loading external libraries like in this example your encrypted data is at risk. It would be better to include the decryption code directly in the Js or embed Js zlib.
jclarkcom··on Singlefile: A web extension to save a complete web page into a single HTML file
Neat idea, how does it compare to just using base64 when gzip is in the middle?
jclarkcom··on Show HN: Tunnelling TCP through a file
I think you can use named pipes if you are using SMB. Here is a example code in python (not tested).

import socket import win32pipe import win32file import sys

BUFFER_SIZE = 4096

def create_pipe(pipe_name): return win32pipe.CreateNamedPipe(pipe_name, win32pipe.PIPE_ACCESS_DUPLEX, win32pipe.PIPE_TYPE_BYTE | win32pipe.PIPE_READMODE_BYTE | win32pipe.PIPE_WAIT, 1, BUFFER_SIZE, BUFFER_SIZE, 0, None)

def open_pipe(pipe_name): return win32file.CreateFile(pipe_name, win32file.GENERIC_READ | win32file.GENERIC_WRITE, 0, None, win32file.OPEN_EXISTING, 0, None)

def proxy_server(machine_name): server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server_socket.bind(('0.0.0.0', 8080)) server_socket.listen(1)

    pipe_name_1 = r'\\' + machine_name + r'\pipe\proxy_pipe_1'
    pipe_name_2 = r'\\' + machine_name + r'\pipe\proxy_pipe_2'

    while True:
        client_socket, _ = server_socket.accept()
        pipe_1, pipe_2 = create_pipe(pipe_name_1), create_pipe(pipe_name_2)
        win32pipe.ConnectNamedPipe(pipe_1, None)
        win32pipe.ConnectNamedPipe(pipe_2, None)

        while True:
            data = client_socket.recv(BUFFER_SIZE)
            if not data:
                break
            win32file.WriteFile(pipe_1, data)
            response = win32file.ReadFile(pipe_2, BUFFER_SIZE)[1]
            client_socket.send(response)

        client_socket.close()
        win32file.CloseHandle(pipe_1)
        win32file.CloseHandle(pipe_2)
def proxy_client(server_name, machine_name): target_host, target_port = 'cnn.com', 80

    pipe_name_1 = r'\\' + server_name + r'\pipe\proxy_pipe_1_' + machine_name
    pipe_name_2 = r'\\' + server_name + r'\pipe\proxy_pipe_2_' + machine_name

    pipe_1, pipe_2 = open_pipe(pipe_name_1), open_pipe(pipe_name_2)
    target_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    target_socket.connect((target_host, target_port))

    while True:
        data = win32file.ReadFile(pipe_1, BUFFER_SIZE)[1]
        if not data:
            break
        target_socket.send(data)
        response = target_socket.recv(BUFFER_SIZE)
        win32file.WriteFile(pipe_2, response)

    target_socket.close()
    win32file.CloseHandle(pipe_1)
    win32file.CloseHandle(pipe_2)
if __name__ == '__main__': if len(sys.argv) < 3: print("Usage: python script.py [server|client] [machine_name] [server_name (for client only)]") sys.exit(1)

    mode, machine_name = sys.argv[1], sys.argv[2]

    if mode == 'server':
        proxy_server(machine_name)
    elif mode == 'client':
        if len(sys.argv) < 4:
            print("Please provide the server name or IP address for the client mode.")
            sys.exit(1)
        server_name = sys.argv[3]
        proxy_client(server_name, machine_name)
    else:
        print("Invalid mode. Please use 'server' or 'client'.")
        sys.exit(1)
jclarkcom··on Show HN: Tunnelling TCP through a file
Neat idea. For better performance, you might want to use native filesystem APIs, for example on windows use CreateFile with the FILE_WRITE_THROUGH flag to prevent caching and and extra flushing.
jclarkcom··on Are Unpaid Take-Home Interview Assignments Ethical?
At VMware while looking for systems level engineers our team would give out a take home programming assignment and it was the most accurate measure of how good someone was. We’d give everyone the same test so it was easy to compare and it was quite niche so you couldn’t google an answer or ask someone else to do it. Not everyone has time to do it, but enough were that we found great candidates and didn’t hire any duds.

There was never a question (by us) about it being ethical. There was an initial engineering phone screen before we asked people to do this so there was serious intent to move to the next stage before the ask. We were also so specialized that we’d only get a couple of candidates per month get to that stage.

From an employers perspective I wouldn’t hesitate to do it again, but now you have to find things chatgpt can’t easily do, which is getting harder to find. someone who knows how to use chatgpt/claude well could be a good find if they know the fundamentals underpinning it.

jclarkcom··on Adobe will charge “credits” for generative AI
One thing that is t clear to most is that generative fill does not consider the contents of the area you are filling so asking it to remove something doesnt do anything - you’d have the same results by leaving the prompt blank
jclarkcom··on πfs – A data-free filesystem
Not to mention thermal expansion which doesn’t happen evenly and trying to cut or measure would have an effect
jclarkcom··on Could we make the web more immersive using a simple optical illusion?
Thanks! Yes - we are getting installed in a number of homes as well as businesses. We are still at the higher end of the market, but comparable in cost to a real skylight after install and maintenance cost - and you can put it in places where real windows or skylights are impossible. We are working on some pretty low cost models now and will have something this summer I think will work for most home owners. In some parts of the world we sell through partners who maintain their own pricing, so we don't have public pricing on the internet but I'm happy to give you some info if you shoot me an email at jonathan@innerscene.com or DM me here.
jclarkcom··on Could we make the web more immersive using a simple optical illusion?
I replicated Jonny lees demo to see how it looks in person but soon learned the problem is one of optics. Without presenting the content at the right focal depth you don’t get past accommodation and binocular convergence conflicts. Without shutter or polarized glasses you also don’t get past binocular cues - so it looks great on a video where there is one camera view but once you add a second human eye it stops looking 3D.

I started a company to try to solve these problems without using head mounted displays and we developed 3D displays that work using an array of rectangular lenses and micro displays plus fresnel lens sheets. We adopted this approach to a new product category we called virtual skylights where we replicate the look and feel of an open sky with a distance sun above you. As you walk around a room the sun will follow you in the sky across units due to the optics and there is no need for active head tracking for this particular case. The effect is really amazing even though the content in this case is super simple. Hard to experience on a 2d screen but we have some videos of it here, in the reaction video you can see how people react to seeing it the first time.

https://www.innerscene.com/a7/videos

jclarkcom··on Lisp Game Jam 2019: Results
I wrote a game in Lisp 24 years ago - imho still fun to play.

https://en.m.wikipedia.org/wiki/Abuse_(video_game)

It’s open source and available on tons of platforms.

jclarkcom··on A Norwegian town built a giant mirror to deflect the sun (2017)
the sun follows you in the sky as you move around but it's angle doesn't change throughout the day.
jclarkcom··on A Norwegian town built a giant mirror to deflect the sun (2017)
In some areas we sell through Lighting Agencies, Distributors, and contractors who will set their own prices and markups. If you let me know where you are located, I can give you a number - but as rough guide, in the USA it is somewhere around $15-$20k for a 40x20 inch unit. We will be announcing a new version next week.
jclarkcom··on A Norwegian town built a giant mirror to deflect the sun (2017)
Good observation. That is an older video from a prototype - take a look at this: https://www.dropbox.com/s/7dwa7mj39rpely6/facia%20and%20mull...

I'd say they are pretty similar, Coelux may be slightly less diffusive but it's beam divergence angle is pretty high so it doesn't hold up for very much distance compared to ours - you can see it spreads out into a non-rectangular shape on the wall.

jclarkcom··on A Norwegian town built a giant mirror to deflect the sun (2017)
Coelux has a nice product, compared to it ours takes up 14 times less space in the ceiling for the same viewable area, the sun is at true infinity so you can create arrays where the sun seamlessly follows you as you walk around, it has dynamic spectrum and dimmable, price is half, weighs ~10X times less so structural install shipping is easier/cheaper, more energy efficient, programmable, just to name a few...
jclarkcom··on A Norwegian town built a giant mirror to deflect the sun (2017)
My startup has been working on a virtual skylight that produces a pretty good proxy for feeling like you are outside in the sun even if you are underground. The key invention is in collimating a large area light source so it travels in a straight line and appears to be miles away. We will be showing it at a conference in Philadelphia next week if anyone is interested. Https://Innerscene.com/products
jclarkcom··on Binctr: Static, unprivileged, self-contained containers as executable binaries
Thinapp solved this by presenting a synthetic view of the filesystem and registry to the app. This view merged the contents of the real system with the contents of the package, so the app thought everything was were it expected when it runs. In addition, we provided a copy-on-write sandbox of this view, so any writes would be redirected to a local folder without the app knowing about it. If you delete the sandbox, the app goes back to it's "first run" state.
jclarkcom··on Binctr: Static, unprivileged, self-contained containers as executable binaries
The problems with this approach are: - It can take a long time to extract the package, especially if you are looking at gigabyte applications. We are able to launch huge applications instantly because we avoid the extraction step. - Windows applications are typically hard-coded to read files from global locations like c:\windows\system32, side-by-side DLL locations, HKEY_LOCAL_MACHINE registry, font folders, services, etc. If you try to copy most applications to a single folder, they won't run. Some apps can be designed to run from a single folder, but this is the exception rather than the rule. - Ideally you don't want the application writing to other parts of the filesystem or registry because it might screw up other apps. We solved this by doing copy on write access to other parts of the PC and redirecting the writes to a local folder.
jclarkcom··on Binctr: Static, unprivileged, self-contained containers as executable binaries
I worked on something similar for Windows for nearly 10 years, called Thinstall (acquired by vmware and renamed to Thinapp). I love the idea of something like that for linux.

We put a lot of effort into being able to run an application directly from a compressed single-file binary, you have a small executable with a big payload attached to the end of it. The payload essentially contains a mountable filesystem, however because windows doesn't support doing anything like that from an unprivileged account we had to emulate many things Windows normally does, including execution of binary images.

We did some tricks where executable data was stored on disk in a format it can be directly memory mapped and run without reading anything - this allowed us to launch most applications over a network without extracting anything to disk locally and achieve millisecond launch times. Pages would get pulled into local memory by the OS as needed while the application was running.

The end result was that you can create a single EXE file could contain things like python + script, or more complex like photoshop & Word. Just go to a new computer from a guest account, launch the EXE and you instantly start using that app.

I haven't been involved with it for the last 6 years, but I believe vmware still offers it.

← PreviousPage 3 of 4Next →