HNHacker News
TopNewBestAskShowJobs

ericfrederich

880 karma · joined June 12, 2014

submissionscomments
ericfrederich··on Atom 1.19 – Improved Responsiveness and Memory Usage
https://github.com/jhallen/joes-sandbox/tree/master/editor-p...
ericfrederich··on Atom 1.19 – Improved Responsiveness and Memory Usage
Time to update this one?

https://github.com/jhallen/joes-sandbox/tree/master/editor-p...

I want to like Atom becuause it's free and open source... but Sublime is so much faster.

ericfrederich··on Internet Draft: Let 'localhost' be localhost
Sounds reasonable, but would probably break a ton of stuff. Does this provide enough benefits to outweigh the downsides?
ericfrederich··on GitHub was down
If it's not Git based then I'm not interested in it.

I see no reason to have a RDBMS for issues, merge requests, pull requests, etc. All of these could be modeled in multiple ways using a Git database. Issues are files in a repo called issue1.md, issue2.md ... or issues are branches on a repo ... or something else.

ericfrederich··on ⁠Btrfs has been deprecated in RHEL
I ran Fedora some years ago when btrfs support was added. I thought the idea to be able to roll back after a yum update messes things up was cool... in practice, it's a lot more complicated than hitting some "rollback" button in the system update gui.
ericfrederich··on Show HN: Compile-time HTML parsing in C++14
I watched a talk once from CppCon where the presenter was showing different bits of code and asking the audience if it was a 0-cost abstraction or not. This was at CppCon and there wasn't a consensus.

Sure it's possible to do high level things while knowing what the machine will end up doing but if you have to be a guru to be able to do so... then can you really say that?

I'd say "C++ strives to be a language where expert C++ compiler writers can feel what the machine will actually implement while you code high-level abstractions (provided you're using the compiler you wrote yourself)"

ericfrederich··on Krita Foundation in Trouble
I just bought a Lenovo X1 Yoga which came with a Wacom stylus. I got it to be recognized in GIMP with pressure sensitivity. I was looking for other painting apps and forgot about Krita. I'll give it a try and see how I like it.

Good for them trying to get donations directly. They might get more money through GoFundMe or having a KickStarter for v4.0 or something. Those sites would offer a little transparency in that you can see how much they've already received... but try direct donations first.

Also, where is the BitCoin donation address?

ericfrederich··on Can QML become the next standard for web UI?
Maybe with WebASM you could ship a QML viewer.

Single code base to create rich Android, iOS and browser app?

ericfrederich··on Reddit raises $200M at a $1.8B valuation
I stopped using digg as soon as digg.com/videos stopped working.
ericfrederich··on GitHub was down
I agree... I wish GitLab would do this too. No reason that everything can't be modeled as a git branch.

GitLab I know models their Wiki as a git repo. I think issues and PRs should be their own repo as well.... a branch for each issue or pr? Could tie it all up using submodules (or not, whatever)... just please someone take the jump first and do this.

