skysight-inc/HackerNews huggingface dataset:
Thanks for your reply. Yes, I'm building a game/simulation so I don't need a "native" UI. I've played with QML a bit and it's very nice to work with. I've also discovered that PyQt5 can be deployed to mobile so the combination of PyQt and QML might be the best of all worlds for me (I love Python).

Based on your reply it looks like LiveCode doesn't provide a productivity advantage over Qt/QML. What was a pain in the ass about LiveCode/RunRev?
This post seems somewhat strawman-ish to try and sell the author's language.

No one has ever argued that the reason for nulls being a problem is because the idea of 'nothing' isn't valid; the argument has always been that they are completely invisible to the client function; that is, if you tell me functionA returns a string, I don't know if it -always- returns a string, or if it might also return a null. And you as the writer of functionA might not even know, if you're dependent on still other functions whose contracts are also ambiguous.

To that end, to fix it, a type system to make the implicit null explicit, has always been the necessary answer. It -is- in fact what Option/Maybe/etc are intended to do, and provided they're used in a language that has a sufficiently robust type system, and that the language checks for non-exhaustive patterns in case matches (or similar), are still 100% effective.

All of this author's issues with an Option type are explicitly with Java's implementation of it, a fact he himself notes.

When he's able to show why his language provides better null protection than Haskell or Ocaml or something, I'll be interested. But as it stands, it sounds like he's just making an Option type that is a keyword in the language ("nullable a" rather than simply "a"), rather than a natural extension of the type system (Maybe a = Nothing | Just a).

EDIT: This is especially galling as he's clearly aware of at least Haskell (he mentions that Haskell has the Maybe type), but then dismisses Option/Maybe at large for the reasons he dismisses Java, despite none of the arguments used against Java applying.

Were the author to rewrite this, detailing the basic problem of null being that of no contractual check for it (rather than a strawman of there being no reason to have an 'empty' value), were to rewrite the Option/Maybe bit to show he understands it works fine so long as the language literally does not allow null, except as the Nothing part of the Optional/Maybe type, and instead sell PPL as being an imperative (so no need to drink the functional koolaid), simply typed (no ADTs, no covariant/contravariant OOness) language that has the same no NPE guarantees as Haskell or similar (using effectively the same mechanism; that nulls can only exist when the function contract explicitly declares them as a possibility, and that any consumer of the function must have a code branch to check for it and handle it in some way), it would actually be somewhat interesting; I could see a language like that making headway on the JVM, as it basically would come across "As simple as Java, without the NPEs", which would be a pretty easy sell.
So you're the type to not care about historical or cultural connections between countries. I understand that.

But I have there a multi-pronged argument. Please address the other issues if you actually want a serious response. My post wasn't very long, and its such a shame that you were only able to read a subset of it.
What was your "analysis" and how is it "very dangerous"?
Maybe those HITs were posted by other people, recently?
I think there's a big difference between language issues (which are routinely being worked on) and community questions like the pipes libraries and cabal.

Probably the two biggest problems, both of which are currently being worked on, is a solution to true modules/modular dependencies (which is highly beneficial to fixing the community problem of cabal hell) and a solution to the "record problem" which is probably going to come in a new GHC extension which automatically allows for structural subtyping on public records via row types.
I wish I had this when I was buying my last laptop! I ended up with a ThinkPad x131e which is a bit on the heavy side but satisfied most of my other needs.

Some minor suggestions:

* Allow selection of operating system/platform. This will let people weed out, for example, Chromebooks if they know that ChromeOS is unsuitable for them. For Mac/Windows, the manufacturer filter already does this.

* Show Linux compatibility. Ubuntu has a compatibility list and the other big distros probably do as well. This would have to be advisory only though since one model might come in a few different configurations.

* Other filters: Touch/non-touch, convertible to tablet, detachable keyboard, etc.

I'm also surprised to not see Microsoft in the manufacturer dropdown. The Surface tablets (with keyboard cover) look like a very interesting laptop-like option.
sigh

Here's the thing. You said "vote manipulation is cheating the site."

Is it in the same family? Yes. No one's arguing that.

As someone who is a scientist who studies web forums, I am telling you, specifically, in science, no one calls multi-voting cheating. If you want to be "specific" like you said, then you shouldn't either. They're not the same thing.

