Better HN
topnewbestaskshowjobs
Log inSign up

shimonamit

439 karma · joined Dec 4, 2008 (17y ago) · 126 submissions

A C++ Windows Client Application Developer and Linux Web Developer. Email is gmail.com with shimon.amit as my user.
Submissions

comment 3y ago · link · parent

For security.

comment 4y ago · link · parent

Or https://github.com/typesense/typesense

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

They did, at least in Israel. The Jerusalem-Beit Shemesh route was restored and it is a beautiful commute.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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...

comment 10y ago · link · parent

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

13.

The Struggles of Publishing a JavaScript Library(nolanlawson.com ↗)

1 points · by shimonamit · 11y ago · discuss

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

Not necessarily. Looks like it is an immediate mode, HTML-like syntax but without the DOM.

comment 11y ago · link · parent

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...

17.

The Curse Of Smart People(apenwarr.ca ↗)

3 points · by shimonamit · 12y ago · 3 comments

18.

GatewayIndex: How does your payment gateway stack up?(gatewayindex.spreedly.com ↗)

1 points · by shimonamit · 12y ago · discuss

comment 12y ago · link · parent

Not Mobile Chrome.

comment 12y ago · link · parent

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.

comment 13y ago · link · parent

Paul Irish also discusses this in his blog post from Feb. 2012:

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

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

The longest key in the world won't protect you from a FISA warrent.

comment 13y ago · link · parent

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.

comment 14y ago · link · parent

"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.

comment 14y ago · link · parent

Adding HATEOAS resource links should not break client code. It is nothing more than adding an attribute or sub-element to your xml.

comment 14y ago · link · parent

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?
12345