HNHacker News
TopNewBestAskShowJobs

eriknstr

1,862 karma · joined May 29, 2016

Dear HN, please delete this account.
submissionscomments
eriknstr··on Debian GNU/Hurd 2017 released
Speaking of microkernels, MINIX 3 is open source, unlike the version of MINIX that inspired Linus to write Linux.

MINIX 3, unlike earlier versions, aims to be used in production rather than being purely a research OS.

MINIX 3 has incorporated code from NetBSD making it possible to run a lot of software on MINIX 3 from the NetBSD ports collection.

I have not used MINIX but I remain interested in it and think it deserves a mention.

eriknstr··on Tagsistant: semantic filesystem for Linux
I too have been thinking about alternatives to hierarchial filesystems. Originally I thought that I wanted a tag based system, but currently I believe that tagging adds too much overhead and that it might not scale well either for the user since the more tags you have the harder they will be to remember and then there is the issue of relationships between tags.

On macOS they have a view that shows you all your files in the order that they were last modified. That has value I believe. Combine that with optional categorization for filtering, so tags but with the tags not being at the very center, and store files by their hash but keep filename for display. Also keeping track of origin of files - user authored vs made by others. Documents with hyperlinks are used for organizing files of current concern. Snapshots of all files are kept so you can delete, replace or update "indexes" over time but still being able to retrieve them later. Append-only except for the pointers that show what indexes are active.

Hope any of that made sense. It's a bit late and besides I didn't want to write "a whole book" in this comment.

eriknstr··on Reverse engineering guide for beginners: Methodology and tools
Here's a nice short video where someone (who I think is the same LiveOverflow that commented elsewhere ITT about something else) is using radare2 and python to reverse engineer a CTF challenge binary. https://youtu.be/y69uIxU0eI8
eriknstr··on Reverse engineering guide for beginners: Methodology and tools
Not a standard but https://github.com/leereilly/swot comes to mind.
eriknstr··on #c0ffee is the color
Someone should make a list of all words and common phrases that result in a color different from #000000 and then go through them all and pick out the interesting ones.

By the way I didn't see any mention of max length. Is there a limitiation to the length of the color string?

Bonus question: What color would the complete works of Shakespeare be? Take all of his scene play manuscripts found on Project Gutenberg but excluding duplicates if any, sort them in the order they were originally published and concatenate into a single string.

eriknstr··on Reducers, transducers and core.async in Clojure
That is a good point, and it makes sense to think of it that way. However I think that it can also be a bit "dangerous" to think too much in terms of the properties of the numbers when working with software due to the fact that for example arbitrary floats cannot be precisely represented in a limited amount of bits like we have in computers. I already hold the view that the numbers we are dealing with when working on computers are an incomplete representation of the ideals of ℝ and ℂ and their likes, so to me then it is ok to reason about code in terms of properties that stem from the language in use.
eriknstr··on How to Version an API
> My point was that there is no need to anticipate such world-breaking changes with a version ID. We have the hostname for that. What you are creating is not a new version of the API, but a new system with a new brand.

I think Rich Hickey (the creator of Clojure) would agree. He said something to this effect in the "Spec-ulation" keynote at Clojure/conj 2016. https://www.youtube.com/watch?v=oyLBGkS5ICk

eriknstr··on Making a C64/C65 compatible computer in an FPGA
One advantage of the FPGA is that you can reprogram it to do something else after you're bored with it acting as a C64, assuming in this case that you are able to desolder it. Also might only make sense to reuse the FPGA if it is sufficiently expensive. Another advantage of using an FPGA is that if you make a mistake in your design you can easily correct the error at any stage and resynthesize it.
eriknstr··on A Brief History of the UUID
The repo in the comment parent to yours has a list that includes the one you mentioned and several others in various languages :)

https://github.com/alizain/ulid#implementations-in-other-lan...

eriknstr··on Reducers, transducers and core.async in Clojure
> incidentally depending on non-zero numbers to become True, and zero to become False

I don't feel that there is anything incidental about that. Integer zero is logically false and any other integer is logically true.

eriknstr··on Reducers, transducers and core.async in Clojure
I use parentheses liberally so I don't have to think about precedence so much both when writing and when later reading.

That said I don't add unneeded parentheses for simple expressions or sub-expressions consisting only of exponents, multiplications, divisions, additions and/or subtractions.

eriknstr··on Reducers, transducers and core.async in Clojure
Furthermore I would prefer

    def even(x): return not(x % 2)
eriknstr··on GitHub is suffering major downtime again
Here are the most recent few status updates from https://status.github.com/messages as of this time

> June 05, 2017 21:00 CEST Minor service outage.

> June 05, 2017 21:10 CEST Major service outage.

> June 05, 2017 21:21 CEST GitHub.com is recovering, we are continuing to monitor.

> June 05, 2017 21:31 CEST Everything operating normally.

> June 06, 2017 00:00 CEST All systems reporting at 100%

> June 07, 2017 01:19 CEST Major service outage.

Like you said, they went from 100% to major service outage.

