Better HN
topnewbestaskshowjobs
Log inSign up

matthijs

54 karma · joined Jun 23, 2009 (17y ago) · 37 submissions

Submissions

comment 2mo ago · link · parent

I agree. I also paid, but the components themselves were hard to use and required quite a bit of work to integrate into our product. For example, most components had a new (slightly different) button and parts of the components didn't have clear boundaries from what I remember.

Besides that, quite quickly there were many other free, and arguably better, alternatives available (like flowbite, preline, daisyui, etc) that I ended up using instead.

comment 3y ago · link · parent

Using `truncate` in combination with `cascade` is another that I found unexpected:

"Automatically truncate all tables that have foreign-key references to any of the named tables, or to any tables added to the group due to CASCADE."

So it will simply clear out other tables that reference table to truncate, even if you have `on delete set null` and the foreign key column is null.

https://www.postgresql.org/docs/current/sql-truncate.html

comment 4y ago · link · parent

Yes, looks very similar: https://cssinspector.com/

comment 4y ago · link · parent

I was hoping for a more affordable 6K 32 (or 30) inch monitor but I'm afraid that won't happen anytime soon.

5.

$5M/year VPN scam on the AppStore(twitter.com ↗)

11 points · by matthijs · 5y ago · 6 comments

comment 6y ago · link · parent

Probably WhatsApp, they moved from FreeBSD to Linux and were on SL before the Facebook acquisition.

comment 7y ago · link · parent

Great podcast about the TurboTax ProPublica articles: https://gimletmedia.com/shows/reply-all/6nhgol/144-dark-patt...

comment 8y ago · link · parent

I've been using a HP Spectre x360 (13") with Ubuntu 18.04 for the last couple of weeks and it's been working very well for me. I even use the tablet mode when reading PDFs.

Price wise it's quite cheap (same specs as the Dell: i7, 16GB, 1TB SSD, 4k screen) as you can usually find a coupon online. For me it was about EUR300 cheaper than the XPS currently is. So far everything has worked out of the box with exception of the fingerprint reader on the side.

comment 14y ago · link · parent

You account is your phone number which is a really smart thing I think. Therefore you do not have to add each of your contacts one by one. And when someone in your contact list installs WhatsApp they automatically show up in your WhatsApp contacts.

It's the quickest direct replacement for SMS.

comment 14y ago · link · parent

Would it be possible to make the text inside the Quicklook window selectable? I often just want to quickly copy something from a file, and Quicklook would be the fastest way to do so.

comment 14y ago · link · parent

Last month I was forced to use a netbook for a week and decided to install Ubuntu with Unity on it. I was really impressed with the user experience. I was probably just as efficient (if not more) than on my macbook!

comment 15y ago · link · parent

In depth article from Scott Schiller that explains how he developed it: http://www.schillmania.com/content/entries/2011/wheels-of-st...

comment 15y ago · link · parent

For 265 color support you can use this: https://github.com/timmfin/terminalcolours

comment 15y ago · link · parent

Taking a look at the definition of Crimes per capita it states: "Note: Crime statistics are often better indicators of prevalence of law enforcement and willingness to report crime, than actual prevalence. Per capita figures expressed per 1,000 population.".

According to the crime statistics for The Netherlands the rape victims rate is 0.8% versus 0.4% for the united states [1] (its definition being: "People victimized by sexual assault (as a % of the total population)". However looking at the rapes per capita[2] The Netherlands has 0.1 per 1000 vs 0.3 for the US.

Additionally the murder rate in the US is about 5 times higher than in The Netherlands[3]. The Dutch rate is without attempts, but still I doubt if it would get even close to that in the US.

[1] http://www.nationmaster.com/graph/cri_rap_vic-crime-rape-vic...

[2] http://www.nationmaster.com/graph/cri_rap_percap-crime-rapes...

[3] http://en.wikipedia.org/wiki/List_of_countries_by_intentiona...

comment 16y ago · link · parent

Even a really close up picture of a face will be seen as nudity. Trying to detect a body (or parts of a body) and determine how much skin is visible would probably be a better approach.

Also quite relevant is this site: http://www.yangsky.com/researches/physicallinguistics/PLUnde... Besides a "breast detector/nipple detector" he also created a couple of weird detectors like a "cowgirl sex position detector" among others. (The link is sfw, the individual detectors are not)

comment 16y ago · link · parent

How do you store the words? In memory or do you use something like redis, mysql?

comment 16y ago · link · parent

How will the betting companies react to this? Could they possibly block the hedge fund?

Some time ago I read an article about someone giving betting tips (having it right more often than not), where betting sites subscribed to his service and as soon as he gave an update modified the odds.

comment 16y ago · link · parent

Note that the full-text modes only support prefix searching. For postfix you could either reverse the field your looking for (redundant data in your table), or use something like sphinx; which nowadays has great integration with MySQL.

comment 16y ago · link · parent

How do you convert your existing vector icons to this (pathstring) format? Or did he use some custom tool to draw them?

comment 16y ago · link · parent

Indeed, for example the express framework appears to be optimized for high performance http://expressjs.com/

comment 16y ago · link · parent

Great, after last.fm became subscription only I needed a replacement.

comment 16y ago · link · parent

Not sure if this is still the case, but with the hp laptops I own (especially ugly with the small HP mini's) the laptops looks good but they add the HUGE ugly power adapters.

With my hp mini the adapter is like 3/4th the size of the laptop itself. It's those details (a pretty big one in this case) that makes Apple products so good. Apple's MagSafe is awesome.

comment 16y ago · link · parent

My university just migrated to Gmail (about 2 weeks ago). 30k students and about 8200 faculty and staff members.

It beats the 2 different systems we had to use before (one exchange account and one squirrel mail faculty account), and is probably more secure as well.

comment 16y ago · link · parent

"After you've purchased your own domain, we also make it super easy to set up your own personalized email boxes, calendars, and wikis using Google Apps."

They make it super easy by setting the dns settings to Google apps, or is there anything else involved? (Setting the dns records is already well documented on the Google apps site and not hard at all).

comment 16y ago · link · parent

Yes it is already live, all you need to do is click the "Check for new messages" button on the inbox page and you'll be notified with a sound and the new message will be highlighted.

I just checked and made sure it is still working as it is suppose to (Firefox + Safari). Ill try Chrome as well.

comment 16y ago · link · parent

Checking out your code it looks like you're just polling (not longpolling)? Instead of just holding the connection open and waiting for a new message you pass the latest message and let the client reconnect. I use node like this (really simplified but still): http://blog.dispostable.com/instant-mail-notifications-using...

comment 16y ago · link · parent

If you want to brush op on some of your math: http://www.khanacademy.org/ All Youtube video's clearly explaining different theories. Helped me relearn a few topics..

comment 16y ago · link · parent

Perhaps also add an activity gif in there so everybody knows it's busy (e.g. "Looking for tweets in the area")

comment 16y ago · link · parent

Looks cool. However I don't see anything in any of the places (no pins and I'm not sure what it is suppose to do)?

So some more info would be appreciated

comment 16y ago · link · parent

I really like the Steam Play concept and hope all the older Valve games I bought will use this feature.

Finally no more or at least less reboots to windows

12