skysight-inc/HackerNews huggingface dataset:
Isn’t this only “trouble” if you think of legal penalties like imprisonment only as punishment for your choices? If you think about imprisonment differently, perhaps as a means to protect other people from future crimes, issues like gut biome and “free will” aren’t really relevant.
Mac mini blocks UBUNTU installation? (LTT on Twitter)
If you’re as unlucky as me to use a Touch Bar MacBook Pro, you already at least partially have this problem.
I'm not sure which discussion branch to reply to you on.

But I would like to put forth the argument that people get closer to gaining the required awareness that would make them free as time passes and they gain experience. This is similar to limits in math.

That is not to say that everyone moves in that direction at the same speed - that part is indeed out of one's hands. But it is undeniable that experience increases, and with it, awareness and thus freedom.

I don't think I believe this because of ego. I just think it happens to be true.
Lately, I am enamored of Ruby

x.between?(6,9)

or very explicitly

x.between?(5.0.next_float, 10.0.prev_float)
I don't know. We can blame technology. Or we can actually go out and join something.

Maybe serve at a local food bank. Worst case, you're still lonely but some hungry people get fed.

Incidentally, how are you going to find a good food bank to help out at? I bet it looks like "technology": search engines, smart phone apps, web pages, email, digital calendars, navigation instructions, and signup forms.
Correct: if either mail server is compromised by the government then it may as well be plaintext.
> more productive for you to hold another meeting

Are you serious? These are just 2 neat ways for expressing common boundaries conditions. The point is it's more readable instead of using '>'. That is all.
>>> why does American industry require students to go into debt to get expensive and worthless piece of paper to just even consider hiring them

Why does everybody think you need a taxi license to drive a taxi? If this market is artificially distorted, then it will eventually be disrupted. A company could begin to hire workers with lesser credentials. They would have an incentive to pay less. The workers would have an incentive to accept lower pay due to being able to get their careers going sooner with less debt. A shorter path to a job might attract a more diverse candidate pool. Everybody wins.

Another possibility is that the education is of value after all.

I managed the self-learning issue in the following way. I majored in subjects that I would have had a hard time learning on my own for whatever reason. I taught myself other subjects that lent themselves to self-teaching. Then I actually blended all of those things together in my graduate degree.

I don't think everybody needs to attend college with the same purpose. Despite the image of paternalism, there is a fair amount of flexibility. One student might want to get a credential with minimal effort. Another might want to spend some time while they're young, learning interesting or hard subjects. A third might be looking for a breadth of social experiences. A fourth, networking. All of them graduate, and maybe they all get similar grades.
IP Geolocation and ISP Lookup API
My cat ate my {insert product}. A look at Amazon fake reviews
There's also `if x in range(2,4)`, which translates to `if x in the interval [2, 4)`.
usa PHP, this is false.

> Like to get a font to use in your app, you need to pay $5,000+ for any decent looking font.

There are many high quality open source fonts available. For example:

https://github.com/IBM/plex

http://www.latofonts.com/lato-free-fonts/

Many foundries such as Grilli Type have free trials (https://www.grillitype.com/free_trials) and reasonable pricing for very high quality typefaces (https://www.grillitype.com/shops/gt-america <$1k for desktop + web)
If you interview well and have competing offers from large firms that shell out good cash, you can get that as a senior dev. Networking helps a lot, if you have the right friends working there, they'll make sure you interview with the right people.
Oh my sweet summer child :)

https://www.levels.fyi/SE/Google/Facebook/Microsoft
For people who wonder whether they should take "weeder" calculus or "honors" calculus, I recommend the honors track:

1. they'll feel a real sense of accomplishment from mastering the honors, rather than "meh"

2. the other students in the weeder class won't be of much help if you need help

3. the weeder prof will be a low status prof who got stuck teaching weeds

4. you'll get the good prof in the honors class

5. the honors class will be more work, but it'll be much more fun working with other students who want to be there and a prof who wants to be teaching

