Hacker News new | past | comments | ask | show | jobs | submit | itafroma's comments login

Yes:

    {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
            "price": {
                "type": "number",
                "multipleOf": 0.01,
                "minimum": 0
            },
            "currency": {
                "type": "string",
                "enum": ["EUR", "USD", "GBP"],
                "default": "EUR"
            }
        }
    }


> i'd also like to see "don't deliver to my house option", meaning i'll come and pick it up from a depot the same day.

This almost exists in Portland, OR at least: many items have an option for "one-day pickup": https://smile.amazon.com/gp/campus?campusId=CAMPUS_POR

I say "almost" because it's not same-day: it's overnight.


by same day, i mean as soon as it's at a close enough depot for me to pick up.


I would highly recommend James Felici's The Complete Manual of Typography. Goes through all the core concepts of typography and why they matter, and provides a number of guidelines.


> Have they finally updated packages like php and ruby?

PHP:

> ▶ /usr/bin/php -v

> PHP 5.6.24 (cli) (built: Aug 8 2016 16:58:37)

> Copyright (c) 1997-2016 The PHP Group

> Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

Ruby:

> ▶ /usr/bin/ruby -v

> ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]


+1 for PHP

/usr/bin/php -v

PHP 5.5.36 (cli) (built: May 29 2016 01:07:06) (10/11)

-1 for ruby (2.3.1 is the recommended now)

ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15] (10/11)


> It has fallback to SMS functionality, but SMS apps are rejected from the Apple App store.

Which guideline are you thinking of? My search for "SMS" only found two unrelated guidelines:

> 1.1.6 False information and features, including inaccurate device data or trick/joke functionality, such as fake location trackers. Stating that the app is “for entertainment purposes” won’t overcome this guideline. Apps that enable anonymous or prank phone calls or SMS/MMS messaging will be rejected.

> 3.2.2 (iv) Collecting funds within the app for charities and fundraisers. Apps that seek to raise money for such causes must be free on the App Store and may only collect funds outside of the app, such as via Safari or SMS.


The purpose of the signature is to establish legal solemnity, not identity or authority. It's why you can sign with just an X, and why really important contracts still need to notarized (which does establish identity).


1. Yes, they are allowed to do that, assuming you're an at will employee with no contract that specifies otherwise.

2. I'd give notice, citing the change in performance review and withdrawal of the promotion/raise as the cause. It's one thing to work in what appear to be horrific conditions, it's another to then be retroactively denied compensation.

The main X factor is when you give notice, and that's up to you: personally, I'd probably give notice immediately and see if the company counters with an offer to reinstate what you were promised. Otherwise, start looking for another job and give notice as soon as you get an offer.

This will certainly come up during your next job interview, so you don't want to burn any bridges or get too emotional about this (even though you have the right to, for sure):

- Be calm and factual when explaining why you're giving notice, to prevent poisoning the reference: your performance review was changed after the fact, and you were denied compensation and an advancement opportunity you were previously promised. In any situation, this is a reasonable and justified reason to leave a job.

- Do not give K as your reference. Give one of your other superiors.

- When explaining why you left your previous company during interviews, you don't want to throw them under the bus. Explain that you were looking to advance and grow as a developer, but those opportunities were not available at the previous company.


This. Quitting is the right option. Very easy to explain to future employers too (you've only been there a few months, mistakes happen).

What you're experiencing is a great learning experience. Reflect on it and you'll come out stronger.

For future: when you're a lead you should be focus on setting boundaries, expectations, systems, plannings etc. You'll probably only code for 1/3rd of your time, if you're lucky.

Don't feel comfortable with that? Then don't apply for those positions :)


I don't agree with giving notice without giving K's boss a chance to prove they can right this thing, and that can be done at no cost to the OP and potentially has a huge upside.


The cost to OP is all the opportunities they don't take in the mean time and whatever mental cost they're paying by persisting in a horrible environment.

It might be worth it if they had an awesome relationship with their boss, a lot of trust built up, but it doesn't sound like that's the case. If they'd a decent relationship, and decent managers, the situation would never have reached this point in the first place. Add to that the fact that the company went back on their word...

They're either liars or stunningly incompetent. Neither's worth counting with.


The NEWS file defines what the pragma actually is,[1], but you'd use it like so:

    # frozen_string_literal: true
    str = 'foo'
    str << 'bar'
This will now produce an error:

    # main.rb:3:in `<main>': can't modify frozen String (RuntimeError)
It's equivalent to Ruby 2.1's String#freeze:[2]

    str = 'foo'.freeze
    str << 'bar'

    # main.rb:2:in `<main>': can't modify frozen String (RuntimeError)
Except that it will affect all strings created after the pragma mark.

You can also trigger this behavior globally with the --enable=frozen-string-literal option.

[1]: https://github.com/ruby/ruby/blob/v2_3_0/NEWS#L17-L26

[2]: http://ruby-doc.org/core-2.2.3/Object.html#method-i-freeze


> Anyone know if they're supposed to be banned or not?

They are prohibited by App Store review guidelines 5.5 and 5.6:[1]

> 5.5 Apps that use Push Notifications to send unsolicited messages, or for the purpose of phishing or spamming will be rejected

> 5.6 Apps cannot use Push Notifications to send advertising, promotions, or direct marketing of any kind

Apple has responded positively to reports I've made regarding those guidelines, but it's hard to say how much of an effect it had. The DM push notifications I reported seemed to come out of the blue and were never repeated: the company could've been told by Apple to stop or they could've just been doing it as a test.

[1]: https://developer.apple.com/app-store/review/guidelines/#pus...


Apple may want to expand 7 to include "Apps with an under 18 age rating may not include advertising for alcohol" (and probably gambling too).


The board outlined their side in a press release shortly after Zimmer's termination: http://ir.menswearhouse.com/press-releases/detail/12/mens-we...


I have to wonder how they feel about their decisions now.

From what I can gather, he put together a pretty cool company with nice ethics. I heard that he hired felons saying that everyone needs a second chance. He treated his employees well. The company, so far as I know, was doing well. Not cranking the stock price but making bank and taking care of customers and employees. What's so awful about that?


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: