HNHacker News
TopNewBestAskShowJobs

ericfrederich

883 karma · joined June 12, 2014

submissionscomments
ericfrederich··on Electron 2.0.0 beta
Never really heard of Electron before I tried using KeyBase on Windows. It seems electron is the reason that it doesn't work on my machine.

Ran into this last night. https://github.com/keybase/keybase-issues/issues/2813

ericfrederich··on Paper review: IPFS – Content addressed, versioned, P2P file system
Isn't this open for everyone to see though?

I think you want something like KeyBase for encrypted storage which can be shared among groups, right?

ericfrederich··on Xltrail – An open-source Git command line extension for Excel workbook files
Hmm... I literally just created an AWS bucket that magically creates (i.e. lambda) corresponding .json files for any .xlsx file that gets put there.

I may have used Git if I knew this existed. For now our requirement was that the file be maintained in an Excel format, but this data needs to be consumed by different scripts written in different languages hence the automatic .json conversion.

ericfrederich··on A collection of things that are Turing-complete by accident (2013)
Super impressive. I wouldn't count this as being turing complete. You could say that the SNES itself is turing complete. He successfully got a turing complete machine to run arbitrary code. It was the SNES itself running this code he injected, not some rule engine built into the game. This is much different than getting CSS or HTML to run arbitrary code.
ericfrederich··on Fizz Buzz in Tensorflow (2016)
This reminds me of enterprise fizz buzz. If you haven't seen it, it's great.

https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...

ericfrederich··on Xi: an editor for the next 20 years [video]
Hi, good talk. I was wondering if you could elaborate more on your JSON RPC mechanism and the use of threads vs. processes. Coming from the Python world I could see it very hard or impossible to use one plugin written in Python2 and another written in Python3 within the same process.

I have successfully integrated several interpreters/event loops into the same process (C++/Boost, Python, Tcl/Tk, Qt). It was a real pain to implement and felt very hacky but worked.

Using processes you can achieve something like a micro-service architecture. An example of where I've seen this kind of coupling is the custom transfer agents in Git LFS.

https://github.com/git-lfs/git-lfs/blob/master/docs/custom-t...

They use processes and line delimited JSON for communication.

ericfrederich··on Gittup, a Linux distro on top of Git
Seems like it might be useful in creating a Docker image from source.
ericfrederich··on Ubuntu 17.10 corrupting BIOS of many Lenovo laptop models
Good thing I saw this. I was thinking about installing Ubuntu or Mint on my X1 Yoga during the holidays. I'll hold off now or do some more research.
ericfrederich··on Pineapple Fund: Donating $86M of Bitcoins to Charity
Can someone explain this to me? Where did this BTC come from? There was a single deposit on 12/8 of like 5k BTC. Since then there have been withdrawls from that address.

https://bitinfocharts.com/bitcoin/address/3P3QsMVK89JBNqZQv5...

ericfrederich··on Microsoft Adds an OpenSSH Client to Windows 10
I'm not sure how useful this is by itself. It's cool that it's there for convenience, but I think I'd rather stick to either Git on Windows or Windows Subsystem for Linux (WSL)
ericfrederich··on Why Google stores billions of lines of code in a single repository (2016)
Good Google Talk video about it too.
ericfrederich··on Ask HN: CS and programming books of 2017
Is it good for reading technical books which may have diagrams and source code excerpts?
ericfrederich··on Ask HN: CS and programming books of 2017
Somewhat on topic I'd like to ask what a good device is to read these books on? I'd like to grab a couple books to read over the holidays.

For example someone else mentioned this book. https://www.manning.com/books/deep-learning-with-python

It's available as two options...

combo $49.99: pBook + eBook + liveBook

eBook $39.99: pdf + ePub + kindle + liveBook

Personally, I prefer paperback books, but I'm willing to try out something digital. Do any digital options allow me to take notes? I currently own a Lenovo X1 Yoga which folds completely into tablet mode and has a very nice stylus. Does any Windows software allow me to read one of those digital formats and take notes?

Thanks, ~Eric

ericfrederich··on Qt 5.10 released
I'm not sure about the current state of PySide, but PySide is LGPL. Might want to look there too.
ericfrederich··on Qt 5.10 released
... or the source to any code that uses PyQt. Nobody knows. It hasn't been tested in court. I'm not sure it's even been tested with C code that links against a GPL library. With Python you're another step removed because it's dynamic and the linking doesn't happen until it's on the consumer's computer.

