Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aurelian15
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
61.
▲
by
aurelian15
9y ago
GitHub is explicitly listed as "social media" on the optional question that is on the ESTA [1] form since 2016. If I remember correctly, the wording is relatively broad, so I would guess that HN and Reddit count as well. [1] http
62.
▲
by
aurelian15
9y ago
STL, RTTI and Exceptions should be avoided on embedded platforms (talking about 8 bit µCs here). I've extensively used both templates and lambdas on 8 bit AVRs (both the Tiny and Mega series); actually, writing templated code for µCs i
63.
▲
by
aurelian15
9y ago
Sorry for not being clear enough in my initial post. I'm not talking about a development server. I'm talking about the end product being a server. For example in the form of a user-friendly executable that is natively running on
64.
▲
by
aurelian15
9y ago
> If you don't mind being more specific, what kind of data would you be storing on the phone? Sure, my particular use-case is a media management/playback application (think web-based audio player; like Plex, Ampache, Spotify) t
65.
▲
by
aurelian15
9y ago
Yes, there already is an exception for localhost. HTTP on localhost is considered a "secure context". Edit: To be more precise, and to quote [1] "Secure Contexts says UAs MAY treat localhost as a secure context only if they c
66.
▲
by
aurelian15
9y ago
> In the end, you can have a site like you describe, but you have to avoid using APIs that require secure contexts. While that might be an option now, it's not going to be viable. Browser vendors have agreed to make all new JS APIs
67.
▲
by
aurelian15
9y ago
That's a valid point, and something like this might be a solution (i.e. serving the client JS from a public site with valid TLS certificate and connecting to the local network from there) -- however, I don't want my application to
68.
▲
by
aurelian15
9y ago
Already thought about this. But a) the application does not require any internet connection, b) while it is possible to just get a global domain name and redirect that locally to the local server, this would require my server to hijack all
69.
▲
by
aurelian15
9y ago
My primary concern are local servers ‒ which of course, are irrelevant if you are a centralised service provider such as Google. To provide some context, I'm currently working on a web application where the server is intended to be run
70.
▲
by
aurelian15
9y ago
> Thus it is going to be hard to avoid a network connected car and it seems likely that network will be the Internet. Well, I agree that maps as a second source of information can be important for autonomous vehicles. However, I don'
71.
▲
by
aurelian15
9y ago
By "being easy to use from other languages" I refer to the size of the header that needs to be translated.
72.
▲
by
aurelian15
9y ago
I wrote a small wrapper library a decade ago that wraps the decoding capabilities of libavcodec/libavformat in way that makes it relatively easy to use from other programming languages (Pascal in this particular case) https:/
73.
▲
by
aurelian15
9y ago
Same problem here. Seems to be a font rendering issue, the strange artefacts disappear at certain zoom levels. My platform is Fedora 27 with Firefox 57.0.1.
74.
▲
by
aurelian15
9y ago
I fully agree that my "birthday party" example sucks. I just couldn't think of anything better. Regarding the "no controversies at work" matter, I feel that coming to a situation where you dismiss each others opinio
75.
▲
by
aurelian15
9y ago
My main objection to the examples he gives is that a book about technology leaves little to no space to expand on these matters. I think that providing context is of utter importance in written media. In some sense, the author exerts contro
76.
▲
by
aurelian15
9y ago
Well, I see where you are coming from, and I don't necessarily agree that the examples he chose are very good ones. However, I think the overall point he makes is worth some consideration. Many technical books (consciously or unconscio
77.
▲
by
aurelian15
9y ago
In analogue hardware implementations spike events are transmitted on a standard digital bus using AER (address-event representation). The signal is not attenuated, since standard digital hardware (though asynchronous, depending on the imple
78.
▲
by
aurelian15
9y ago
You're right that analogue non-spiking hardware in theory would be the way to go for deep neural networks. However, when implemented in a modern semiconductor process, it is relatively hard to implement analogue computations with negli
79.
▲
by
aurelian15
9y ago
They are more power efficient when implemented as analogue circuits. Two main reasons: First, you only need a handful of transistors to implement a single spiking neuron, whereas digital circuits require ten to hundred thousands of transist
80.
▲
by
aurelian15
9y ago
Nah. There are legitimate reasons for doing this. Especially when spiking neurons are implemented using analogue circuits (which I could find no indication of in the press release however, but see [1,2,3,4] for examples) spiking neurons off
81.
▲
by
aurelian15
9y ago
There are several frameworks for the construction of spiking neural networks given an abstract mathematical description of the desired function. The most complete (note that I'm currently a student in the lab that developed this method
82.
▲
by
aurelian15
9y ago
I wholeheartedly agree. To me, Knuth's literate programs feel more incomprehensible than sanely structured programs with few strategically strewn in comments. Yet to be fair, one has to consider that the Pascal Knuth was working with o
83.
▲
by
aurelian15
9y ago
I really enjoyed "A Tour of C++" by Bjarne Stroustrup, which is a short book giving an overview of C++ features. It sticks to modern C++ practices from the very beginning. Unfortunately, the book is C++11 only and correspondingly
84.
▲
by
aurelian15
9y ago
Well, even counting the number of code units is straight forward for UTF-8: while (*c) count += ((*(c++) & 0xC0) == 0x80) ? 0 : 1; See https://stackoverflow.com/questions/9356169/utf-8-continuati... fo
85.
▲
by
aurelian15
9y ago
Can you elaborate? I didn't say that you should use UTF-8 (that's just what I prefer personally), but my point was that you should never make any assumption about a Unicode string without consulting the corresponding Unicode table
86.
▲
by
aurelian15
9y ago
This. Even if you would represent Unicode strings as 32-bit codewords, it would still require careful processing, e.g. to extract single characters from the string. For example, the single character "Ï" can both be represented as
87.
▲
by
aurelian15
9y ago
I've been using gedit as my main programming environment for more than seven years now (mainly C++/JavaScript/Python development). It integrates neatly with GNOME 3, has a very clean, uncluttered interface and has all the fea
88.
▲
by
aurelian15
9y ago
Oh, for goodness sake, Sony, would you please just master CDs decently? I know, that would mean that you release your intellectual property to the world in uncompressed¹ quality, in a world where people frivolously commit abominable crimina
89.
▲
by
aurelian15
9y ago
This code was written by Robert S K Miles and is featured in the computerphile video "Code Golf & the Bitshift Variations": https://www.youtube.com/watch?v=MqZgoNRERY8
90.
▲
Bit Shift Variations in C-Minor – Chiptune Music in 214 Bytes of C (2016)
(txti.es)
2 points
by
aurelian15
9y ago
|
1 comments
More ›