ericfrederich··on Implementing State Machines in PostgreSQL
My thoughts exactly. I don't do a ton of DB programming, but I've only ever written one thing in a non-agnostic way. We got a requirement that users wanted to copy an entire "project" which was the top level of a hierarchy. I wrote an Oracle routine to do the deep copy. I did it because I imagined what the PL/SQL would look like (clean) vs. what the Java code would look like (considering Hello World in Java is ugly, you can see where I'm going ;-)
ericfrederich··on Python Entry Points Explained
I did not get as dramatic of results as you.

  # python3 -m venv example
  # source example/bin/activate
  (example) # pip install pyflakes
  Collecting pyflakes
    Downloading pyflakes-1.5.0-py2.py3-none-any.whl (225kB)
      100% || 225kB 892kB/s 
  Installing collected packages: pyflakes
  Successfully installed pyflakes-1.5.0
  (example) # time for i in {00..99}; do python -m pyflakes /dev/null; done
  real    0m7.167s
  user    0m6.407s
  sys 0m0.750s
  (example) # time for i in {00..99}; do pyflakes /dev/null; done
  
  real    0m7.661s
  user    0m6.894s
  sys 0m0.753s
ericfrederich··on Sandsifter: find undocumented instructions and bugs on x86 CPU
"Obscure" enough to run Windows though
ericfrederich··on AMD Ryzen 3 1300X and Ryzen 3 1200 CPU Review
Looks like a good use-case for something like Docker.

Create a Docker image which reliably crashes all the time on a Ryzen system but not on others.

ericfrederich··on Show HN: Teachcraft – Learn Python through Minecraft
Front page has example code of a busyloop with a time.sleep.

Not a stellar example of coding.

ericfrederich··on Why I’m Learning Perl 6
I've done some neat things with Tcl and Python.

Python comes with a C module for interacting with an embedded Tcl interpreter (Meaning Tcl and Python interpreters are running within the same process). It's mainly used for GUI programming from Python but the interface is generic enough to be able to write some nice iterop code.

For example, I have a library that seamlessly lets you use Python classes and objects from Tcl and vice versa.

From there we merged the Tcl and Qt event loops so that we could have PyQt widgets playing nicely with Tcl/Tk widgets.

This was all part of an effort to migrate from a Tcl/Tk codebase to Python/PyQt.

I wish I could share the code because it's kind of neat. Only around 600 lines of Python code to do all that magic.

ericfrederich··on Second version of HoloLens HPU will incorporate AI coprocessor
I went to a Microsoft store in the mall and they are showing off Oculus Rift. They've been showing off HoloLens for a couple years now haven't they?... still can't buy it?
ericfrederich··on Learn Ethereum smart contract programming
Just shifting the problem. Okay, so the money is raised... you still never get your vaporware product.
ericfrederich··on The Rise of Python for Embedded Systems
Aren't there embedded boards that run full CPython? Raspberry Pi runs the full blown CPython doesn't it?
ericfrederich··on 153k Ether Stolen in Parity Multi-Sig Attack
Is this even illegal? Or just frowned upon? It seems this is just one big game, you find the weakness and you profit.
ericfrederich··on The Rise of Python for Embedded Systems
1) probably not though with Cython you can get close 2) I imagine any hardware access is done though a Python module written in C.

... I'm just speculating. I know nothing about embedded systems

ericfrederich··on Fast pentomino puzzle solver ported from Forth to Python
I wonder what a solution in prolog would look like. That language always seemed geared to solve riddles. You describe the solution and it can tell you how to arrive there.
ericfrederich··on Yesterday, my program worked. Today, it does not. Why? (1999) [pdf]
The GDB people have done it again. The new release 4.17 of the GNU debugger [6] brings several new features, languages, and platforms, but for some reason, it no longer integrates properly with my graphical front-end DDD [10]: the arguments specified within DDD are not passed to the debugged program. Something has changed within GDB such that it no longer works for me. Something? Between the 4.16 and 4.17 releases, no less than 178,000 lines have changed. How can I isolate the change that caused the failure and make GDB work again?

I guess this was before Git. I love git bisect

ericfrederich··on Android Backdoor GhostCtrl Can Silently Record Your Audio, Video, and More
Cool... can I use it to have a decent app to record a phone call? All other existing solutions require you to turn on speaker phone.
ericfrederich··on Interacting with a long-running child process in Python
Python is an excellent glue language. It's surprising to me how difficult or non-intuitive it is to be able to interact with long running processes... especially with this nice new asyncio.

I'd like to be able to launch a long-running subprocess and iterate over every line of output in a coroutine. It seems this is not possible to do correctly without 50 lines of code. I know it's not as simple as it sounds (or people wouldn't still be using Tcl based Expect scripts eveywhere)... but it's still some complexity that could be hidden away in a library somewhere.

ericfrederich··on CoinDash’s ICO Website Has Been Hacked
I always found that fascinating myself, serving the download and checksum from the same source.

Doesn't http have enough redundancy checks built in to make this pointless? The only time to really do a checksum isn't on a browser download, it's when you push it over some serial connection, or android adb or something else.

ericfrederich··on CoinDash’s ICO Website Has Been Hacked
wow... 6 minutes ago, 1 minute ago... people are still sending this address money?
ericfrederich··on Bash-Snippets: A collection of small bash scripts for heavy terminal users
A collection of things that should have been written in a proper language ;-)
ericfrederich··on Redis 4.0
I look forward to Aphyr scrutinizing it. No disrespect to you, his posts are always fun to read and show how hard it is to get this stuff correct.
ericfrederich··on MIOpen: AMD's Machine Intelligence Library
Don't buy individual stocks. Less than one percent of people have the ability to choose individual stocks that perform better than mutual funds.
← PreviousPage 7 of 14Next →