eriknstr··on Show HN: A Browser-based Blockchain
That's pretty cool. Will you also make a native miner?
eriknstr··on Ask HN: What language-agnostic programming books should I read?
"The Design of Design: Essays from a Computer Scientist" by Frederick P. Brooks [1] is language-agnostic and worth reading.

It's about software engineering but also about hardware and some different kinds of design outside of IT.

From an interview about the book [2]:

> Eoin: Your new book does talk about software design in places, but it’s really about design generally, and the case studies span buildings, organizations, hardware and software. Who is the book aimed at? Are you still writing primarily for people who design software or are you writing for a broader audience?

> Fred: Definitely for a broader audience. I have been surprised that The Mythical Man-Month, aimed at software engineers, seems to have resonated with a broader audience. Even doctors and lawyers find it speaks to some of their team problems. So I aimed this one more broadly.

Brooks is also the author of The Mythical Man-Month which is often mentioned on HN.

[1]: http://www.informit.com/store/design-of-design-essays-from-a...

[2]: http://www.informit.com/articles/article.aspx?p=1600886

eriknstr··on FlexBox Cheatsheet
I somehow misread the title as Firefox Cheatsheet and was actually excited to see if there was some neat shortcut key combinations or settings that I didn't know of. So now that that's said, anyone got something like this to recommend?
eriknstr··on PG-Strom: SSD-To-GPU Direct SQL Execution
A bit off topic on my side here but, I've been a aware of both OpenCL and FPGAs for quite a while but never thought of these being combined in any way.

Would anyone care to comment on their experience with regards to the following questions I have about this?

1. Are you using an FPGA implementation of OpenCL, or are you synthesizing a specific piece of OpenCL code into the FPGA?

2. How does performance compare between OpenCL running on a high-end GPU and a high-end FPGA?

3. How does performance compare between implementing someting in FPGA directly and implementing it in OpenCL and running that on an FPGA?

4. How does working with OpenCL for FPGA compare to working with the FPGA directly? Iow, what are the advantages and disadvantages you find of OpenCL as opposed to Verilog or VHDL (or other ways you program an FPGA)?

5. Based on the above, if you had X amount of dollars that could buy you either a number of GPUs or a (probably different) number of FPGAs, which would you choose? Consider also the electricity cost of running these as I've heard that FPGAs generally waste less electricity because they produce less heat.

eriknstr··on Ask HN: Why does visual programming suck?
If I go to the last page of a Google search for unreal blueprints it says that it showed me 120 results. 12 pages.

If I go to the last page of a Google search for C++, it says that it showed me 180 results. 18 pages.

It used to be that Google would tell you an approximation of how many matches they actually had in total for a search of their index but they no longer do anywhere that I am aware of. If there were only two pages of results I might have agreed but when there are 12 pages it will show to me I don't think there is any useful conclusion to be made about the actual total amount of sites that contain these keywords.

However, there is another site that still gives us an approximate count of results. YouTube.

Searching for C++ on YouTube I am told that there are "about 1,010,000 results".

Searching for Unreal Blueprints on YouTube I am told that there are "about 57,800 results".

Searching for UDK Blueprints on YouTube gives "about 18,600 results".

There will be some amount of overlap between the latter two.

I don't know how many of those videos matched only blueprints and was included though.

But let's do another couple of searches.

UDK C++ on YouTube gives "about 11,000 results".

Unreal C++ on YouTube gives "about 60,900 results".

Well, it seems that the words UDK and Unreal are significant when searching on YouTube, since otherwise both of those searches should have given about a million results like the search for just C++ alone did.

So comparing "Unreal C++" and "Unreal Blueprints" on YouTube actually gives a surprisingly high amount of results about blueprints compared to C++ for Unreal, certainly a lot higher than I would have expected. I would have expected at least 25 times as many for C++ but it seems to be almost the same amount of videos for each of those.

Of course one might wonder if even though the words Unreal and UDK might have matched correctly, did the words blueprints and C++? Or do the results include a lot of videos that are about neither blueprints nor C++?

Additionally some amount of videos will have both these words but will not be about the Unreal Development Kit. Instead one video might be something like "Unreal! Secret blueprints confirming conspiracy theory so-and-so confirmed!" You get the idea.

eriknstr··on Ask HN: Why does visual programming suck?
Poor form of the people who downvoted parent.

I don't agree with parent but they are contributing to the conversation.

If you disagree why don't you provide some counter-points instead.

Here, let me start.

> Every time a VPL (Visual Programming Language) has gone against a TPL (text programming language) , VPL not only has come out a winner it has massacred its opponent.

That's an unsubstantiated claim. Point to some sources please.

> There are 3 areas that I am aware of that VPLs have appeared a) modular audio synthesis b) 3d graphics c) game programming

These are not the only ones [1], and VPL first appeared earlier than 1995. For example, the first version of LabView was released in 1986 [2] and certainly LabView was not the first one either.

> 3d is where TPLs go to die and are used strictly for generating the software alone and thats about it.

