HNHacker News
TopNewBestAskShowJobs

aloer

508 karma · joined July 12, 2018

submissionscomments
aloer··on Show HN: I built an online image editor using WebGL and CSS transforms
What’s your take on 2d canvas? I always see these 2d Toole using webgl and wonder how big of a difference it is.

Filters of course work best in webgl. But the rest?

Also, do you use offscreencanvas in chrome?

aloer··on The Cult of Kubernetes
Ignorant HA requirements, will this work fine with a single beefy node in home network or would I be better off running multiple vms on that single server which then run separate Kubernetes nodes?
aloer··on Apple and Foxconn broke a Chinese labor law to build the latest iPhones
> Not sure why these phones are still large phones without Touch ID

Because people like them and people pay for them?

Your opinion of preference for TouchID seems to not be shared by the majority who prefers FaceID. it just works

aloer··on Tell HN: Thank you for not redesigning Hacker News
The number one request I would have is that they support previews in messengers.

When I share an hn link on iMessage or telegram it should at least show the hn title text

aloer··on MacBook Pro Keyboard Drives Me Crazy
> Renaming with anything other than Enter makes sense because Enter opens the file.

Does it? Enter is “text confirmation, make new line”. With single line inputs it’s expected to work like a submit for e.g. a search. Submitting a file name change happens with enter on windows as well. Now if you rename with f2, then submit with enter and accidentally press enter a single time you suddenly have executed or opened something you only wanted to rename. Enter, the most prominent big button with a single function after space, suddenly becomes a completely orthogonal context sensitive option. That’s weird

And don’t get me started on the use of enter in Microsoft teams based on context of your message...

If you are in a list or ‘’’ code formatted block the first enter will break out and allow you to write plain text below in the same message, the second enter will send the message

aloer··on MacBook Pro Keyboard Drives Me Crazy
> The fact that in Finder the Enter button does not actually enter a directory or run/open a file but let me rename it was the biggest surprise. I personally rename filesystem objects rarely, while I 'execute' them all the time, it does not make sense!

You are right, I hadn’t thought of that. But there is an easy solution that imho in a way is better anyways:

CMD arrow allows you to navigate through file structure including drill down, I.e. open folder.

CMD o opens/runs any file selected (also opens folders so it’s a not-so-elegant replacement for open on enter)

This to me makes more sense though now that I think about it because it differentiates between running (potentially unsafe/slow) and quick keyboard navigation through folders. I admit the CMD arrow functionality is a bit hidden

aloer··on MacBook Pro Keyboard Drives Me Crazy
Finder is probably the worst part of using a Mac. But explorer isn’t that much better either

I am currently forced to use windows and it’s near impossible to get anything done with it without feeling frustrated. It simply doesn’t follow my speed and line of thought on anything.

I am quite shocked after using Mac for 7 years how little progress or even regression windows 10 went through. Without making this into a windows bashing thread only the explorer related things I can think of:

- unzip hidden behind right click or freaking menu button. And a dialog with checkbox to “show files after extraction”. Mac: double click. New folder. Done

- rename through right click or f2. Laptop means fn+f2. Mac: press enter, type, done

- quicklook on Mac is the single greatest feature ever. Mainly because it works in file dialogs. Need to upload a file but don’t know which one? Just quicklook. Windows afaik has no equivalent

- somewhat related, maximum length of file paths. There is no excuse for that in 2019. If unzipping fails because of this the software is just plain bad

And this is just explorer which I barely use. Shocking

aloer··on Why Does Developing on Kubernetes Suck?
What would you recommend for development of some private project on a local server? No cloud cluster, bare metal and great opportunity to learn.

Something on the order of 20-40 services for even the most trivial things. Development speed above all else

aloer··on Nvidia CEO says Google is the only customer building its own silicon at scale
I don’t think it affected the adoption of VR much. OTOH it might be very beneficial in the long run that VR had a slow start. Probably the most dangerous thing to happen here is if customers are forever scared away due to bad but expensive early experiences.

