News for hackers. Stuff that matters.

shimonamit

Re:Rails 7.1 Released on Friday October 06, 2023 @04:03AM (#37788245)
For security.
Re:SQLite is not a toy database (2021) on Tuesday August 16, 2022 @02:22AM (#32479747)
Note the difference between "lots of writes" and "lots of concurrent writes". "Lots of writes" in succession without heavy concurrency support is just fine for desktop/mobile apps. It is not okay for busy webapps.
Re:Gambling and Adult content DNS blocking using Mullvad VPN on Wednesday July 13, 2022 @09:47AM (#32082660)
I use SafeDNS which filters adult content (plus many more categories), without forcing YouTube Restricted Mode. But, you can opt into YouTube Restricted Mode if you choose.
Re:Railway lines once connected the Middle East on Thursday December 30, 2021 @03:40AM (#29734904)
They did, at least in Israel. The Jerusalem-Beit Shemesh route was restored and it is a beautiful commute.
With age comes responsibility, so with time and coaching we remove restrictions. But it takes time, and I'm not willing to sacrifice my child's education in the meantime for YouTube and gaming distractions. I've grown to recognize there are certain distractions that are simply too difficult for young children to refuse.
Practical tip for parents here struggling with the problem of 'distractions during school hours': use a DNS filtering service.

I use the Family package from SafeDNS and I'm generally happy. It is also cheap at $20/year. I like SafeDNS because they provide a Desktop client that prevents tampering.

You can configure different profiles such as 'Education', 'Creative' and 'Default' for different modes you want to put your child's computer on - remotely. So during schooling hours I configure their computers to be on 'Education' mode, but if they want to just do Scratch or some other brain-stimulating activity, I put it on 'Creative' mode. For free time I'll put it on Default which I've configure to allow YouTube.

I configure each profile to block preconfigured vendor-supplied site archetypes such as Videos, Gaming, Advertising, Shopping, Chat etc. I have full control over each profile type. I can also whitelist a domain if they get in a snag.

I'm sure there are other good DNS filtering service providers, but this one is the one that worked best for me.

Re:Ask HN: How to do cross platform GUI? on Sunday August 23, 2020 @10:11AM (#24252075)
I was examining Zoom's bin directory looking for a cross-platform GUI library they might be using, and found a library called DirectUI, also duilib. DirectUI was originally developed by Bjarke Viksoe. Looks like this here: https://www.codeproject.com/Articles/372559/DirectUI. Maybe someone else can add some insight?
Printing in Windows is an unsolved problem. It never was.

To print in Windows I have a checklist: 1. Print 2. Restart printer 3. Cancel print job, try to print again. 4. Restart print spooler, try to print again. 5. Restart computer, try to print.

Usually works with #4 or #5. Having a family member print is a major tech support undertaking.

Re:“Our primary goal is to un-fork the Tor Browser” on Sunday August 07, 2016 @12:59AM (#12241124)
I haven't tried it recently (as in the past month), but I like to fire up the browser, press Ctrl+L, type an address and press Enter in a few seconds. That seems to take forever on Firefox compared to Chrome.
Re:After the coup, Turkey turns against America on Wednesday July 20, 2016 @08:57AM (#12128638)
The U.S. stores nukes in Turkey as part of the NATO deterrence strategy. During the coup the Turkish authorities were quick to siege the military base supposedly hosting the nukes. From CNN:

  > Turkish authorities encircled the base, cut off the power
  > supply and temporary closed the airspace around Incirlik 
  > as they fought off the coup launched on Friday.
http://edition.cnn.com/2016/07/19/politics/us-nuclear-weapon...
Re:Rails 5.0.0.beta1: Action Cable, API Mode, Rails Command on Monday December 21, 2015 @06:39AM (#10770633)
An interesting tweet by Sam Saffron:

"@dhh this is just a bit too much https://github.com/rails/rails/blob/master/rails.gemspec#L28 … now every Rails install requires redis, eventmacine, celluloid and faye"

https://twitter.com/samsaffron/status/678701348297158657

HTML5 is an excellent alternative to ActiveX, particularly in the area of mime type handling, but it does not facilitate native desktop interaction. There is still a basic need for certain websites to interact with pre-installed native/legacy applications using a secure method such as Google Native Messaging, but Microsoft hasn't committed to anything similar.
Re:Render HTML via WebGL on Thursday April 02, 2015 @10:59AM (#9311056)
Not necessarily. Looks like it is an immediate mode, HTML-like syntax but without the DOM.
Re:PHP 7's new hashtable implementation on Tuesday December 23, 2014 @03:43AM (#8787335)
Javascript's arrays cannot be used as maps or associative arrays. Arrays require numeric, consecutive keys. Otherwise it's an Object.

--

Clarification edit: Creating a new key on an array using arr['key']=1 creates a property on the arr Object but does not add an element to the standard array.

http://stackoverflow.com/questions/8630471/strings-as-keys-o...

Re:Opera is really nice. on Thursday February 13, 2014 @08:25AM (#7231174)
Not Mobile Chrome.
Re:Opera is really nice. on Thursday February 13, 2014 @08:23AM (#7231161)
So far Mobile Opera is the only browser to support:

* Readable text size after double-tap-to-zoom

* Text reflow

I still can't find a browser that remembers my zoom level per site.

Re:CSS3 Box Model behaviour on Tuesday November 19, 2013 @07:35AM (#6760694)
Paul Irish also discusses this in his blog post from Feb. 2012:

http://www.paulirish.com/2012/box-sizing-border-box-ftw/

Re:Recursive raytracer in 35 lines of JavaScript on Tuesday November 19, 2013 @04:34AM (#6760121)
The author writes in the link:

> Note that the goal here was to make the source code as small as possible, not clarity; so even the original code before minification is a horrible mess. This doesn’t do justice to the elegance and simplicity of proper raytracer code; I’m writing a book to right this wrong.

Re:Forced Exposure on Tuesday August 20, 2013 @08:35AM (#6243260)
The longest key in the world won't protect you from a FISA warrent.
Just imagine how I'll feel if he says we/us on his site and then I discover in our introductory call that he is a loner. Only say "we" if you can justify it. If you tell me you're networked and have a working relationship with ux/designers/programmers maybe that will fly.
Re:Recurly billing down -- some customer data lost on Wednesday September 05, 2012 @08:34AM (#4479024)
"This failure corrupted encryption keys used to access stored credit cards to process recurring transactions"

Looks like they were sharing encryption keys by replication or shared storage.

Re:How RESTful is Your API? on Monday August 27, 2012 @09:00AM (#4438568)
Adding HATEOAS resource links should not break client code. It is nothing more than adding an attribute or sub-element to your xml.
Re:How RESTful is Your API? on Monday August 27, 2012 @07:51AM (#4438353)
Easier for you, that is. The problem with HATEOAS is that it requires commitment on both parties (server and client) to that convention. For the client developer that means no hard coding changing URLs. But they will, and you'll be to blame when your server changes break their code. You'll say "but you didn't HATEOAS" and they'll say "my app is broken, fix your API now" and you... who wants to go there?
Re:John Siracusa's OS X 10.8 Mountain Lion Review on Wednesday July 25, 2012 @09:34AM (#4290820)
Isn't there a TL;DR;TL;DR;TL;DR^25 somewhere?
Re:Show HN: Meteor, a realtime JavaScript framework on Wednesday April 11, 2012 @01:55PM (#3828737)
I would assume their client DB stubs invoke server RPCs. A few server hooks for your webapp would solve that.
Re:The all-new Basecamp is live on Tuesday March 06, 2012 @09:17AM (#3671055)
http://basecamp.com/transition

I want to migrate, but...

> Basecamp Classic and the new Basecamp don't offer the same features, so some data in Classic won't make it into the new Basecamp.

So maybe I'll stay. But wait...

> Will you continue to improve Classic? The majority of our design and development efforts moving forward will be focused on the all new Basecamp, but we'll continue to support Classic as long as customers continue using it. We expect that to be for many many years.

Maybe. Maybe not. The web moves very quickly you know. New browsers, standards, security risks etc. I can think of a million and one reasons Classic will get EOL'd sooner rather than later.

This is certainly faithful to their backwards compatibility intolerance. The new product couldn't be bound by the "burden" of the old. Now I the customer am left with a very distasteful choice to make.

Older »