If you're saying "vote manipulation family" you're referring to the taxonomic grouping of votidae, which includes things from posting quality original content to asking strangers for upvotes to running vote-bots through proxies. So your reasoning for calling multi-voting cheating is because random people "call the unusual votes cheating?" Let's get copypasta and image macros in there, then, too. Also, calling someone a human or an ape? It's not one or the other, that's not how taxonomy works. They're both. A bot-vote is a bot-vote and a type of vote manipulation. But that's not what you said. You said vote manipulation is cheating, which is not true unless you're okay with calling all members of the vote manipulation family cheating, which means you'd call good posting, bad posting, and copypasta cheating, too. Which you said you don't. It's okay to just admit you're wrong, you know?
Ranked by upvotes from users who signed up in the first year. It was made as a counter argument to the idea that the site was declining in quality.
Mysterious Ship Found 20 Feet Below World Trade Center Is From the 1700s
Can Google Build A Typeface To Support Every Written Language?
Data Mining and Analysis
Either that or, as the other reply points out, the search function uses the same kind of list of stop words as any other general search.
Someone did manage to appeal because they'd incorrectly painted the markings too close together. You have to check everything ! :D
I think this is pretty intentionally avoided most of the time since it clutters up the continuation-passing semantics of the code... With `return` you have a much more complex base language. Especially since you can achieve it using monads.
> Designing dosages and appropriate guidance and packaging to avoid accidental misuse isn't exactly rocket surgery.

Sorry, I could not let this pass. "rocket surgery"? That's a new one!
Among the 20 most popular programming languages listed at the Tiobe index (Basic, C, C++, C#, Java, JavaScript, Lisp, Objective-C, Perl, PHP, Python, Ruby and more) none of them has null-safety built-in.

Juste some nuances for Objective-C: in Objective-C, it's perfectly valid to send any message to nil. For instance:

id someObject = nil;
[someObject setVisible:YES];

Is a valid code. I really appreciate this language feature, and avoid you a lot of boilerplate test. The problem is that nil as a parameter of a function (selector in Objective-C world) can trigger exception:

id someObject = nil;
[myArray addObject:someObject];

will trigger an exception.
Are there any good tools/guides for evaluating a websites / apps accessibility?

I'm a developer but do not ever focus on accessibility because nobody has brought it to my attention, not a single bug report or conversation from management.
I live in Barcelona, and the police here intimidate me way more than any "thugs". The police are nasty, unaccountable state sponsored thugs.
Yup. It's mostly a mental hint to the programmer that "HEY this thingie could be null!".
What was supposed to be at that link? Could you take a screenshot?
"Culturally and historically, the state of Israel was established by the Allies post WW2." Is demonstrably not true. A substantial amount of immigration was the product of the late 19th century Zionist movement. Ever hear of the Balfour declaration?

If Israel is ever in danger of being destroyed, they will undoubtedly use their Sampson option, and probably just nuke the rest of the Middle East (possibly some of Europe as well, and undoubtedly Mecca and Medina). That's not the kind of Western values I support.
As much as I hate that sceintific papers don't give good introductions to the public, specialists do have their values. An educated, intelligent reader has limits when it comes to frontline research. It is like asking someone flying a 787 jetliner without touching an airplane before. Prior knowledge and experience are important.

What I absolutely reject is false exclusivity that some scientists hide behind. A professional statistician can spot statistical errors even if he or she never did any cancer study before. A rational person can discern the trustworth of a scientific report if enough details and background are well explained. I always find that popular press lacks a degree of healthy comptempt for specialists. It actually has improved somewhat recently. Still sometimes newspaper reports read like press release.
A style I sometimes see is people not indenting the normal code path of the match. So your example above would be written:

match user with
| None -> printf "you need to specify a user\n"; None
| Some user_id when not (permitted user_id) ->
printf "this user is not permitted\n"; None
| Some user_id ->
// go ahead and return Some object
Fortunately for businesses that existed those last 5000 - 15 years, copying a document wasn't free. Information couldn't be mass produced at a scale that renders the notion of supply meaningless.

Businesses now have to compete with open source or decentralized services that cut them out. When money enters the equation, people immediately start shopping, they start asking "Is this an expense that is necessary?"

That plus the amount of uncertainty john q public has on transmitting money online (a reticence I share to be honest), makes paying small fees a large barrier to entry.

Besides, if I've learned anything, I've learned that just because you paid a company money, doesn't mean they won't turn around and sell you up the river. The barriers of trust for a service that's free and non-free are exactly the same.
This is essentially how it is in Haskell, Scala, Swift, etc.
The economic impact of Republican vs. Democratic presidents
My gripe with that is that fail-silent scenarios can lead to some very nasty hard-to-find bugs. I've been bitten by it on several occasions.

Fail fast and with lots of explosions, is the way to go for me.
Tools like these show us what's possible (actually, as Collberg points out, this particular tool is more like training for learning what's possible; the frontier of this approach to software protection is way past it). This is science. It is weird to object to it. Should we instead pretend that it's not possible to effectively obfuscate code?
Am I the only one that thinks voice interfaces are a scourge on technology? Leave them to science fiction. It's already bad enough with people walking around with their bluetooth headsets chatting away looking literally insane. But call me a luddite.
The system up/down replaced two worse system, being "they who post most get seen the most" and "moderators do and decide everything".