As far as I can tell, the hardware development continued and the next wave of VR will have much higher quality and more performant GPUs to make a good first impression.

It would look differently if the entire VR field would’ve collapsed due to low sales but tbh it looks like it’s maturing slow and steady and that’s how it should be

So essentially high gpu prices might have given the field just enough time to mature with patient early adopters before it goes main stream. At least that’s how I hope it will be

aloer··on US Navy will replace touchscreen with mechanical controls on its destroyers
Afaik soli is the recognition part (through radar).

Something that creates physical feedback is for example that Disney VR project where they use air to create the feeling of resistance

aloer··on Drama – Draw user interfaces and create interactive prototypes
I read somewhere that Sketch was only possible because of the high quality of osx/quartz at the time. Lots of low level work already done by Apple. But now that has become the reason they can’t compete with web based tools like Figma
aloer··on OpenPDF 1.3.0
how does Skia and pdf work together? I know there is a pdf backend but the way I understand it is that it just outputs pdf instead of an image

I recently started playing around with wasm Skia/CanvasKit but I have a hard time wrapping my head around what exactly it is supposed to be used for, as well as Skia in general.

For example, Skia allows text rendering and I could naively assume that if I want to build some high performance 2D UI that Rendering text with Skia would work reasonably well.

But at what level would text interactivity like selecting text happen?

I’m afraid this is a very generic question.

Are you familiar with any pdf or text related project that uses Skia and could help me better understand what role Skia plays?

aloer··on What an attacker gets from Apple devices if they sniff Bluetooth traffic
technical problems aside it’s not great to see how many people around us leave leave AirDrop on for everyone.

Sitting in a train or plane full of people means there’s usually 3-4 at least in range to randomly annoy with shared pictures or to force open a link in safari

works as intended I guess

sidenote: anyone know what limits there are on all things short range wireless? How many AirPods can reasonably work in a small area? How many Apple watches can unlock a mac wirelessly? How much AirDrop/short range device discovery can happen simultaneously?

aloer··on CanvasKit – Skia and WebAssembly
Would be great if anyone here has some experience with this and examples of use cases. I have been looking at this for a few weeks now for a tile based view with multi threaded rendering and server side prerendering. But I just can't figure out what the benefits would be over canvas natively, if there even are any. As I wrote in https://news.ycombinator.com/item?id=20339574

" context: I want to build a tile based view (tiles in x/y dimensions + zoom levels). The content of the tiles is loaded from server (shapes mostly) and rendered into tile images client side. I also want the same tiles prerendered as identical images on the server.

For this I have a feeling that something like skia is the way to go. Skia can be used via wasm bindings. How I would fetch the shapes and render the tiles (or fetch the prerendered ones) transparently and then where to render the tiles into, that is what I am trying to figure out. It feels like multithreading could be very useful here. Right now only chrome appears to support OffscreenCanvas (which can be accessed from webworkers), hence the idea of using skia directly and possibly going a level higher to write whatever kind of multithreaded render logic in rust and run it with wasm and a single "canvas output". Whether skia is the right choice here or not is also something I have yet to figure out

The ultimate goal is quick startup (prerendered tiles) while simultaneously high performance when updating the entire view (=multiple tiles in parallel). This is mostly a learning project for me context: I want to build a tile based view (tiles in x/y dimensions + zoom levels). The content of the tiles is loaded from server (shapes mostly) and rendered into tile images client side. I also want the same tiles prerendered as identical images on the server.

For this I have a feeling that something like skia is the way to go. Skia can be used via wasm bindings. How I would fetch the shapes and render the tiles (or fetch the prerendered ones) transparently and then where to render the tiles into, that is what I am trying to figure out. It feels like multithreading could be very useful here. Right now only chrome appears to support OffscreenCanvas (which can be accessed from webworkers), hence the idea of using skia directly and possibly going a level higher to write whatever kind of multithreaded render logic in rust and run it with wasm and a single "canvas output". Whether skia is the right choice here or not is also something I have yet to figure out

