Better HN
topnewbestaskshowjobs
Log inSign up

giaour

3,849 karma · joined Sep 12, 2013 (13y ago) · 1,555 submissions

Submissions

comment 7y ago · link · parent

Safari used to let you turn off CORS checks in the developer tools menu.

comment 7y ago · link · parent

Yes, you can send some POST requests without a preflight OPTIONS request: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Simpl...

1023.

If baseball is any indication, the big data revolution is over(washingtonpost.com ↗)

2 points · by giaour · 7y ago · discuss

comment 7y ago · link · parent

Receiving the proceeds of the sale of one crypto currency in another crypto currency doesn't magically wipe out your tax liability. Your capital gains are still taxable, just as they would be if you bartered stocks without first selling your holdings.

comment 7y ago · link · parent

I had an office job that involved a lot of spreadsheets and some Access databases, and I taught myself how to script a good chunk of my day-to-day responsibilities. I used the resulting spare time to learn more, automated additional tasks, and eventually found myself spending the majority of the day writing and maintaining code. When it was time to look for a new job, I was able to get a position as a software engineer based on the skills I had acquired and the programming projects I had completed and deployed.

comment 7y ago · link · parent

Wish I could upvote this twice. A form on a secure web page covers both recipient authentication and secure ingress pretty well. Definitely way more approachable for both users and developers than encrypted email or other such channels.

comment 7y ago · link · parent

Nevertheless, the site is well-built and their monetization strategy is non-invasive.

comment 7y ago · link · parent

Most of the niche sites I've seen aren't great because they're exclusive but because they're built around a specific interest. Anybody can join, but if they don't share that interest, they'll get bored and leave.

comment 7y ago · link · parent

Ravelry is a lovely social network for knitters, crotchers, and spinners.

It's a relatively small site, but it's a model for how social networks should work. Because it's built around a shared interest that people spend money on, the site can sell ad slots instead of relying on real-time bidding based ad networks.

comment 7y ago · link · parent

The article's advice on making positivity an official part of a company's culture is great! As is the mentorship/management strategy described for fostering positive behavior in problem cases.

But firing an "unintentional asshole" over their lack of social skills seems like an easy way to be on the receiving end of lawsuit, particularly if terminated employee has a medical condition that explains the behavior in whole or in part. Firing someone with autism over their lack of social skills could land you in deep shit.

comment 7y ago · link · parent

I understand that; I have also worked as a teacher. The problem is not that I expect schools to start willingly disclosing data about minors to whoever asks, but instead that there is so much data in the first place. A school with cameras everywhere -- even one that perfectly safeguards recorded video in perpetuity -- is teaching children that everything they do is on the record, ready to be marshalled as evidence against them at any point in the future. (To borrow a term from idlewords[1], such an environment conditions its occupants to a total lack of "ambient privacy.") Maybe that's the world we live in today, but it sucks.

[1]: https://idlewords.com/2019/06/the_new_wilderness.htm

comment 7y ago · link · parent

True, but they should also not be required to secure surveillance infrastructure and purge collected data at regular intervals.

comment 7y ago · link · parent

I don't think this addresses the concerns being replied to. Teaching is incredibly difficult and time consuming, and just like teachers do not have the time or expertise to also be full time social workers for their students, they also do not have the time or expertise to ensure that surveillance data about their students is appropriately secured and purged. The same applies to local school administration officials, who as you point out are few in number and already stretched too thin across their existing responsibilities.

I don't think anybody's saying that a particular teacher or administrator is to blame, but the original anecdote you shared is a bit chilling if you grew up expecting your childhood misdeeds to be forgotten over time. I remember that the most frightening thing the principal could say to you was "This is going in your permanent record"; the expectation otherwise was that it wasn't.

comment 7y ago · link · parent

I may have been reading it wrong, but my understanding was that they would be exchanging their equity for a fixed dollar amount, to be paid from future profits. If they didn't sell, they would continue to receive a fixed percentage of profits. Essentially, they're converting their equity into a loan.

comment 7y ago · link · parent

Completely different execution, same motivation and (desired) end result.