What ever system that will replace up/down voting has to do better than the ones it will replace.
Could it be because high oil-prices are more likely under presidents with close ties to the oil-industry? And technological progress is more likely under presidents who think government should facilitate it, by supporting science and education?
Istanbul, of course, used to be Constantinople, but a long time gone is about 1930:
http://chronicle.nytlabs.com/?keyword=istanbul.constantinopl...
Thanks! I really appreciate it! :D
If it's anything like Kindle Direct Publishing, you eventually see the money, even if it doesn't hit the payout limit. I vanity-published an eBook and it surprisingly sold two copies in the UK. It took three or four months, but I eventually got the royalty payment for them, something like $0.70.
Does anybody have experience getting freelancing gigs in Japan? What does the supply/demand look like? Any ideas for finding prospects?
Buckfast Tonic Wine. Are you a Weegie?

Yeah, getting intimidated by neds was part of my growing up. You learn how to show them enough respect not to annoy them, without looking wimpish enough for you to be an easy target.

Some people must have proper sheltered lives.
Agreed completely. I like smallish-sized paperbacks. They are light, easily carried, readable without power and in many lighting conditions, and I tend not to care so much if they get stolen. Even when I consider weight, the trip length, and things like that, I still would want a couple of physical books.
I think it's just easy to plot...
Its an urban thing. Personal experience:

Urban city: Car accident. No personal injury? Other guy isn't drunk? Just drive away and if your insurance needs a report, visit the cops within the next week or so. They don't respond for robbery / burglary at all although again you can go to the station to make a report if insurance requires. Another incident, someone unsuccessfully tried to break into your car and damaged it, eh, whatever, its your fault for being a victim, you must have done something wrong.

Transitional office park: Car accident. "You will drive yourself to the station immediately and make a report, or we will go out and get you, and I assure you that you do not want us to go get you and bring you in"

Suburb: Minor car accident, neighbor boy learning to drive and wife's friend's car parked in the wrong place at the wrong time. Dispatched a unit, took photographs and wrote report, etc.

There's a big difference in attitude toward crime between urban and suburban living that goes way beyond car ownership or mass transit. Urban areas are downright dangerous and neither the cops nor the other residents care.
Your goal should always be to have a successful startup. Even if you get into YC, it's no guarantee of success by far.

The reason why YC wants co-founders is that in the space of everyone that is a single founder, proportionally very little of them can actually do it alone. Compared to teams with two people.

Being able to convince someone else to work with you on a crazy idea is a proxy that there's some merit to the idea.
Not really. Haskell and Scala use Maybe/Option, which are monads enabling the composition of operations, even in the absence of values. This leads to a more powerful abstraction (composition) at the expense of heavier syntax and the necessity of libraries that are monad aware.

Ceylon's approach is more of a middle ground with limited composability but straightforward syntax and a much simpler type system.
A Vim addict: My Intellij/Vim hybrid keymap
Not with a good type system, i.e. a type system which supports algebraic types (or equivalent) and which explicitly disallows null. With such a type system you wouldn't be able to write the second example as is since string interpolation/concatenation wouldn't be defined for option<string>, only string. You would write something like:

const option<string> maybeEmail = ....

case maybeEmail of
Some email -> system.out.write_line("....{{email}}")
None -> system.out.write_line("Alice doesn't have an email address.")

The thing to notice here is that we're accessing "email" and not "maybeEmail" in the Some case. This guarantees that we cannot get a null value (since the possibility has been eliminated by the case match).

This simple example doesn't do it justice, however. The real benefit comes when you have functions taking option<X> vs. X arguments and/or returning option<X> vs. X. If you get a plain X (either as a return value or parameter) you know that it cannot be null. No such luck in a language which permits "null" as a value for all (reference) values.

Of course algebraic data types go much further than just this. I'd encourage you to look into them in e.g. Haskell or some variant of ML.
It doesn't even need syntax support, if you are comfortable with higher order functions. Java's approach of forcing the same "check, use" pattern on you makes their Optional only a modest gain. Compare with Haskell's maybe function:

maybe :: b -> (a -> b) -> Maybe a -> b