6. the fellow honors students will be the ones you'll want to associate with later, as they'll be going places
Android with as little Google as possible, which is none if you're willing to go far enough. Nothing is also an option if you're extra dedicated.
Interactive Mathematic [pdf]
I say nay. I used to have my own full name domain and the respective email address but I eventually came to the conclusion it’s not worth. Sure, it might give you "ownership" and a tad bit credibility but I don't care about that. I tend to argue a domain is never fully yours. But otherwise, I like not being subscribed to things and not having to pay periodically for things so I went with Protonmail for my new, privacy-oriented email address. I’m in the midst of a year long pending wait till I delete my Google account entirely.
Energy and Power [pdf]
> Should I be worried that such a trivial thing has a name and a Wikipedia entry?

It has non-trivial advantages and drawbacks, which are interesting to document.
Matt Levine has a half-joking article on whether or not automated trading would one day provide the ultimate fulfillment of Marxism:

https://www.bloomberg.com/opinion/articles/2016-08-24/are-in...

If you believe that AI will get better at allocating capital over time, and that central planners are historically awful because of human flaws (from self-interest to lack of information)... then you might one day reasonably pine for self-driving economies.

Asimov slipped this general idea in some of his stories as well:

https://en.wikipedia.org/wiki/The_Evitable_Conflict