Point is... it's a gray area.

ericfrederich··on The Cost Savings Of Netflix's Internal Spot Market
If they have this internal spot instance market they should schedule crypto mining at a super low priority.
ericfrederich··on CVE-2017-16544: A Busybox autocompletion vulnerability
When you ssh to your device are you not running Busybox shell on the device? I don't understand why this is less of a problem?
ericfrederich··on Show HN: Example of a polyglot microservice app
Wouldn't some kind of service discovery be better?
ericfrederich··on Debian and GNOME announce plans to migrate communities to GitLab
From where? Article doesn't mention where they're migrating from.
ericfrederich··on Neugram – Scripting in Go
No shebang support? What about this? Sure it's not "native" but it accomplishes the same thing.

https://rosettacode.org/wiki/Multiline_shebang#Go

ericfrederich··on Scaling the GitLab database
Sounds like a design flaw... adding a centralized database to augment a decentralized version control system.

Comments, issues, pull requests, wiki, etc... should all be first class Git objects. I should be able to create pull requests while offline and push them up when I'm back online.

ericfrederich··on Linux on Samsung Galaxy smartphones
Ubuntu wanted to do this but it never went anywhere... and they didn't open source their code. What an absolute shame.

I really loved the idea of it. You had the whole Android / Java / Bionic runtime sharing the same kernel as your GNU stuff. They had a way that you could even access your Android stuff from within your desktop environment like apps, contacts, text messages, etc.

ericfrederich··on 41 percent of Android phones are vulnerable to 'devastating' Wi-Fi attack
Sensationalist title. This affects every implementation of WPA2. It's just hat Android was "exceptionally devestating" in that you could use an all-zero key. This just makes it easier.
ericfrederich··on Bitbucket Down - Major Outage
I've said it before and I'll say it again... It makes zero sense to centralize something that was meant to be decentralized.

We need issues, pull requests, comments, milestones, wiki, etc... all to be decentralized. No reason this stuff cannot be modeled using existing Git objects.

GitHub, GitLab and BitBucket are extremely similar. Almost 100% overlap, you could use the lowest common denominator between the 3 and you'd still have 95% of the features.

ericfrederich··on Exploding Git Repositories
You need a problem to have a solution to it. What do you consider to be the problem here?

This is essentially something that can be expressed in relatively few bytes that expands to something much larger.

Imagine I had a compressed file format for blank files "0x00" the whole way. It is implemented by writing in ascii the size of the uncompressed file.

So the contents of a file called terrabyte.blank is just ascii "1000000000000" ... or the contents of a file called petabyte.blank is "10000000000000"

I cannot decompress these files... what is the solution?

ericfrederich··on Exploding Git Repositories
Run this to create a 40K file which expands to 1GiB

  yes | head -n536870912 | bzip2 -c > /tmp/foo.bz2
I would imagine you could do something really creative with ImageMagick to create a giant PNG file as well that'll make browsers, viewers, editors crash as well.
ericfrederich··on Go Python, Go: Stream Processing for Python
For trivial programs sure... not when dealing with encoders, decoders, binary formats, etc, etc.

It all depends on how they wrote their Python 2.7 code. You can write it oblivious to Python 3 and screw things up, or you can write it in a way that you know you'll eventually support Python 3. In the latter case, you might as well just support both right away though.

ericfrederich··on Go Python, Go: Stream Processing for Python
Thanks, I think it does. I did a quick search to see if or how Dask handles streams. It seems trivial to add queues to dask.

https://www.youtube.com/watch?v=hfmwXSeM8pk

I've never actually played with Dask at all for even batch processing let alone stream. If I ever get some free time I'll try to implement Word Count in Dask and see how the two codes compare.

ericfrederich··on Go Python, Go: Stream Processing for Python
Question for spooneybarger or anyone else at Walaroo Labs.

How do you see this comparing to something like Dask? Would it compete with Dask, or be able to somehow work together with it?

Dask seems to let you write idiomatic Python code and not even think about splitting, joining, etc... and it builds the pipeline automagically by introspecting the AST.

ericfrederich··on Go Python, Go: Stream Processing for Python
Still doesn't seem very Pythonic.

  def name(self):
      return "split into words"
Why isn't name a class attribute? Does this really need to be a callable function?

In my opinion, I think as much of this stuff should be done in a declarative way as possible.

← PreviousPage 4 of 14Next →