You provide a default result, a function from the value (if it's there) to that result type, and the optional value. There is no way to use this wrong - you can't forget to check because there is no check.

Edited to add: Apparently Java does hand you the tools to do it right, if a little ugly, using ifPresent and a purpose-built Consumer. My Java is rusty, but I'll try and put an example together in a bit.
>> I shrugged, walked to the next wagon and called the police. I gave up when I realised they weren't interested in hearing which subway line I was on and what time, so they could meet up with it.

Your other option is the police in the USA - <insert overreacting in some way while investigating the alleged criminal>
Although ‘banlieue’ = ‘suburb’ literally, the analogous word in American media is ‘urban’.

For the SV crowd, Paris = San Francisco, banlieue = Oakland.
> and avoid you a lot of boilerplate test.

You call it boilerplate testing, I call it error checking.

Of course code becomes much simpler once you stop checking for error conditions, but it's still a terrible idea to do so (and I think Objective C silently accepting to send messages to nil is a never ending source for hard to find bugs)
I'm a black person from Paris,raised in the banlieue but I dont live in France anymore,except for the holidays to see my family.

I think that things are so polarized in France.It's to late to fix anything.

I have a big issue with cops. They clearly dont control anything anymore so all they end up doing is bothering passersby. They are just useless.No body respect them,so in return they dont respect people either. Ever filed a complain in a police station? you are treated just like a criminal,they cant even tell the different between victims and criminals anymore.

Now is there a "racial" factor? I there is definetly an cultural or ethnic factor. If all immigrants from africa were educated doctors or engineers,things would be different, I guess. White people always point at the chinese for an exemple of "successfull" immigration. At the same time let's not forget who made them come here and why, obviously africans were ready to accept any job for a very low pay.But now their youth are not ready to accept the same living conditions.

Given my experience,as an african, I know there is a strong sense of tribalism and little sense of community or "public good" amongst africans.You own stuff or you dont,there is no "let's share that stuff for the greater good".I think that's something quite important to understand when trying to analyse the situation.

There is of course racism ,white people cant deny that,most white people would prefer giving a job or an appartment to a white person when they are in a position to decide.Ironically black people in the same position would do the same,given how much they distrust their own kind.

I guess the only people that can change things are african immigrant themself.Isolate the "bad" ones and try to work on a better image,better role models,etc... when the only role models of a generation are rappers with stupid lyrics like Booba or Rohff ,it cannot make things better.

But again there is very little sense of community amongst african immigrants,the "community" often is limited to the family.
Clever, and I'd definitely refer friends to this when they ask me what computer to get. A couple suggestions:

Re: OS choices -- iOS is for mobile devices (phones and tablets). Laptops run Mac OS X.

I find the display of the suggestions unhelpful. I care a lot more about how much actual drive space the computer has than what percentile it falls into. Also, for most people price is a huge factor, so displaying the price of each laptop would help a lot.
I think PPL's nullable semantics are the best solution to the null problems. It makes it clear when you actually need to check for null.
It needs a 1080p phone too.
C12.22 is DES-CBC with CRC-16 used as integrity checks. :)
There's nothing convenient about corrective lenses, especially if you are far-sighted or need bifocals and are driving. This is also why the portion of the video that mentioned the GPS also mentioned the speedometer.

However, until it is universally installed in cars and easily adjusted for your personal needs when moving from car to car, I doubt many people will be throwing away their bi/tri-focals in favor of lenses for distance only.
I'd argue that most of those stats are very subjective.

There would also be impacts on some by making others legal, people only do a majority of those drugs because the others are illegal and inaccessable. Who would do Butane if they could smoke marijuana or take LSD or mushrooms?

Environmental damage? Economic cost? Crime? Family relationships? How could those be established? They did a survey at a 1-day workshop, this chart has zero scientific significance, it's purely averaged opinions from a survey.
Type systems that incorporate "nullables" allow programmers to have the concept of "nothing was returned" but force them to check it whenever they test for data. Otherwise their programs don't compile (see the Maybe monad in Haskell). In a serious post about null, how could such a serious point be missed?

For example, in Haskell:

case objectMaybe of
Just object -> do
(your code that deals with `object` here)
Nothing -> do
(your code that deals with no object)

Without the Nothing clause in the matching statement, this code will not compile.
The remaining mystery is why someone's undergraduate-homework-level mistake got voted to the front page.
Do Not Use Amazon Linux
Very well done. The UI is lacking a bit of contrast, though, especially the "light" variant.
Yeah, Vistula riverbanks are pretty safe nowadays as they've become Warsaw's 24/7 party boulevard.

About the police, as far as I remember, somewhere around 2003-2004 there was this huge push to keep uniformed policemen on the corners.