News for hackers. Stuff that matters.

m712

Ask HN: How to commit properly when starting out a project?

When I am just starting out a new project, usually I work on multiple things at once, like (in a web project) the routes, authentication, database models, etc. etc. So usually during the first few days of a project I don't commit at all and just keep adding new code. The result is that when I do commit 5 days down the line it's just a single "Bring the project up-to-date" commit that just...

( Read More... | 5 comments | 4 points | on HN )
Re:Old CSS, New CSS on Monday February 03, 2020 @09:55AM (#22224609)
About map/area: Some websites still use them, and really well too. The Team Fortress 2 website[0] uses them with the images at the top of the page to link each of the characters' description pages.

[0]: https://teamfortress.com/

Re:Dark Horse Discord on Wednesday January 22, 2020 @01:26PM (#22120410)
Are you the original author of the article? The article itself seems to be experiencing issues right now, but from what I recall, the author mentions "extensible roles" and "good free tier" as the features that got him to use Discord. I don't consider these features crucial enough to use non-Free Software. If you are not the original author and have other features in mind, please explain which features of Discord are "so incredibly good".
Zed Shaw's books are seriously overrated.
Re:Dark Horse Discord on Wednesday January 22, 2020 @01:27AM (#22115113)
Discord is also proprietary software and is backed by Tencent. Read the privacy policy, it might surprise you.

Please try investing in Free, Open Source alternatives first.

Re:The Unison language on Friday January 10, 2020 @10:09AM (#22011438)
No mention of Smalltalk in the comments? The "codebase" that is managed by ucm sounds very similar to Smalltalk images. I am personally delighted about this.
Re:13.3" full color ePaper display on Thursday January 09, 2020 @05:04AM (#21999900)
Seems like the site is suffering from the Slashdot effect.
Re:Most cybercrime doesn't involve computer hacking on Thursday December 26, 2019 @02:54PM (#21886232)
I had to do a double take when I saw it.
Re:Sundar will be the CEO of both Google and Alphabet on Wednesday December 04, 2019 @09:15AM (#21702291)
>Nonetheless, Google's core service--providing unbiased, accurate, and free access to information--remains at the heart of the company.

Hah!

It started out so great, but at the end I was left with the impression that someone was just trying to shoehorn features into C with quirkier syntax than C++. That type declaration syntax will probably haunt me in my sleep.
Re:Matestack: Rapidly create interactive UIs in Ruby on Friday November 29, 2019 @02:01PM (#21666124)
`my_frist_page`
Re:Why does the Librem 5 phone cost that much? on Thursday November 28, 2019 @07:37AM (#21656814)
Here I must praise KiCad. It is one of the best pieces of FOSS software out there. It beats almost all other (commercial or non-commercial) software in PCB design, hands down.
Re:PHP 7.4 on Thursday November 28, 2019 @07:29AM (#21656772)
I have been waiting for a strongly typed mainstream high level language for a long time (TypeScript doesn't count because all type information is stripped during runtime). PHP still has a lot of cruft that prevents me from using it in my projects, but the recent updates seem like a step in the right direction. Hope that by PHP 8 the language will have deprecated more of the bad stuff.
Re:Gitlab was down on Thursday November 28, 2019 @07:09AM (#21656637)
The status page has updated to indicate that they misconfigured their firewall. Apparently their entire set of services go through a single firewall (or at least, multiple firewalls with the same config). It's worrying that they don't have a staging setup for these kinds of things.

(NOTE: I am speculating here, if they do have a staging system and this wasn't reproduced there then the last sentence doesn't apply.)

Re:Gitlab was down on Thursday November 28, 2019 @07:05AM (#21656609)
Ironically, status.gitlab.com takes upwards of a minute to load on my end. I thought it was going to time out.
Re:Firefox Preview 3.0 on Thursday November 28, 2019 @06:54AM (#21656530)
I can't find it on F-Droid, hopefully they get it on there soon. The main repo doesn't seem to have the Pocket spyware in the app yet, at least.
Re:Firefox browser will block the IAB's DigiTrust universal ID on Wednesday November 27, 2019 @06:04AM (#21646920)
Unfortunately, if the hardware has a lot of issues the well-integrated experience seems to quickly fall apart. I can't really speak about the desktop side of Apple products but the MacBook line of products seem to be troubled with many hardware related issues for years now.
Re:JSONCrush – Compress JSON into URI Friendly Strings on Wednesday November 27, 2019 @05:19AM (#21646705)
You can probably use extended URL encoding for that, which is supported by at least body-parser [https://npmjs.com/package/body-parser]. Not sure about other PLs.
Re:JSONCrush – Compress JSON into URI Friendly Strings on Wednesday November 27, 2019 @05:18AM (#21646692)
That means the algorithm's complexity is non-linear. I am suspecting the JScrush code currently but it could be somewhere else as well.
Re:JSONCrush – Compress JSON into URI Friendly Strings on Wednesday November 27, 2019 @05:00AM (#21646607)
I guess you/someone could try a re-implementation.
Re:Firefox browser will block the IAB's DigiTrust universal ID on Wednesday November 27, 2019 @04:57AM (#21646594)
This website has a very thorough Firefox de-bloat and anti-tracking guide: https://spyware.neocities.org/guides/firefox.html

I find that some of those options are excessive, but it's good for the privacy-minded in general. Just change the options based on your threat model.

Re:Firefox browser will block the IAB's DigiTrust universal ID on Wednesday November 27, 2019 @04:55AM (#21646587)
You should take the next step and switch to GNU/Linux. :o)
Re:Firefox browser will block the IAB's DigiTrust universal ID on Wednesday November 27, 2019 @04:54AM (#21646581)
Heck, companies are already starting to use CNAME records to fool ad/content blockers. I don't think what you're describing is far from becoming reality.
Re:Firefox browser will block the IAB's DigiTrust universal ID on Wednesday November 27, 2019 @04:53AM (#21646572)
It's a hard to parse sentence, which is intentionally vague. It's weasel wording, basically.
Re:Google Kills Cloud Print on Friday November 22, 2019 @10:27AM (#21606364)
Well, I posted my previous comment before seeing this. This is good news for Chromebook users, at least.
Re:Google Kills Cloud Print on Friday November 22, 2019 @10:26AM (#21606355)
This. It also includes privacy benefits. People need to stop relying on Google.
Re:Google Kills Cloud Print on Friday November 22, 2019 @10:25AM (#21606341)
Whatever happened to good old CUPS? Why did they have to introduce so many layers including Google's servers between the user and the printer?
The images in the article will stay a blurry mess without Javascript and will not load. Please don't do this. Use progressive images.

EDIT: Apparently they are videos, but you can still add thumbnail images to native HTML5 videos without loading 40 script files (that uMatrix reported).

Older »