Better HN
topnewbestaskshowjobs
Log inSign up

tom9729

186 karma · joined Jun 22, 2011 (15y ago) · 75 submissions

Submissions

comment 3y ago · link · parent

It's a neat feature, but I'd be worried about it getting stuck and being unable to retract.

Later model years removed the ability to retract the screen on demand, due to backup-camera laws, and the 2021-ish refresh ditched the retractable display for an in-dash display similar to the 10th-gen Honda Civic (which amusingly, ditched the in-dash display in its 11th-gen for the previous A3 style).

This might be cheating but if you want a mostly screen-free recent Audi your best bet is probably the TT (or its big brother the R8 :-), the only screen is the entire gauge cluster and it's certainly not a touch screen.

Just do _not_ get a modern VW with its touch sensitive steering wheel controls...

comment 3y ago · link · parent

Anything that depends on Safedisc is also screwed because Microsoft pulled the driver for security reasons. This includes a lot of first-party stuff like Mechwarrior 4 and Freelancer. Really wish they would put those up on GOG!

comment 3y ago · link · parent

Personally as a beginner it's nice to have GDScript built-in. You can literally install Godot as a single executable and everything is self contained which vastly simplifies getting started versus Unreal where you have to install Visual Studio. (I have no experience with Unity but I'm assuming you similarly have to install some C# dependencies.)

Their motivations in creating GDScript are explained here: https://docs.godotengine.org/en/stable/about/faq.html#what-w...

As a programming language it's pretty reasonable. The built-in editor has auto completion and documentation, you can resume from errors. The syntax is basically Python with optional type annotations. Comparing the Godot vs C# examples in the documentation makes me shudder at how much more verbose C# is in comparison.

As others have pointed out you can use C# if you want to. They provide a separate download for it.

comment 3y ago · link · parent

The data stores are pluggable. Postgres (with PostGIS) is one option.

comment 3y ago · link · parent

The VW CEO recently said that physical buttons would be coming back sometime this year, so you may be able to get that Golf after all. :-)

https://www.carmagazine.co.uk/car-news/tech/vw-infotainment-...

comment 4y ago · link · parent

The space wasn't necessary previously, and pasting code DID work, and then an update silently broke it and it's been like that ever since. Now you're supposed to use the formatting toolbar to insert a snippet. What a joke!

comment 4y ago · link · parent

Teiid can also be deployed as a standalone server (see the Wildfly route). There is a JDBC driver to connect to it, and they emulate the Postgres wire protocol so you can even use psql to connect to it and run queries.

comment 8y ago · link · parent

I think what you want is this:

https://github.com/boundlessgeo/prj2epsg

GeoTools (Java GIS library) has several versions of the EPSG database available as JARs and you can use the CRS class to do lookups in both directions.

https://github.com/boundlessgeo/prj2epsg/blob/master/src/mai...

You may also be able to do a query on the SPATIAL_REF_SYS table in Postgres/PostGIS for what you want to do.

Hope this helps...

comment 10y ago · link · parent

It's possible with all of the languages. Perhaps static analysis is just difficult with Python?

comment 10y ago · link · parent

Git does support custom merge "drivers" on a per file basis. For example: https://gist.github.com/seanh/378623

comment 10y ago · link · parent

Or just write down the latest commit (or use git reflog to find it post facto) and if you mess up, do "git reset --hard <commit>" to get back to it.

comment 10y ago · link · parent

It wouldn't have to be a new DVCS. It could be a Rust implementation of Git. e.g. Java Git implementation (JGit) used by Eclipse, Gerrit, etc.

comment 10y ago · link · parent

It's unfortunate that people are down-voting instead of responding to you. I'm far from an expert but it would be interesting to see what other people think here...

Basic auth is insecure (i.e. sending credentials in plaintext) and poorly supported by browsers. For example how would you handle these scenarios:

  - Force users to reauthenticate after a certain period of time.
  - Allow user to logout without closing their browser.
I think Basic auth is more reasonable for server-server communications, combined with HTTPS and client-certs.

The best setup IMO is to have an HTTPS login page (form auth, hopefully with MFA) and use a session cookie. You can do server-side settings with this setup, you minimize the time when credentials are being sent (basically just once on login), and you can force your users to occasionally reauthenticate (either session timeout or manual logout) just in case they forgot to logout of a public computer.

For testing you could allow basic auth (make it configurable, or use user-agent sniffing to force browsers to use form auth).

Edit: formatting

comment 11y ago · link · parent

Managers find a way. They will just use (or invent) another tool that lets them do it how they want. Now you have two tools, and some poor schmuck (or the developers) will get stuck with the job of keeping them in sync.

comment 11y ago · link · parent

