HNHacker News
TopNewBestAskShowJobs

tn1

155 karma · joined July 4, 2016

submissionscomments
tn1··on AI generated artwork inspired by current events
Could you add an RSS/atom feed?
tn1··on What I miss in Java, the perspective of a Kotlin developer
On the other hand, when skimming some code, does it matter on the first pass whether a given variable is mutable? Probably not if we're just trying to get an idea of how it works; later on a closer read we can look closer if it matters.
tn1··on LTSpice Tutorial
The most popular FOSS spice simulator is NGSpice: http://ngspice.sourceforge.net/

None of these tools have changed much since the 90's - just like the EDA industry in general

tn1··on BitTorrent Site Magnet Database Archives Available via Torrent and Direct DL
Am I missing something or is the source not actually available in that repo? I only see the compiled .beam files
tn1··on Use fzf for tmux session switching
a sibling comment suggests a reason:

> the local tmux then remembers history and allows looking up commands on the remote shell, that would be huge.

tn1··on How illiterate people use their mobile phones (2012)
not even really an exception, they're more a like a PHP script that just ignores errors and continues
tn1··on I’m harvesting credit card numbers and passwords from your site (2018)
This is a hard problem to solve. It seems to me the best way to mitigate most of the issues is to disallow developers to upload the built artifacts and instead have the repositories build them. That way, at least you can guarantee the source corresponds to the hosted artifacts. On the other hand, this now puts a huge burden on the package hosters to provide the infrastructure to compile everything. And forget about any oddball packages that require esoteric or picky tools
tn1··on Gas Pump Golf
The zip code is needed for credit card validation. Stolen credit cards are often used to pump as much gas as possible before the cardholder notices, which could then be resold or used by the criminals.

Requiring the zip code is just a barrier to that

tn1··on Redo: A recursive, general-purpose build system
Something a little better than make is makepp [1], although it can be more complex. We use it at $work and it works pretty well.

[1] http://makepp.sourceforge.net/

tn1··on How to build my own information feed / front page?
It sounds like you want a portal like MyYahoo or iGoogle, popular in the early 2000s. You could add widgets for RSS, weather, stocks, and lots more. Too bad most of those are long gone
tn1··on The case of the curious commit message
I have used both ClearCase and ClearQuest at a previous job. The former is surprisingly pleasant to use, although we had a wrapper program called GVP (Gather Validate Publish) [1] that handles commit messages and regression testing before publishing to "master". ClearQuest itself also has a very 1990's X11 GUI you can use that has a surprising amount of functionality.

The best feature of ClearCase is that with mvfs you can clone the repo in seconds since it's a virtual filesystem. A small database records your changes, and functions as a sort of overlay on top of the version you've "checked out".

ClearQuest was nice in that you can write your own SQL select queries to create bug lists. I don't remember if you could write DB-specific stuff (Oracle in our case) or if it had to be ODBC compliant. Unfortunately everything else about it kinda sucks.

[1] https://sourceforge.net/projects/releaseworks/

tn1··on Discontinue Sourcetrail
I read a paper a while back that does almost the inverse of what you're asking (given Z, how could I get a Y and an X). I tried the code and it almost worked, but gave up and had to move on unfortunately. Still, you might find it useful.

https://dl.acm.org/doi/10.1145/3052973.3053038

tn1··on Hot loading C++ game code
Although primarily intended for games, Irrlicht is a relatively simple library (compared to a full game engine).

https://irrlicht.sourceforge.io/

tn1··on My Room in 3D
I sometimes use SweetHome3D to visualize spaces. It's a little more accessible being point-and-click CAD, and it takes arbitrary objects in OBJ format (and others). You won't be able to get quite to this level but it can render surprisingly well

http://www.sweethome3d.com/

tn1··on Terraform is currently not reviewing community pull requests
All that's missing is an autoplay embed with some hold muzak ;-)
tn1··on pg_timetable: Advanced Scheduling for PostgreSQL
Related MySQL feature: https://dev.mysql.com/doc/refman/8.0/en/events-configuration...
tn1··on Gitfs: Version Controlled File System
Since mvfs is a Linux kernel driver, it must be free software. Here is a git mirror of it: https://github.com/msteinert/mvfs

I'm not sure how easy it is to use with anything that isn't the rest of the clearcase suite

tn1··on EasyWSL: Use Docker Containers as WSL Distros
I was looking for exactly this a while ago! It's good to see that it's so simple
tn1··on Google Groups kills RSS support without notice
Likely the only reason Groups is still around is that if you want a mailing list on GSuite then this is your only option. If they kill it, many orgs will probably switch to Office 365 or another competitor the next day.
tn1··on CalyxOS – De-Googled Android Alternative
There are sites like APKPure that mirror the Play store. That particular site also has an app of their own that functions as an app store, which will install from their catalog.

Of course, you're just moving your trust from Google to this other third party, it's up to you if you consider that wise.

tn1··on NEORV32: A customizable RISC-V SoC
For Chisel, the most popular tester Treadle has VCD dumps built in. That way you can do your behavioral debugging directly with the source. Of course, for anything involving timing etc you'll have to go with the relevant vendors' tools, which is typically Verilog/VHDL.
tn1··on Up for Grabs
In the Perl world (and possibly others), the CPAN maintainers will transfer ownership/maintainership privileges to you if you can prove you haven't been able to contact the original author (typically by sending an email and CC'ing the perl5-modules mailing list). This works well when there is one or two distributions that are the canonical way to solve a task.

Obviously not possible for GitHub as a whole, but perhaps we could reimagine how GitHub interacts with specific language/tool/whatever communities.

tn1··on Tabula – Extract tables from PDF files
When I first saw the name I thought that this Tabula [1] had somehow come back from the dead and pivoted!

[1] https://en.m.wikipedia.org/wiki/Tabula_(company)

tn1··on Social virtual spaces with Elixir at Mozilla
This talks about how to configure it: https://docs.scala-lang.org/overviews/parallel-collections/c...
tn1··on Bonzi Buddy
Another rabbit hole to explore is http://thecyberbuddy.com/ which I found linked on the wiki elsewhere in the thread
tn1··on Show HN: Fusebot – Developer bot for Discord and Slack
Here [1] are the types of things you can make with Zoom APIs. Perhaps you'd like to make a Chatbot integration or an SDK integration?

[1] https://marketplace.zoom.us/docs/guides/build

tn1··on Vulnerability allows cross-browser tracking in Chrome, Firefox, Safari, and Tor
I tried it on Opera and it detected no apps installed. (On Edge however, it detects all the ones I do indeed have installed).

This is interesting since I didn't really expect Opera to care about this kind of thing.

tn1··on I Made a Spotify Roulette Game
Doesn't seem to work for me. I went to create a game but got this when pressing the button:

    Access to XMLHttpRequest at 'https://api.roygbivapp.com/game' from origin 'https://www.roygbiv.fm' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The initial OPTIONS request returns `access-control-allow-origin: *` however the POST request says:

    x-amz-apigw-id: exZGCGTxPHcFxog=
    x-amzn-errortype: InternalServerErrorException
    x-amzn-requestid: 4758113c-603c-463a-8e1a-c1b2aa1c5e8d
tn1··on Show HN: A RISC-V core in Racket
Related: one of the de-facto netlist formats (what comes out of the synthesis tool like Yosys or Synplify Pro) is EDIF [1] which represents the design as S-Expressions. If you use Xilinx tools, the *.dcp files it generates are just ZIP archives with one of these files inside.

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

tn1··on HP/Agilent E3631A Rotary Knob Repair
I love these power supplies! An awesome feature is the GPIB port on the back (it's basically a parallel port with a specific command set).

In college I bought a USB to GPIB adapter on ebay for like $100 and a few cables (you can daisy chain them together) and wrote some VBA macros to automatically sweep the voltage output over a range, and also connected to a frequency generator & oscilloscope to capture the data. My EE labs were done in a fraction of the time compared to my classmates!

← PreviousPage 2 of 4Next →