News for hackers. Stuff that matters.

tom9729

Re:The Glorious Return of a Humble Car Feature on Thursday April 27, 2023 @12:49AM (#35723458)
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...

Re:The GTK+3 port of GIMP is officially finished on Wednesday April 19, 2023 @07:27PM (#35634583)
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!
Re:Godot 4.0 Released on Wednesday March 01, 2023 @04:57PM (#34988912)
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.

The data stores are pluggable. Postgres (with PostGIS) is one option.
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-...

Re:Ask HN: Why is Microsoft Teams still so bad? on Thursday September 22, 2022 @12:43AM (#32934865)
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!
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.
Re:PostGIS 2.5.0 released on Monday September 24, 2018 @01:12AM (#18055178)
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...

Re:FindBugs project in its current form is dead on Sunday November 06, 2016 @01:19PM (#12886319)
It's possible with all of the languages. Perhaps static analysis is just difficult with Python?
Re:Keep a Changelog on Friday August 26, 2016 @11:12PM (#12370762)
Git does support custom merge "drivers" on a per file basis. For example: https://gist.github.com/seanh/378623
Re:Squash your commits on Friday April 01, 2016 @10:21PM (#11409926)
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.
Re:Server and Client RCE in Git version 2.7.1 and below on Tuesday March 15, 2016 @10:47PM (#11294634)
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.
Re:Steam: Seeing other people's accounts when logged in on Friday December 25, 2015 @11:48PM (#10793300)
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

Re:Why Fogbugz lost to Jira on Thursday October 01, 2015 @07:45PM (#10315617)
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.
Re: GitHub Desktop is now available on Wednesday August 12, 2015 @05:58PM (#10050951)
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.

Re:RethinkDB 2.1 is out: high availability on Tuesday August 11, 2015 @08:50PM (#10045374)
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.

Re:RethinkDB 2.1 is out: high availability on Tuesday August 11, 2015 @08:39PM (#10045340)
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?
Re:Goodbye MongoDB, Hello PostgreSQL on Tuesday March 10, 2015 @10:52PM (#9182277)
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.

Re:SVG Path Strings on Monday February 23, 2015 @03:44PM (#9096884)
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

Re:One Frickin' User Interface for Linux (2003) on Sunday December 28, 2014 @06:59PM (#8807965)
> 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?

Re:One Frickin' User Interface for Linux (2003) on Sunday December 28, 2014 @06:55PM (#8807956)
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.

Re:Rapid DHCP: Or, how do Macs get on the network so fast? (2011) on Wednesday December 24, 2014 @12:26AM (#8791679)
Have you considered just using the open source driver?
Re:Phabricator, Wikimedia’s new collaboration platform on Monday November 24, 2014 @08:53PM (#8655900)
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.
Re:Phabricator, Wikimedia’s new collaboration platform on Monday November 24, 2014 @06:04PM (#8655227)
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).

Re:GitHub dropped Pygments on Monday November 24, 2014 @12:07PM (#8653310)
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 "

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
Re:Switch default desktop to Gnome on Tuesday September 23, 2014 @08:03PM (#8359130)
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.
Re:EA is File Snooping with the Origin Client on Sunday July 13, 2014 @02:01PM (#8028124)
PunkBuster (used by many games including Battlefield) does this as well.
Re:GitLab – Open Source Git Management Software on Tuesday April 22, 2014 @08:05PM (#7631274)
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).

Re:GitLab – Open Source Git Management Software on Tuesday April 22, 2014 @07:57PM (#7631246)
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).

Older »