Gitg (https://wiki.gnome.org/Apps/Gitg/) looks decent, although it's Linux-only. It's like git-gui and gitk merged into a GTK3 interface.

It would be cool if Atlassian would open-source their client (SourceTree). They make money off of Bitbucket/Stash and provide SourceTree as freeware, so it seems like a no-brainer to open-source it and let the community port it to Linux.

comment 11y ago · link · parent

One way to get this would be to develop a Teiid translator (plugin) for Rethink.

https://issues.jboss.org/browse/TEIID-3303 http://teiid.jboss.org/

The normal use case is to use the Teiid JDBC driver (or Postgres ODBC) to connect with the Teiid server and then that handles talking to your datasources via the translators.

I think there was some work done to make a standalone MongoDB JDBC driver using an embedded Teiid server, but I'm not sure how much progress was made there. Mapping document to relational can be tricky.

comment 11y ago · link · parent

I'm also curious about this. It seems like the ASL drivers are a bit of a loophole. What happens if later Rethink decides to relicense their drivers as AGPL with a commercial option for businesses? Can 3rdparty drivers be ASL or is that a violation of the AGPL?

comment 11y ago · link · parent

You could use Teiid (https://github.com/teiid/teiid). The SQL dialect is similar to Postgres, and it has built-in translators to handle all of the popular relational databases (Postgres, Oracle, MySQL). Added bonus is that even some NoSQL databases are supported, and you can do things like join a table from a MySQL database against a collection in MongoDB. Full CRUD is supported for most translators.

If you're using Java (JDBC), there's an embedded kit so you don't have to run a standalone server. If you're not using Java, you can run the standalone server which also emulates the Postgres ODBC protocol so you can (for example) use `psql` to connect and run queries.

comment 11y ago · link · parent

From the spec: "The syntax of path data is concise in order to allow for minimal file size and efficient downloads, since many SVG files will be dominated by their path data. "

http://www.w3.org/TR/SVG11/paths.html

comment 11y ago · link · parent

> Solved much more elegantly by the likes of daemontools and derivatives (s6, runit, etc.), many years before systemd.

Then why is no one using them?

> Hardly "new". Dependency systems in init daemons and service managers have been rolled many times, from the primitive need(8) facility to the LSB initscript headers (which almost all SysV-based distros had adopted) to OpenRC, Solaris SMF and so forth.

Exactly. Isn't the point of systemd to bring the ideas from launchd (and SMF) to Linux?

comment 11y ago · link · parent

You clearly haven't used Unity; it's basically a clone of the OS X 10.6 interface (before they changed spaces) built on top of GTK3. It's got a useful set of standard key bindings (hold SUPER for a cheat sheet). It would actually be pretty awkward to use on a tablet.

Gnome 3 OTOH is as you describe: giant touch-friendly menus, swipe to unlock (with a mouse), etc.

Your position seems a little alarmist. How does systemd mean you need to stop using Linux? I'm sure XFCE will continue to work.

comment 11y ago · link · parent

Have you considered just using the open source driver?

comment 12y ago · link · parent

Maybe proprietary isn't the right word. I don't like that the only way to do pre-commit code review is using a CLI tool that only works with Phabricator. Contrast this with the GH-style system where you use a standard Git client and a web app. The GH-style system is just much more accessible.

comment 12y ago · link · parent

Shopping around for these kinds of tools recently. Phabricator looks great, but the point you mentioned is a show stopper for me. I would love to see Phabricator have GH-style code review, even if it meant dropping support for non-DVCS. Arcanist is neat but I don't want to learn a proprietary CLI tool just to do code review.

Atlassian is expensive and only supports GIT, but the UI for VCS is way better (as is the Jenkins integration).

comment 12y ago · link · parent

I remember it being the case in 2007/2008. This is the closest thing I could find to a citation. http://www.codeproject.com/Articles/4439/Getting-started-wit...

"To create a new project you simply register at SourceForge and then submit a new project request. Most projects are approved immediately, and you'll typically get an email notifying you of the approval in ~ 24 hours "

comment 12y ago · link · parent

http://regex101.com/ is (I think) a really nice way to learn/use regex. It explains each piece, displays capture groups from the regex applied to sample data, and has built-in documentation. Simple example: http://regex101.com/r/nB1bR1/1

comment 12y ago · link · parent

Problem is that not everyone agrees on what that means, or if that is a good thing. Gnome is getting less and less extensible, while KDE is almost too extensible. LXDE is focused on low resource usage, and I'm not sure what XFCE's goal is. There is also the toolkit schism (GTK vs Qt) to take into account.

comment 12y ago · link · parent

PunkBuster (used by many games including Battlefield) does this as well.

comment 12y ago · link · parent

Isn't GitHub Enterprise self hosted?

I'd imagine the main reason to go with GitLab is that it's free. GitHub Enterprise costs more than Stash (although it offers more).

comment 12y ago · link · parent

Explanation here: https://answers.atlassian.com/questions/106359/stash-bitbuck...

Edit: Well, sorta. It sounds like Atlassian bought BitBucket but ended up rewriting it as a standalone product (instead of SaaS).

123