Even if this is true in the case of VFX (which I don't know that it is but I don't know that it's not either), it certainly is not true in video game development, which is very much an area of 3d graphics.

> computer games there VPLs are something new but Unreal has definitely changed that with Blueprints

Blueprints is awesome but you could not TODAY make an arbitrary game implemented using ONLY blueprints and have the amount of control and freedom you have if you use Unreal or another game engine with C++ or another TPL. Thus falls your initial claim, which (quoted above also) was

> Every time a VPL (Visual Programming Language) has gone against a TPL (text programming language) , VPL not only has come out a winner it has massacred its opponent.

And I bet that others can point to a wide range of areas where an existing VPL will come up short.

Some people love LabView. I certainly don't. Some prefer it and for them it's a thousand times better than using a TPL but for me 99% of the time I would go with a TPL over LabView.

[1]: https://en.wikipedia.org/wiki/Visual_programming_language

[2]: https://en.wikipedia.org/wiki/LabVIEW

eriknstr··on Telnet mapscii.me
Hey, you're the author, cool! Nice work.
eriknstr··on MusicBrainz: an open music encyclopedia
I upvote many things that I already know of to let others become aware of them. It's a bit like xkcd #1053 [1], when I encourage others to read about something, they might then write comments about that thing offering new insights etc. that is of value to me. Additionally, them having become aware of that thing now might lead to them caring about that thing and doing something related to that thing that is of value to me in the future. But really my primary motivation is simply that I think that things I like deserve that I upvote them so that others can enjoy those things too regardless of future utility to me.

[1]: https://xkcd.com/1053/

eriknstr··on MusicBrainz: an open music encyclopedia
Hashtags don't work on HN, sorry.
eriknstr··on Programming Context-Aware Dialogue in the Last of Us (GDC 14)
13:34 - "The syntax doesn't really matter". That's a dialect of Lisp. I know that Andy Gavin -- one of the guys at Naughty Dog -- designed a Lisp based language called GOOL for the original Crash Bandicoot (1996), and furthermore that The Jak & Daxter series, including all the assembly, was 99% written in another one of his languages, a Scheme dialect called GOAL. [1] [2] Cool to see that they are using Lisp still at Naughty Dog.

[1]: http://all-things-andy-gavin.com/2011/03/12/making-crash-ban...

[2]: https://news.ycombinator.com/item?id=2475639

eriknstr··on Telnet mapscii.me
Not my creation, saw it mentioned on Twitter.
eriknstr··on GNU Shepherd
> both of the most widely-used editors (emacs and vim)

https://insights.stackoverflow.com/survey/2017#technology-mo...

If you include full-blown IDEs in your definition of editor (which I think you should), Visual Studio was the most widely used editor among all the 19,772 people that responded to this question in the Stack Overflow Developer survey 2017.

Notepad++ was the second-most popular editor.

Sublime Text was the third-most popular editor.

Vim was the fourth-most popular editor.

Visual Studio Code, IntelliJ, Atom, Eclipse, Android Studio, PHPStorm, Xcode, NetBeans and PyCharm followed.

Emacs was the 14th-most popular editor.

eriknstr··on The Evolution of Code Deploys at Reddit
I came to think of a couple of AMA kind of questions also.

When you are an employee of Reddit you obviously spend a lot of time on Reddit.

1. How does this affect your life outside of work. Do you find yourself browsing Reddit in your spare time or do you avoid it?

2. Do you ever find yourself spending whole days at work without being on the site because you don't want to be distracted while working on something?

eriknstr··on The Evolution of Code Deploys at Reddit
Actually I came to think of something but it's not an AMA kind of question but a Reddit question though. I just opted in to the profile beta literally less than an hour ago and I like it but I have a bug report [1] and a feature request / feedback [2] that I'd like to be seen by the specific people that work on the profile portion of Reddit. Who do I contact about that? Or was submitting it to /r/beta sufficient and they'll see it because I've posted it there?

[1]: https://www.reddit.com/r/beta/comments/6eyoy4/beta_bug_list_...

[2]: https://www.reddit.com/r/beta/comments/6eyqse/feedback_profi...

eriknstr··on 4D Toys: a box of four-dimensional toys
>The complex numbers are not a two-dimensional Euclidean space directly, but are a space of transformations (scaling & rotation) on two-dimensional Euclidean vectors, where 1 represents the identity transformation, and i represents a quarter turn anticlockwise.

You might be right, I don't know. Could you explain a bit more how you mean?

eriknstr··on The Evolution of Code Deploys at Reddit
I think it's strange how little attention this got here on HN. Submitted by one of the Reddit admins even. I'd ask you to do an AMA but I have no questions and besides you lot are pretty good at answering questions whenever they come up anyway so.
eriknstr··on Network Protocols
I have a copy of an old edition of that book on my bookshelf, published 2003. I haven't gotten around to read it yet. I bought it because the cover stood out to me at a flea-market, and also because it was one of only a few books there which were about computers and I wanted to pick up some computer books for cheap.

Here is a photo of my copy of the book: http://i.imgur.com/2sd5ivf.jpg. Don't the front look nice? :)

← PreviousPage 3 of 18Next →