The ultimate goal is quick startup (prerendered tiles) while simultaneously high performance when updating the entire view (=multiple tiles in parallel). This is mostly a learning project for me "

Essentially what I am wondering is if using skia via wasm would allow me to bypass limits on canvas natively (and canvas in webworkers) so that I can render multiple tile images in parallel and then draw them into a single view for the user to interact with. Think google maps or similar but tiles rendered client side

Overall this feels like there might be a better way and I am just not seeing it

aloer··on Show HN: I built a service to discover rapidly growing Google search topics
OT, the chart for remote recruitment looks very cyclic -> https://trennd.co/trend/remote-recruitment

any idea where this is coming from?

aloer··on Microsoft’s Q4 earnings and 2020 expectations
don't forgot Linkedin and, to a certain degree, Minecraft.

It's fun seeing them like Disney with all those different brands and universes where they could squeeze out a ton of interesting things and immediately have a big market waiting. They have access to developers, to job seekers, can push certifications for their own cloud, to enterprise, to classrooms, to great hardware engineers and to minecraft to introduce upcoming AR/VR hardware with. One of the perhaps best brands for this (after pokemon?)

aloer··on Telautograph
"By my invention you can sit down in your office in Chicago, take a pencil in your hand, write a message to me, and as your pencil moves, a pencil here in my laboratory moves simultaneously, and forms the same letters and words in the same way. What you write in Chicago is instantly reproduced here in fac-simile. You may write in any language, use a code or cipher, no matter, a fac-simile is produced here. If you want to draw a picture it is the same, the picture is reproduced here. The artist of your newspaper can, by this device, telegraph his pictures of a railway wreck or other occurrences just as a reporter telegraphs his description in words."

I'm amazed how much this reads like a modern pitch. Fascinating

aloer··on How iOS 13 redraws your eyes so you're looking at the camera
The existence of the feature is not a problem, that’s just where technology is heading. For individual use it could be enabled, if desired

But it being made default and thereby de facto saying that everyone needs it is absurd. There is no way that something like this is not damaging to society in the long run

aloer··on How iOS 13 redraws your eyes so you're looking at the camera
I was very surprised when I downloaded zoom yesterday and noticed that an “appearance enhancement filter” is enabled by default. This is something that I am not used to outside of social and camera apps from (mostly) Asian countries

Sad state of the world where the default in a business related App is essentially telling you that this is necessary. Can’t be healthy for society

aloer··on Apple reveals App Store takedown demands by governments
In terms of books that is very much a non Apple issue. Every country can (and does?) ban some books from publication. Whether it’s political or „save the children“, it’s a normal government process and your chosen platform, digital or paper, is irrelevant. Picking out Apple for book censorship is wrong.

Apps on the other hand you are totally right about. This censorship exists with app stores only. But in practical terms, is there really a difference between side loading iOS apps or installing android apps from binary? If anything I would prefer the open source nature of side loading

aloer··on Google Earth Ported to Browsers with WebAssembly
I am confused about the multi-threading support in chrome. The article links to https://medium.com/google-earth/performance-of-web-assembly-... where they mention that chrome 74 added support for threading. Reading the 74 release notes I can't find anything

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... says that SharedArrayBuffer was readded in chrome (behind a flag?) in v67, not 74. Is that the same? Is SharedArrayBuffer equivalent to the support for multi-threading or were other parts disabled due to spectre – or not yet implemented in 2018?

This whole wasm/threading/spectre mitigation situation is difficult to follow

What is the state of this in July 2019. Do you know about a benchmark/good example project that gives a good overview of what's currently possible?

context: I want to build a tile based view (tiles in x/y dimensions + zoom levels). The content of the tiles is loaded from server (shapes mostly) and rendered into tile images client side. I also want the same tiles prerendered as identical images on the server.

For this I have a feeling that something like skia is the way to go. Skia can be used via wasm bindings. How I would fetch the shapes and render the tiles (or fetch the prerendered ones) transparently and then where to render the tiles into, that is what I am trying to figure out. It feels like multithreading could be very useful here. Right now only chrome appears to support OffscreenCanvas (which can be accessed from webworkers), hence the idea of using skia directly and possibly going a level higher to write whatever kind of multithreaded render logic in rust and run it with wasm and a single "canvas output". Whether skia is the right choice here or not is also something I have yet to figure out