comment 7y ago · link · parent

Didn't Google try to do this a few years ago? IIRC, they had a service where you could put in a set amount of money a month, and Google would essentially use it to buy the ad slots on pages you visited. Bit of a conflict of interest since Google was also selling the ad slots at non-fixed costs, but it was a nice idea.

comment 7y ago · link · parent

Late to the party, but someone at the office shared https://storage.googleapis.com/pub-tools-public-publication-... , which reminded me of this question. You're right that the system consuming data from the lake is taking on debt by building a system around what is by design an unstable signal. The consumer is also attaching technical debt (in the form of visibility debt) to the producer, since changes to the data fed into the lake now have an undeclared consumer that may break if the data format or cadence changes in ways that seem innocuous to the data originator. At the major tech company where I work, this would result in someone on the team responsible for the data originator getting paged.

I would recommend reading the paper linked to above and sharing it with teams that are taking the approach you describe.

comment 7y ago · link · parent

If they didn't sell, they would keep all future profits but not exchange the underlying equity for cash.

comment 7y ago · link · parent

Was the mural featured in the article the inspiration for https://en.m.wikipedia.org/wiki/The_Camel_(Parks_and_Recreat... ?

comment 7y ago · link · parent

Given the ubiquity of Java 8 in enterprise IT, I think we’ll all be stuck supporting TLS1.2 for at least another 5 years

comment 7y ago · link · parent

Many large companies will let you take an unpaid leave of absence for a few weeks or months without negatively impacting your career. I also work at a FAANG and have seen colleagues take a months-long leave for personal reasons, then come back and get promoted within a year. I've also seen people go on leave and then decide at the end of their leave to either join another team at the company or just quit and not return.

It can't hurt to ask, and going on leave rather than quitting would mitigate risks #1 & #2.

comment 7y ago · link · parent

Even if the NSA could break E2E encryption (a very big if), that doesn't automatically imply that local, county, and state level law enforcement agencies would be able to.

comment 7y ago · link · parent

"The website you are trying to access has been identified as a security risk; access has been disallowed by [corporate information security team]"

comment 7y ago · link · parent

One theory is that gender in languages aids in first langauge acquisition (while making second language acquisition more difficult). Children learning their first language are helped when there are multiple, redundant ways to recognize words and phrases.

1045.

New generation of tech firms urges stronger privacy laws(mercurynews.com ↗)

2 points · by giaour · 7y ago · discuss

comment 7y ago · link · parent

Programming Elixir[1] has hands-on exercises throughout. The author also published a video course[2] with exercises.

[1]: https://pragprog.com/book/elixir16/programming-elixir-1-6

[2]: https://codestool.coding-gnome.com/courses/elixir-for-progra...

comment 7y ago · link · parent

Understood; I put "better Python" in scare quotes because everyone has their own vision of what that "better X" would look like in an ideal world. Julia offers a python-like syntax but doesn't really attempt to duplicate the python developer experience.

Based on your other comments, if you're OK with a more Ruby-flavored syntax, you could look at Elixir. Its designers put a lot of effort into pervasive immutability and a solid developer experience.

comment 7y ago · link · parent

There are a few new languages competing for the title of “better Python,” i.e., a language with Python-inspired syntax, optional typing, and native compilation. Julia is trying to be a “better Python” for mathematical and scientific computing, and Nim is aiming to be a better general purpose Python. Nim predates Julia by a few years, but there’s a lot of excitement around Julia these days.

comment 7y ago · link · parent

I don't see the utility when JS already has an option type that's deeply integrated into the language: promises. The one advantage I could see in a hand-rolled option would be forgoing the extra event loop ticks used with promise resolution, but then you're limited to writing synchronous code.

In other languages, I normally use option types when things can fail in unexpected ways, which almost always means I/O.

comment 7y ago · link · parent

It's still a legitimate concern. If a person or entity does something that flagrantly violates Visa's terms of service, Visa can refuse to process payments to them. If that same entity gets 86'd by 2/3rds of the Libra Alliance, they could be blocked from participating in transactions, which would make their Libra balance essentially worthless.
1
343536
52