Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 8y ago · link · parent

Reposting from a previous thread:

I have not had a chance to try it out for myself yet, but I have recently learned that webkit includes a direct-to-opengl renderer such that one can skip the Qt or GTK backend and write HTML/CSS/JS that outputs to the framebuffer directly.

comment 8y ago · link · parent

> And exploiting security bugs is not unlawful?

Not when you have all of congress (minus a very select very few) wagging their tails and eager to please you it's not.

comment 8y ago · link · parent

Ok so they can build them but they can’t use them. I think the OP’s hyperbole might be excused.

comment 8y ago · link · parent

Yes it is. USPS first class (ie regular not bulk) mail IS absolutely private and may not be opened by authorities without a warrant (and tampering with them by non authorities is a federal crime).

What security agencies have done is scan and collect all envelope info (metadata) which was ruled to be not private (makes sense) but with powerful enough cameras, lights, and enhancement software that most letters sent in standard envelopes can leak their contents.

5015.

Microsoft is trying to kill passwords(washingtonpost.com ↗)

2 points · by ComputerGuru · 8y ago · discuss

5016.

The Girl Who Turned to Bone(theatlantic.com ↗)

9 points · by ComputerGuru · 8y ago · discuss

comment 8y ago · link · parent

Read on. Middleware providers are new to ASP.NET Core.

comment 8y ago · link · parent

Disclosure: c-smile is the author of sciter.

comment 8y ago · link · parent

That has dependencies on the UI toolkits, judging by the binary names (gtk dependency).

comment 8y ago · link · parent

That’s actually the author you’re replying to :)

It’s a quirk of the translation/language barrier that it may seem that he’s attacking the author, but just replace “the author” with a first person pronoun and re-read.

comment 8y ago · link · parent

Thanks. Did you strip the binaries?

comment 8y ago · link · parent

Not really. WebGL basically exposes the OpenGL APIs from within the browser context. This backend focuses on drawing the browser chrome itself via the OpenGL API, which is wholly independent (one is a consumer, one is a provider). This was a patch that was upstreamed into WebKit a while back from a fork.

comment 8y ago · link · parent

> The clients look ugly and unpolished.

Check out Viscosity. I've been a user for a few years now, it’s great stuff.

comment 8y ago · link · parent

This looks really cool, my first instinct was "like xslt!" but this is way nicer and more pragmatic.

It's a shame that it requires X11 on Linux, though. As the renderer must already be decoupled from the rest of the code to support Windows and Linux, I imagine it shouldn't be too hard to rip out the X11 bindings and write to a framebuffer directly instead.

I have not had a chance to try it out for myself yet, but I have recently learned that webkit includes a direct-to-opengl renderer such that one can skip the Qt or GTK backend and write HTML/CSS/JS that outputs to the framebuffer directly.

comment 8y ago · link · parent

I haven’t coded against the Zebras but I have against their counterparts from Epson with ESC/POC and fully concur. It’s like a throwback to the 80s or early 90s.

comment 8y ago · link · parent

Zebras are indestructible. It’s what Amazon uses in their warehouses for everything. I was looking for a label printer and my options were a new dymo label printer from 2015 or a zebra released 15 years prior. The zebra still won.

comment 8y ago · link · parent

mov significantly predated MP4

comment 8y ago · link · parent

I was thinking more along the lines of undetected hyper surfaces or wormholes.

comment 8y ago · link · parent

Everyone keeps coming back to this point, but I maintain that just because there’s no way that we know of (or that makes sense in the framework of our understanding) for information to travel between the two, it absolutely does not mean information _did not_ travel between the two. It’s the simpler explanation, if you don’t let hubris get in the way.

comment 8y ago · link · parent

> I enjoyed HipChat

Is that just due to client fit and polish or for a more fundamental reason?

comment 8y ago · link · parent

Please add [video] to the title.

comment 8y ago · link · parent

I imagine if the code were properly written to deal with race conditions you wouldn’t notice any issues either way besides an increased latency for some requests.

Good luck!

comment 8y ago · link · parent

I read that article before and just reread it now - thanks for writing it up, but I still have the same question I did the first time around. You posit:

> Because we run 200 invocations or so in parallel we’ll only need to download the model once and save it there

From my own reading of the Lambda docs, it seems that a simultaneous request for the same Lambda may or may not spin up a new container, ie while serial requests within the 15 minute timeout will likely reuse the same instance with the same frozen/cached tmp data, parallel requests do not have that assumption.

Was this your finding in practice? If so, were your CloudWatch “keep warm” events a series of just 1 Lambda invocation ~10/15min apart of 200 simultaneous requests serially spaced to keep the instances spun up?

comment 8y ago · link · parent

Thank you very much for sharing those results!

comment 8y ago · link · parent

Sure, but this is the installer presumably being loaded from CD/USB; in addition to not needing to be compressed the same as the resulting installation and being a one-time ordeal, these are slower media: the less you have to read from disk, the faster your end result may be, even including decompression time.

It’s why lz4 compression of a file system can be faster than no compression even with an ssd on fast machines; I wonder if that would boost your performance vs the uncompressed image (though I don’t know if the kernel supports lz4 decimal at boot time)?

comment 8y ago · link · parent

I thought you were kidding, but then I read the article and it certainly is either innocence bordering on naïveté or indeed an unfortunate “hahaha this is funny but fortunately no one will realize” type of thing.

“To date, we've shaved the Bionic Beaver minimal images down...”

comment 8y ago · link · parent

Curious. Why gzip and not xz?

comment 8y ago · link · parent

Why don’t your npm scripts specify /bin/sh as the interpreter?

comment 8y ago · link · parent

Probably because of how much misinformation there is about them and how prevalent bad Makefile code is, both in tutorials and in the real world. They're so fundamentally simple - it's just a directed graph - that they're easy to get wrong (mainly because they might still work.. until you need to change something). The majority of Makefiles I encounter will quickly break down under high levels of parallelization due to mistakes in the DAG (try -j64 on random projects from "huge" "high-quality" open source projects). Add to that the fact that most projects use autoconf to generate Makefiles when they don't need to, it was just a mess.

After learning and using many other "modern" Makefile replacements of various complexities (ninja, cmake, scons, tup, meson, bazel, and others) I realized if you're not using exactly what the tool was designed for, you end up recreating a Makefile (e.g.: meson is awesome for cross-platform C++ builds, but if you try to use it to build an environment composed of output from various processes that aren't C++ compilers, writing a Makefile is easier). CMake, apart from also being too C/C++-specific, would be nice if it didn't require a million different files and didn't have such a god awful language.

The only one I liked as a general purpose build system was ninja but it is too restrictive to code in (requires duplication of code by design, not meant to be written by hand though I still do from time to time) and tup, but tup is built around fuse (instead of kqueue/inotify/FindFirstChangeNotification) and so is a no-go for anything serious.

Once I embraced Makefiles, it turned out that most things traditionally built with shell scripts should actually be Makefiles for determinism. For example, I just used bmake to take a clean FreeBSD AMI and turn it into the environment I need to perform some task every n intervals (the task itself was turned to a Makefile rule), in place of where Puppet and other tools would normally have been needed, but would have been overkill for my needs.

The only drawback to Makefiles that I haven't found a clean solution to is when you need to maintain state within a rule (without poisoning the global environment). The only solutions I can see are either a) using a file to store state instead of a variable, which is just stupid, b) calling a separate shell script (with `set -e; set -x` to try and mimic Make behavior) which sort of defeats the point of Make, and c) multiline rules with ;\ everywhere, which is hideous and error-prone but works (though it makes debugging a nightmare as the rule executes as one command, again defeating some of the benefits of Make).

comment 8y ago · link · parent

I didn’t see anyone else mention this, but to me it is a problem of facebook’s own making. They drove personal content off the site when they pushed videos and pictures by “viral marketing” firms onto it. They replaced groups (inherently personal) with pages, then scrambled to try and bring groups back years later. They turned the wall to spam from various garbage apps that were given permission to crap all over it by default interspersed with ads and machine-generated content (“a picture of you from three years ago”).

In their zeal to gain IM users, they replaced messages with chat, removing the inhibition that kept people from using messages for one liners. Then they made you always online, supplanting Facebook itself entirely with something that could be replaced by any other real-time communication app. Once phones became nicer to use and there were alternatives to the lag and limitations of SMS, people had no reason to log into Facebook to chat with their friends because Facebook has trained non-IMers to IM and they no longer needed Facebook to do it.

Users would have killed for high-resolution photos (Facebook would make pictures so tiny and so low resolution that they’d become unrecognizable and all talent that went into composing them or editing them would be lost, and they couldn’t contain text or captions because that would be compressed away) or the ability to create albums. A dozen apps existed to shoehorn that functionality in via the Flickr api. Then they had to go buy Instagram to win those users back.

Now people just post major life events to share with people they didn’t bother communicating them to via another, more personal means of communication once a year or so.

1
167168169
277