The ultimate goal is quick startup (prerendered tiles) while simultaneously high performance when updating the entire view (=multiple tiles in parallel). This is mostly a learning project for me

aloer··on Life is fractal, but markets are square
Two months ago I wrote this comment in a thread about the healing power of gardens/nature:

I've had a theory for some time now based on my own observations: A big part of why nature is so calming is the absence of repeating patterns. In our artificial life everything follows standardized forms and patterns. It's a sterile world. The most obvious example being rectangles and perfect 90 degree angles everywhere. But I would also count things like uniform colors, evenly spread (artificial) light, predictable sounds etc. That makes me think that somehow something like this absence of patterns - and the knowledge/assumption for our brain that they are not to be expected in nature - helps us. The beauty in this is that nature _is_ full of patterns. But on a different level, no two patterns are ever the same. When you look at a green tree you simply won't assume to find two leaves with the same color and shape

-> https://news.ycombinator.com/item?id=19693343

A comment by patcon linked the following article:

http://nautil.us/issue/47/consciousness/is-consciousness-fra...

A fascinating read about fractal patterns in nature and how they feel “just right” to us

aloer··on Ask HN: What do you do with your Raspberry Pi?
Thanks a lot, I had only seen the guide/schema document

What I’m interested in is primarily flexible mixing of different streams so I’ll definitely have a look here

aloer··on Ask HN: What do you do with your Raspberry Pi?
Moonfire NVR looks like an amazing project that I can learn a lot from for an entirely different project with streams and stuff that I’m interested in and have zero experience with!

Also great that it’s written in rust

Is there any way to test it without rpi/camera?

If I understand the readme correctly, you store frames individually (as jpegs?) on disk and construct flexible mp4 streams on the fly. Naturally I would have assumed that this would be inefficient so I’m wondering if I got this right, not very familiar with stream/video/codec tech

aloer··on Show HN: Gravitle – 2D soft-body engine built with Rust for the web
super interesting. Is there a blog post somewhere?

how much better is the performance due to rust/wasm compared to implementing the physics in JS?

aloer··on 15-Inch MacBook Pro Battery Recall Program
Don’t want to sound overly paranoid here but is it possible you were given fake parts? As in, the third party shop had the originals shipped and put cheaper ones in your Mac to sell the originals for a bit on the side.

I have no idea about the safeguards Apple has in place but your experience sounds very unusual

aloer··on The new Dropbox
I agree. Looks like retreat to me.

Previously when they bought Mailbox or when they introduced Paper (which I never used...) I thought they are up to something exciting and innovative regarding how we work/do common workflows. Now it looks like they outsource the most important parts to others and accept being the glue in between. Integrations are just not that exciting

aloer··on AMD Ryzen 9 3950X is the fastest processor on Geekbench
I assume political reasons.

- Don't want to rely too much on a single manufacturer (they already use AMD GPUs). Always keep multiple supplies alive/well. - Don't take away too much from Intel to not affect other components (they were in the game for LTE modems which Apple needed/needs) - How good are integrated intel vs amd gpus? Could play a role as well

aloer··on AMD Ryzen 9 3950X is the fastest processor on Geekbench
I was surprised that Apple demoed the new Mac Pro not with video editing but with audio editing/generation/whatever it's called. Guess there are quite a few performance hungry audio applications out there
aloer··on Mary Meeker’s 2019 internet trends report [pdf]
slide 94:

nearly 4.2 million people streamed in december 2018 at least once on twitch

that seems incredibly high. I wonder how many of those are streaming games vs. talk/conversation vs. travel/outside social etc.

I also wonder what the cost of all of this is. How many of them will actually be unprofitable for twitch due to not having any viewers. The streaming infrastructure must be more expensive than say a yt vid that no one watches, no?

← PreviousPage 6 of 7Next →