Better HN
topnewbestaskshowjobs
Log inSign up

CapacitorSet

1,489 karma · joined Jul 27, 2016 (10y ago) · 313 submissions

[ my public key: https://keybase.io/capacitorset; my proof: https://keybase.io/capacitorset/sigs/3XQYiFYsETBVes6mFixMECaVoMYCJBjVFgwf6JikpeY ]
Submissions

comment 9y ago · link · parent

For vector graphics, I suppose you could encode information in the least-significant bits (with redundancy, error correction and whatnot) if the printer can guarantee sufficiently high precision (not accuracy, mind you: https://www.tutelman.com/golf/measure/precision.php)

comment 9y ago · link · parent

How industrial are we talking? Is it certified for use in industrial environments? I saw a few mentions of IEC61131-2, but I couldn't find whether it actually has certifications.

If it is suitable for use in the industry, I can't wait to ditch ladder and Structured Text in favour of modern programming languages for industrial controllers.

243.

Human Interface Guidelines(elementary.io ↗)

1 points · by CapacitorSet · 9y ago · discuss

244.

Decentraleyes: privacy-oriented emulation of Content Delivery Networks(github.com ↗)

1 points · by CapacitorSet · 9y ago · discuss

comment 9y ago · link · parent

>If readability is important start penalizing sites with bad readability indexes.

That's relatively easy to do when you're Google and you develop both a browser and the most used search engine; not so much when you're Mozilla and have no apparent mean to apply pressure to websites.

246.

I Can Text You a Pile of Poo, but I Can’t Write My Name(modelviewculture.com ↗)

10 points · by CapacitorSet · 9y ago · 2 comments

comment 9y ago · link · parent

What's so special about American citizens that makes you think they are not to be spied by NSA? Why is it that eg. Europeans can be spied at will, but it takes a mandate to spy an American citizen?

comment 9y ago · link · parent

If you want to study the background noise, I think you would have better luck reacting to it - as well as running tcpdump, set up a trivial HTTP and SSH server and observe the interactions.

comment 9y ago · link · parent

I think it's because they're meant to explain Fourier transforms to people who aren't familiar with transforms, and therefore are much more comfortable with Fourier coefficients rather than an actual transform in the frequency domain.

comment 9y ago · link · parent

Clickbait title, it should be something like "Making Ubuntu run faster by killing Evolution".

comment 9y ago · link · parent

I partly agree. Though removing one or two bytes more than another minifier doesn't really matter that much, what matters is being able to deduplicate CSS as well as doing the usual whitespace elimination. SASS and SCSS seem to have a bit of a problem with duplicated CSS.

comment 9y ago · link · parent

Did you also write the gnuplot plugin? Because that's also vulnerable, as found by the same @denysvitali: https://github.com/LucentW/s-uzzbot/issues/9

comment 9y ago · link · parent

This is what the author attempted to do: if you read the first commit linked in the article, they made it so that math.js wouldn't execute Function when it encountered it (either an actual Function or a variable that equals Function).

However, the trick is to make Javascript execute Function, through a function that math.js won't mind executing. What I found was simply using Function.apply and Function.call; the author found Function.bind, and someone in this thread found several more.

comment 9y ago · link · parent

Whoops, thank you - it went unnoticed because I didn't proofread the noscript version as much as the default one. I pushed an edit.

comment 9y ago · link · parent

Oh well, that would have been so much easier. Thank you!

comment 9y ago · link · parent

This was actually the second fix I had in mind, after the author mentioned that they would like mathjs to have complete browser support (and therefore couldn't use the `vm` module from Node.js):

>If, anyway, you want to make math.eval resistant against arbitrary code execution, I think it would be best to have a whitelist of methods and constructs (i.e. you parse the code that is meant to be evaluated and ensure that every construct is allowed). I analyze JS malware in my free time (see [box-js](https://github.com/CapacitorSet/box-js)), and I found that it is virtually impossible to blacklist functions. For instance, if the parser forbids `[].map.constructor`, I could very well use `[].map["constructor"]`; and if you blacklist the word "constructor", I could use `[].map["rotcurtsnoc".split("").reverse().join("")]`, and so on, there's an infinity of methods one can come up with to avoid blacklists.

The examples didn't really work in math.js, but it turns out that there's still [quite a few ways to get around it](https://github.com/josdejong/mathjs/issues/821).

257.

How we exploited a code execution vulnerability in math.js(capacitorset.github.io ↗)

151 points · by CapacitorSet · 9y ago · 29 comments

258.

Simple multi-thread systems to make a PIC do parallel tasks (2010)(romanblack.com ↗)

2 points · by CapacitorSet · 9y ago · discuss

comment 9y ago · link · parent

Lua in the browser? Truly, we live in the future.

comment 9y ago · link · parent

>Do not use macros. Do not use a typedef to hide a pointer or avoid writing “struct”. Avoid writing complex abstractions. Keep your build system simple and transparent. Don’t use stupid hacky crap just because it’s a cool way of solving the problem.

Heh, good luck avoiding the use of macros in sufficiently complex projects - sometimes C just can't use some control structures in an elegant manner without using macros or custom abstractions.

comment 9y ago · link · parent

I remember reading a poll where European Parliament members claimed that encryption (esp. HTTPS and E2E) was the biggest obstacle to espionage. I'm glad to see that this is a widespread sentiment.

comment 9y ago · link · parent

It's free PR for Elon Musk, no wonder it's - well - public.

263.

OSDev: a wiki for OS developers(wiki.osdev.org ↗)

4 points · by CapacitorSet · 9y ago · discuss

264.

From Gongkai [Chinese open source] to Western open source(bunniestudios.com ↗)

2 points · by CapacitorSet · 9y ago · discuss

comment 9y ago · link · parent

I think Slack is focusing on code reuse, eg. using the same HTML/CSS/JS codebase across all platforms - hence it would be preferrable to avoid having to compile for every platform.

comment 9y ago · link · parent

It is really sad that one reason why QUIC encrypts protocol states is to prevent excessively eager middleboxes from meddling with the traffic.

comment 9y ago · link · parent

They can certainly improve performance, in that eg. a NOP instruction will "lock" the processor for much shorter than eg. a JZ; the main concern at this time is that we lack the research, expertise and instruments to deal with asynchronous CPUs.

comment 9y ago · link · parent

This looks like an overview for laymen. Is there a more technical and detailed report?

269.

What happened to clockless computer chips?(stackoverflow.com ↗)

123 points · by CapacitorSet · 9y ago · 42 comments

comment 9y ago · link · parent

This is a good time to mention asynchronous architectures: https://en.wikipedia.org/wiki/Asynchronous_circuit#Asynchron...

Intel itself [claimed](http://stackoverflow.com/a/530494) that the async CPU performs better than the sync one, but they didn't pursue the project further for lack of large-scale profitability.

1
7891011