Even if you think this idea is completely silly (there's an argument it is), the Levine article is still highly recommended, primarily because he's not evangelizing so much as just toying with the idea. It's a fun read.
Actually this has zero academic value. The entire point is as a working programmer to compensate for ambiguous pitfalls in a language.

You don't need this specific trick in python (as others have pointed out, `5 < x < 10` works), but in general python holds to a similar philosophy of using standardized idioms to make reading code easier. It's called "being pythonic".
The poster children of the dotcom boom certainly were - pets.com, webvan, etoys.com (though I can't say with 100% certainty they were all specifically listed on NASDAQ).

It was the IPOs that drove the boom (and subsequent bust). Public investors falling over themselves wanting to get in on the "next big thing". Older generation companies were never going to deliver the kind of quick return multiples that characterized the boom (though as we saw, the enthusiasm certainly jacked up their share prices too, but by and large they managed to ride out the storm).
I agree that this is trivial. But I also write conditionals the way the author suggests. Mostly because that is the way you'd write it if this was math. You'd say 'For x between 5 and 10' and write '5 < x < 10'.
This. How often do I ever check if a number if within a range? Very rarely.

But checking if an index is not too high for an array, is something I do very frequently.
What if you wanted ‘if x>2 || x < -2’?
I've known a few "easy A from basketweaving" high GPA students. I wouldn't hire any of them, as they'll do as little as possible as employees. I'd much rather take an employee who got B's in the toughest classes.
I have a Nokia 6.1 (Android One) that I like. It does have a couple of quirks though (which show up every few days and disappear after a reboot).
The bigger problem here is that if you say...

Let's say that I want to check that something is between 5 and 10.

...you did not specify explicitly whether the ends are inclusive/exclusive, and IMHO that (and the off-by-one errors it causes) is far more important.

Related: I've more than once had to ask someone whether "I will be away from 23 to 27" was inclusive or exclusive for the 27, because e.g. "meeting from 10 to 11" usually is exclusive at the upper end.
Is this efficient? I was under the impression (which is likely inaccurate, because I'm no expert on Python) that range returned a generator or a list outright, making this an O(n) operation.
You're right, I totally misread the above.
It's not about citizen vs noncitizen, it's about the fact that I'm on a non-immigrant visa specifically.

People holding, eg., H1Bs would not be subject to this constraint as far as I know
Nothing holding anyone back except pesky things like paying rent and buying food.
React is a bit less hot today than it was a few weeks ago. What changed is that FireFox released support for Shadow DOM. Also Microsoft is moving to Chromium. Which means Shadow DOM is suddenly hot and technologies that don’t support Shadow DOM, including React, became a bit cold.
Deployments and containerization.
The article says 25% of Americans haven’t discussed any important matters with someone close to them in the last 6 months. Twenty five percent! That’s a huge number, much larger than the number of people in tech.
This seems strange. It's like you only want people who only sort of deviated from the requirements to graduate in some field - who don't commit to following their own path, but also don't commit to their studies. Why not just go all the way, and prefer students who took random classes for a decade to gain an education in the fields of their interest and had great experiences, yet never graduated? That seems like the continuation of the reasoning you are describing.

Also, if the core problem is students setting out to get a degree, then the system is fundamentally broken - after all, the unique differentiator of universities is the ability to award degrees.

FWIW, I think college is significantly overrated, but treating a high GPA as a red flag and yet seeking candidates with a degree seems contradictory to me.

For some context, my own experience was that I had offers for employment before university, but I decided a diploma would be valuable, so I spent 3 years in school to finish a 4 year degree with a "high GPA." That's a red flag?
Absolutely. The easily obvious purpose really means a lot (I want to make this Spleef arena automatically regenerate with Cobblestone [as quickly as possible] when X happens) to me.

Besides Redstone Minecraft also got me into Java (both by writing mods and something [Forge Mod Loader?] requiring recompilation of the jar), Lua through ComputerCraft and Sysadmining with Bukkit and PermissionsEx.

Of course it didn't only lay the foundation for my current, largely useful technical knowledge, but through playing on servers and participating in the administration (at 12) learned a lot of social skills I probably would've taken way longer to acquire otherwise.

Yeah, I like that this game exists.
I make new friends of all ages all the time. At church.

It does provide "proximity; repeated, unplanned interactions; and a setting that encourages people to let their guard down and confide in each other". And not by coincidence. One of the major goals of church is to help people form healthy and significant relationships (that is, friendships).
Not only is it typically not immediately vested for founders, but it's not totally uncommon for future rounds to "unvest" founders.

E.g. let's say you raise your A after 4 years, the terms of the round might require that you unvest 2 years so that the investors have you locked in for longer, to avoid the issue discussed in the original post.
> trying to please their teachers without really learning anything.

If they got an A without learning anything, they took courses taught by incompetents. That's not an indictment of schooling in general.
Clojure has a nice way of achieving

(5 < x && x < 10)
This is a nice way of expressing "x is between 5 and 10"
because it is literally between 5 and 10.

which is that the < function can take any number of arguments:

(< 5 x 10)

https://clojuredocs.org/clojure.core/%3C
I saw this, and I figured this was probably my best bet, but I was hoping to have an actual lawyer confirm. In any case, looks like I can get a lifetime hunting license from the state of Texas for about $1000 (+ whatever I have to do to actually get the license), and I'm pretty sure this solves my problem. Glad to hear someone else confirm this, at least
In certain branches of mathematics, it is routine to work with very long inequality chains. For example:

a < b <= c < d <= f <= g < h

You would then conclude that a < h holds.

I haven't looked at the article, but based on the comments it sounds like the author has this kind of thing in mind. I got the vibe that he was arguing that you shouldn't mix < with >, not that he was arguing that comparisons should only ever be made low-to-high.
> It's hard to strike up a micro-conversation.

This really varies a lot. In urban areas where few people are "from there", you'll find chatting with strangers happens less often.

In small towns and neighborhoods full of locals, it happens a lot more.
It's already collapsing in the SF Bay Area. "PRICE REDUCED" signs are appearing. The bubble is popping. One real estate investor and one Realtor I know admit that prices have been dropping for most of 2018.
Lots of people that started out in game modding end up doing some really cool stuff in other software fields too. The skill and motivation are transferable, I suppose.
Exactly. Good luck explaining to your investors for the next 10-15 years why 50% of the company's value is not accessible to you, them, your employees, or one day the public markets.
Type designers are not faceless corporations. They are mostly individual designers who invest incredible amounts of time and energy into what they make.
For most of the 20th century, parts of Minneapolis and surrounding areas had racially restrictive deed covenants which prevented the sale or rental of property to people of color. So, those neighborhoods they were trying to save may have a legacy of structural racism.

Examples and interactive map here: https://www.mappingprejudice.org/
By convention, math is always left to right regardless of the direction of the script it's in, so presumably the operators do the same.
The article was about programming style. You write about team meetings. There is a disconnect.
I agree with you, and, it's the people who checked licensed fonts into open source repositories who are really enabling piracy.

I am surprised that font foundries aren't already requesting take downs.
That's not exactly a challenge for the syntax...

if-not x[-2,2]

Just like you'd write x ∉ [-2,2] with pen and paper.
Thank you, and WOW. I had been on the fence about using a gmail account to register for accounts elsewhere, based on their assurances that they'd stop scanning emails. I've got app and album purchases from the Apple store listed here, as well as Amazon purchases and local delivery pizza orders.
Ten+ years ago, we derided Microsoft for having a dominant position by bundling IE on the Windows desktop, and the resultant 'This site is best viewed in IE' banners all over the web. As Chrome/Google are now in the same position, are we now heading for a resurrection of these banners that say 'This site best viewed in Chrome' ?

A monopoly on anything is rarely a good thing.
> Building a house doesn't cause a flood plain to flood (hopefully!), but adding lots of guns to a country sounds like it should have an effect on the number of revolutions, be it up or down.

As someone who lived in Houston during Harvey, you're dead wrong. Near where I lived used to be fields which soaked up water. Now it's concrete, which doesn't. You can tell the difference during heavy rains.
They're higher quality because they're curated.

It's possible that the average submission is better than the average internet comment due to the level of effort required. Or perhaps some of it is due to the fact that the printed letters are archived for posterity.

But regardless, the average letter is not printed. There is only room for a select few.
> Why are governments bringing in authoritarian measures all the time?

Because we collectively ask them to. You can't ask them to do a bunch of things you might not consider authoritarian (though others might) and then be surprised when they finally reach your definition of authoritarian. That differing levels of "authoritarian" exists is important to remember when you cheer on extreme government oversight/invasiveness just because you agree with the cause at that time. It's hard to know you've given them a mandate until it's too late. You should disagree with unnecessary government intervention even if you agree w/ the intent, and only accept it as a measure of last resort instead of the increasingly default solution many look towards these days.
I did both and it was certainly pretty easy to open up the Minecraft jar and change what mobs spawn in which biomes or how far a ghast fires its fire balls.

But I was already on Linux then.
No technology becomes more/less hot in a period of a couple weeks, not even JS frameworks.
Not parent, but I would write

x)-2,2(

or

x![-2,2]
Oh. Hello Windows lock-in.
Hasn't this been possible for ages? Like 6 years ago I tried writing a basic Minecraft mod before I knew programming.
Many parts of this article are so disingenuous. There's a smartphone decline coming, but it's not here yet, and this article is a premature declaration that can't substantiate itself. It starts by talking about a "smartphone decline", then discreetly transitions to a smartphone sales decline — of only -0.3%. And this decline can be explained by, as the article puts it: "there’s no doubt that the replacement cycle for phones is elongating".

> If you bought a new iPhone 3G in 2008, and then a new iPhone 4 in 2010, you were buying markedly different machines. [...] If you bought an iPhone 6 in 2014 and then an iPhone 7 in 2016, that expected improvement was much harder to mark (except, perhaps for that fact the the iPhone 7 didn’t have a 3.5mm headphone jack).

Yeah? What if you shifted the years 2014/2016 to 2015/2017. Suddenly you're comparing an iPhone 6s to an iPhone X. Arguably an even bigger leap than iPhone 3G to iPhone 4.
I could care less about concerns about monoculture in web browsers. The web is now dominated by a open source browser that works across many platforms. That's a dream come true.

I'm more concerned about where the internet as a whole is heading. All the privacy violations and censorship that's going around makes me want to find an alternative or maybe become a hermit.
Yeah, I think the article has a point for complex/chained expressions.

But if the way you think about the domain is "if x is larger than LIMIT..." you should write it `if (x > LIMIT)`!
Oh, just after it was announced obsolete?
To this degree I definitely agree with you: NextDoor is unbearable. The internet has trained everyone, and they carry that into their micro-local communities. Early days had a qualification element.
But by far the best option is to not have a meeting at all and to not care about things like this.

Indeed. This article reads like someone who doesn't understand inequalities, and proposes a quite possibly hazardous shortcut to it instead. To not understand such basic maths is baffling (this is primary-school stuff), and I wonder at the state of maths education these days to see adults struggling with these concepts.

I have never in over 3 decades of programming ever had to ask myself the question of how to write conditional expressions --- it's something that comes naturally, and in this specific case I would also write it with the variables on the left.
I wonder whether the landscape looks different today, with Oracle's Graal efforts.
America’s New Religions
This doesn't work for me:

$ swift
Welcome to Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1). Type :help for assistance.
1> let x = 3
x: Int = 3
2> if x in 2...4 {}
error: repl.swift:2:6: error: expected '{' after 'if' condition
if x in 2...4 {}
^

Are you sure you didn't mean to use if case?

if case 2...4 = x
That's already happening. Not with banners, but notes. I could imagine them becoming more obtrusive in the future.
Ruby usually has the most expressive way to write anything!

(and 7 other ways)
I suppose the language has neither array subscripting nor function calls? Or did you decide to invent other creative syntax for those?
Yup, I always, always, always simply check for domain availability via pinging the TLD’s registry directly using the whois command in my terminal. I’ve been burned like this before by checking on another registrar (I forget which so don’t want to make accusations) and not getting past the checkout process like OP. And with the whois command you don’t need to worry whether the registrar you’re using to search sells the TLD you’re looking for or not, which is a nice plus.

There’s absolutely no reason to ask a third party domain registrar whether a domain already exists. People need to spread the word more!
But what would you deny? All .gov.au? All .au? Maybe a BGP suitable leak? Whatever, it wouldn't last.
http://4.bp.blogspot.com/-vglPHDBuUgI/VsniES7XnKI/AAAAAAAAD9...

The number line representation is incorrect. (5 < x && x < 10) represents x has possible values of 6,7,8,9 (assuming x is int), whereas the number line shows that 5 and 10 are inclusive, but that's not the case as per the provided example.
I don't understand why Yann LeCun and other ML bigwigs find this controversial

The problem is not with the idea of combining symbolic AI and DL, it's with people like Marcus who seem to be all talk, without any results to show. He's been talking about this for a while now, I think it's time for a demo.
Don't know about calculus, but my college had two tracks for physics, and the more advanced track was actually easier because it was based on derivations rather than memorized formulas.
> This article reads like someone who doesn't understand inequalities, and proposes a quite possibly hazardous shortcut to it instead.

This is how I usually write inequalities. Have you considered that possibly the author and I understand how they work and would like a consistent way of formatting them to save time while reading them?
Please tell my landlord this.
Huh? React does support Shadow DOM and other Web Components APIs [0]. You can use Web Components in React components just fine.

[0] https://reactjs.org/docs/web-components.html
Maybe because the young people are facing a higher housing prices, and they don't believe that it could raise for the same amount in the future.
Yeah, I was wrong. I updated my comment. I think I just meant to check if a range contains a value, as I changed it to.
> It’s not about being babysat, it’s about downside protection for VCs

It's about being babysat as downside protection for VCs.
Because all of the author's number line representations are consistent, I think you can consider them placing an implicit "open circle" on the bounds of all those ranges on the number line.
To be clear, my point is not that a math-centric style is bad. My point is that 95% of the time it doesn't matter.

If you were working with me on a project, unless I had solid evidence that conditional styles were causing bugs, your style might warrant one curious comment on a single code review, but nothing else.

If it became obvious that it was causing bugs, we'd standardize on whatever the majority of people in the office already used, even if that was:

``if(10 > x && 5 < x)``
Apple stores' carefully managed drama