skysight-inc/HackerNews huggingface dataset:
The biggest grievances stem from PHP wanting to please you and convert things from one type to another even when it really, really shouldn't. Adding variadics in 5.6, return and scalar types in PHP 7 tunes down this sort of crazy. Not fully, though. String comparison is still broken -- use strcmp() and be happy. Using anything else is dark and full of terrors. Well, at least it's not transitive https://3v4l.org/goSYX

Further, avoid == completely, pass the strict argument to functions that do comparison like in_array(). You don't want https://3v4l.org/mcpi7 to happen. You want https://3v4l.org/Yo6tI instead.

Your functions in 7.1 finally can typehint for iterable (array or Traversable object) although the array_* functions still only accept arrays. There are nice little libraries papering that over and installing libraries is easier thanks to composer.

PhpStorm gives you a fantastic IDE. The language is still ridiculously easy to deploy thanks to a zero share model.

Basically: most of the landmines can be cordoned off with putting declare(strict_types=1) on top of your files or bridged over by libraries like nikic/iter. A few are left but they are easy to avoid.
Planned communities that allow people to live with less effort and don't put arbitrary restrictions on them.

And homeless push out the people who could be expanding their minds and imagination, trying to improve themselves and society.

They sit there, charge their cell phones, watch youtube, sleep and shower.

No, I don't think education helps. Technology should reduce the cost of living. We need better systems and societies where paying rent shouldn't require 20+ hours of work a week.
Google apparently helps check this one out.

http://blogs.transparent.com/spanish/the-meaning-of-ahorita/

http://gringationcancun.com/2011/07/06/how-to-speak-like-a-m...
In America, if you asked when something is being restocked, no one is going to say "in a second" or even "in a bit" when they really mean in 5 hours.
PGAdmin 4 is one of the worst software releases I have ever experienced. Version 3 worked fine, but everything was destroyed with 4. So many things not working, UI bugs, and you have to click multiple times to get to the same point as you could in one click in 3.
In my experience, if you're hearing "ahorita" a lot, you probably ought to chill.
Have you tried to get to the bottom of a large result set yet? Rediculous. I feel your pain. Postgres is the equal of so many enterprise databases but pgadmin not so much.

If we could just get Postage named PGAdmin5 we'd really be in a good spot.
ESCORTS ALINA – Athens Escorts Babes
You can install electron globally but if you package your app to target electron prebuilt you'd have to require the use to have installed both it and nodejs already.

It's not completely bonkers. It could be possible to make a web installer that checks for node and electron and downloads them if necessary. Nobody seems to do that though. Every electron app bundles electron. At least every one I've seen
I enjoyed the article and I think that someone who's going to travel to Mexico and don't know anything about the country might find this article useful.
tl;dr (one sentence taken from the post):

“When a Mexican says ‘ahorita’, it could mean tomorrow, in an hour, within five years or never.”
An org chart, a flow chart, double pie chart and a mind map that all happens to be merged in the shape of a (poorly designed, probably dysfunctional) bicycle is quite the feat!
Long time PHP dev here. Note: These are my personal observation and opinion.

The usage you see are mostly from people already invested in PHP. However, I'm starting to see fewer new PHP devs. Some of the talented devs I know of have migrated to other "cool" languages. There are fewer PHP jobs than they use to be. I also observed less activity in PHP related subreddits. Its position as the #1 web server language has already been taken over by nodejs, and the remaining chunk eaten by Go, Python, C# (as ms tech goes open-source) and other languages. I dont see PHP going away anytime soon, but I dont see it gaining more users over time.
I never considered Scala a better Java. Scala was attempting to be a better language on the JVM, but you'd have to be tripping on something seriously heavy to think Scala even remotely resembles Java. Scala was basically the unholy love child of OCaml, and Haskell, with a tiny sprinkle of Java on top to make it play nicer on the JVM. I had high hopes for Scala, I'm a huge fan of Haskell, but I just couldn't bring myself to like Scala, it's an ugly language that ruins everything good in Haskell by polluting it with OO.

Kotlin on the other hand, really is a better Java. If you take Java, remove all the biggest day to day headaches, change around the defaults to be sane (I.E. the default is what you want 90% of the time, instead of the other way around), and add in some functional inspired helpers, you basically arrive at Kotlin. The delegate system, the way they finally got rid of the need to make pointless getters and setters on the off chance you might some day want them and not want to refactor your entire codebase, making classes and methods public by default since that's what you want almost always, and making types non-nullable by default are all MAJOR improvements over Java, but not something completely alien to the Java way of doing things.
Just like when an English speaker says "soon" then.
Twitter is different from facebook.Snap is not and will never be a facebook alternative(vice versa).Because social network is not just client software but relationships.You can easily replace facebook/whatsapp with snapchat or whatever you like,but how do you persuade your friends and relatives to do that?If none of your friends use the alternatives,you have to reuse facebook.
If you want to hear a little more on this, and other aspects of the porn industry, and the effect that PornHub has had, then check out The Butterfly Effect podcast by Jon Ronson, the journalist who wrote this article. It's free to Audible subscribers at the moment. http://www.jonronson.com/butterfly.html
2 fun things I learned.

1. In kirundi (a common language in Burundi) there is one word for both yesterday and tomorrow. They don't confuse the meaning because of the context of the sentence. But when my friend speaking Kirundi spoke french with me on the phone, he often interchanged the two... I never knew if he would visit the next day or had already visited me.

http://amajambo.ijuru.com/?q=yesterday&lang=en&start=0
http://amajambo.ijuru.com/?q=tomorrow&lang=en&start=0

2. In swahili (at least in Tanzania), time is told inversly. Think of a circular clock where the 12 o'clock is 6 o'clock, 3 o'clock is 9 o'clock. 9 o'clock is 3 o'clock. Yes it was very confusing to me, but you can get used to anything.
Yes, 36 bits or even more I would think.

It seems like they are suggesting that it's feasible to make fiber optics which transmit a picture with extremely low distortion. So a single fiber could carry an optical image instead of a serial bit stream while maintaining nearly perfect clarity.

So you could potentially encode a lot of data (I would think a lot more than 36 bits) into a 2D pattern (like a QR code, essentially) which would enable the transfer of large blocks of data in each frame of visual information.

Of course encoding & decoding the data would incur some overhead...
Another problem is his position/denial of the Cambodian genocide by Khmer Rouge.
What does Chomsky nowadays say on this matter? Does he acknowledge that his judgement was wrong? https://en.m.wikipedia.org/wiki/Cambodian_genocide_denial
That's a piss-poor, chicken-little, false-equivalency fallacy. There's little in way of accountability or personally-identifiable tracking. GPS trackers with batteries are $25 in volume, minus data plan, and epoxy those suckers into the frame. Track the bikes, not people, and recover them before batteries die, if they haven't moved or get dumped in a weird place.
You can't do the stuff described at this site universally on any cloud due to various technical restrictions. There's certainly no standard way to do it. I even found it to be problematic on the cloud for which it was intended - Rackspace.

HOWEVER - there IS a way to boot anything at all you want on any cloud.

It's a little bit tricky.

The solution depends on the fact that EVERY cloud runs just about exactly the same version of Ubuntu. And every cloud provides a way to run Ubuntu with a boot script. What this means is in effect that every cloud has a highly standardised boot process.

So what you do, is boot Ubuntu with a script that drops the operating system, formats the hard disk and installs a new OS, i.e. a Unikernel, Alpine Linux, TinyCore Linux, Windows even, whatever you want.

I built Bootrino around this concept (see the other message in this thread about Bootrino). Bootrino is essentially a front end that boots an instance, passes in a boot script that it gets from your web server, the boot script does the job of dropping the OS, reformatting and then reconfiguring it to be whatever you want. It pulls in the OS files from any URL so it's super flexible. True net boot for the cloud.

Sounds a bit odd but it is highly reliable and works very nicely. I got a whole nunch of stuff running including Unikernels, Alpine Linux, TinyCore Linux and a few even more tiny exotic operating systems.

There's some real challenges to do with the differing ways that the clouds implement networking but I worked all that out with only just enough pain to make me tear out my eyes.
Apparently boot.kernel.org is no more. Does anyone know what happened?
That's an interesting example, because I really want a Quicken alternative, but I didn't go with Moneydance in part because of the Java requirement. I don't want to be constantly patching yet another insecure runtime. Bundling Java with the app is better from a usability perspective, but then I can't be sure if they're keeping it patched, and it's still a non-native & bloated experience.

I value cross-platform too, and there are lots of native apps that manage that without Electron or Java. From my toolkit I can see Sublime Edit (of course), also Photoshop, Affinity Photo, Renoise, Melodyne, iZotope RX, Tower, Beyond Compare, Postbox, VLC. Also tons of audio VST effects plugins.

When I make native cross-platform desktop apps, I usually lean towards Xojo (aka REALbasic), which also has Linux support. And for my cross-platform Photoshop plug-in effects, the Windows versions are in C / Win32 while the Mac version is a C++/Obj-C framework I made to let me use the same code on both Windows & Mac without changes.
Earlier today I looked up that the fastest 74-series are the TI 74AUC line.

Add some nixie tubes, and you have a steampunk wet dream.

Find ye parts:

http://octopart.com
http://findchips.com
Show HN: DNS spy, monitoring for a more robust DNS setup
Ah, ahorita, I know it well. (I'm an American living in the Mexico) When I hear this, I always assume it means never. Depends on the context of course.

In Mexico, they kind of don't ever say the word no. They would rather say: ahorita, maybe, possibly, etc. For example, they will often say, "Thank you" instead of no thank you. It can be frustrating at times, as I'm a direct gringo.
There's a little known Microsoft framework that allows html and JavaScript to be compiled into an exe using ie, but its so obscure I couldn't find it after five minutes of googling. And obviously it's not cross platform.
Gender Equality in tech: words are not enough
So what did the ice cream guy mean by "ahoriiiita"?
Looks great!
This is another option I've been using which I can suggest. https://github.com/web-pal/DBGlass

Also based on Electron
Anecdotally my experience is that for every one really good developer there's about 25 or 30 mediocre ones, and 5 or so really terrible ones. This is based mostly around what I've seen conducting interviews in my area. That is also highly variable, I did some interviews for another office (in another country) and saw ratios more like for every three good developers there were two mediocre ones, and no terrible ones. Maybe we just had a much better recruiter feeding us candidates in the other country, or maybe they just have exceptional programmers living there.
The HomePod firmware gives us more clues: No third-party apps
My employer has zero problem with me reading about porn at work, but looking at it is a different matter entirely.
OK, so in Spanish, "ahorita" means "right now". In Mexican Spanish, it means more like "We're friends, so I hope that it'll be soon. But then we're friends, so I don't expect that you'll give me a hard time if it's not soon."
Sell it if not a URL shortner service.
Under a Tree
An Apple Falls
How does it branch
Over the Wedges
Down on the slopes
Of a Sombrero
Fermions Abound
Bosons beget Bosons
In a sombrero
Under a tree
SIESTA
Also undergraduate mid 1970s (Exeter Uni Applied Physics)

> (c.f. slide 3 in OA): "Coffee batch". Put your cards in with a job card.

Ha, I usually had to submit Fortran jobs one day and collect the results the next. And the results were often something along the lines of "Error in job control card 2".

I switched to time sharing Basic for that reason and sat all day in the teletype room using miles of 8 channel tape.
Probably licensing + pricing.
uhm more like "soonish" maybe? oh those Anglos and their confusing way to express time...
We do not pretend to know where the truth lies amidst these sharply conflicting assessments; rather, we again want to emphasize some crucial points. What filters through to the American public is a seriously distorted version of the evidence available, emphasizing alleged Khmer Rouge atrocities and downplaying or ignoring the crucial U.S. role, direct and indirect, in the torment that Cambodia has suffered

That sounds pretty balanced to me.
in austrian-german there is "gleich" which can either mean "right now" or "i will do it when i feel like it" or "f#ck off".
This is really cool! (I just discovered that part of 'Criminal' - with Kevin Costner, Gary Oldman, Tommy Lee Jones, Ryan Reynolds, Gal Gadot,...! - was filmed just streets away from where I grew up!)

Now if only there a was to get the filming locations in advance...
Yes Bootrino is finished but I haven't released it yet. Some other urgent things have drawn me away.

I have not yet decided if/when to release bootrino - I'm not sure if there's enough demand to be able to do this sort of thing.

You can however have a look at Lunikernel.com which is closely related to bootrino.

I made Lunikernel.com because I needed a standard packaging format for tiny operating systems for bootrino to run.

Lunikernel.com isn't as exciting as Bootrino, but it's something to look at whilst i think about whether the world needs the ability to boot any OS on any cloud. Seems to me that serverless has taken the wind out of the sails of tiny operating systems and Unikernels.
Thank you. I feel like one of the few people in my friend group that isn't becoming radicalized, anti-democracy, anti-free-speech all sacrificed in favor of Justice. But what kind of justice can an authoritarian mono-Party state bring about?
> In swahili (at least in Tanzania), time is told inversly.

Could this be under the influence of Arabic script? After all, Swahili used to be written in that script.

[Edit: In particular, I meant because Arabic is written right-to-left; I think the parent commenter was saying that Swahili speakers think of a clock as moving what we would consider counter-clockwise.]
What's missing from this story is a translation of ahorita in the context of the ice-cream seller that would make sense to English speakers.

How about, "The chocolate ice cream will arrive eventually"? Would that be an context-correct translation of what the ice cream guy was saying?
I wonder what's the state of XUL, if anyone using it in the wild (besides Mozilla)...
We banned this account for only posting troll comments. There's nothing wrong with contrary opinions posted in a civil and substantive way on Hacker News, but that's not what this is.
For Computers, Too, It’s Hard to Learn to Speak Chinese
Thanks for this, PGAdmin is painfully slow and clunky for me. Will give this a shot tomorrow morning!
> i tried to get them to change their long-standing, self-admitted improper ternary associativity [1] or at least deprecate it in v7 but it resulted in a huge bikeshed

Oh man. Remember that drama in the internals when trying to remove T_PAAMAYIM_NEKUDOTAYIM ?
Spanish is my native tongue and if I hear "ahorita" it means "right now" or maybe within a few minutes, but never hours or more. I was born in El Salvador (very close and similar to Mexican culture) and lived there for 17 years.
Nearly all of the articles supporting basic income have nothing about repealing other social programs. If it did start as libertarian it has definitely been hijacked by socialists to increase government entitlements rather than optimize them.

"blockchain" is not the same thing as decentralized currency. Don't conflate the two. The block chain just enables decentralized currency.

Also, block chains don't prevent a government from seeing what you are doing or levying taxes against you. Pseudononymous currency is only one of the interesting things you can do with block chains.
I especially like the bit where HTML in a row actually gets parsed by PGAdmin 4. Apparently it does strip dangerous content, after some playing around with it, but holy hell, why would it be a good idea to even have this functionality?

I've given up on PGAdmin 4 for the next year at least.
Why the hell does it matter if the author actually waited for ice cream? Seems like a terrible reason to discount the entire thing.
not open source, for one. looks interesting, and it might be a pragmatic choice if you're a company developing a desktop app, but for a hobbyist programmer i see no real appeal in a closed source framework.
Very anecdotal but after 5 years of living in San Jose, I was very scared of police. I've never had a problem with police, but the times I did there were terrible. I was pretty appalled at their behavior and I wasn't doing anything serious at all. I also heard of people throwing parties, getting in trouble, and being beaten. That was a second hand story though. One of the big reasons I left was fear of the police there.
"This project will be done in 2 weeks"
Can you please not troll, or feed the trolls, or whatever is happening here?
نصب درب اتوماتیک شیشه ای, نصب درب اتوماتیک پارکینگ
Huge number of files generated for every Angular project
By way of analogy I'll compare languages to languages, specifically spoken and programming. Going from Java to Kotlin is like going from French to Spanish. Going from Java to Scala, is like going from French to Klingon.

More concretely, Scala actually had very little in common with Java. Yes it ran on the JVM, but that was where the similarities stopped, its functional layer and type system were effectively incompatible with Java or the Java standard library. Actually Scala was so badly made, its functional pieces weren't even really compatible with its own OO pieces, if you tried to mix and match the two it caused all kinds of problems. Kotlin in contrast is almost entirely compatible with Java. There are a couple rough spots, mostly around when frameworks depend very heavily on reflection and bytecode manipulation (particularly around annotations), but those can be worked around from both sides without too much trouble, and the rest of the time it's pretty much completely transparent.
> You're basically just saying that everybody else agrees, so you need to get in line.

No, what I'm saying is that everybody excep a little group abides to scientific facts.

Like in the case of Creationism, the little group disregards any scientific fact and proof because ideology.
I think that the cheap VPS is the ultimate cause.

15 years ago (when, BTW, Python was already a thing) you _had_ to use PHP, unless you had extra money to spend on a more "scalable" technology (so enterprises, who had money, frequently chose Java). It was a monopoly like JS was/is a monopoly - you want to write code for a browser - you'd better know JS. Now, between AWS and DO, you can with relative ease start up in Go, Node, or Python, and there's no need for PHP.
Yes, that's the thing. You don't say "no". And you don't put people into situations where they'd need to say "no".
The entire article was literally dedicated to answering that question. The whole point is that it's hard to translate.
Daniella okeke and her massive behind has got us talking:see full story
Chomsky is by no means a saint, but in the wikipedia article you cited, I could not locate any direct "denial" of genocide done by Khmer Rouge. He seems to have questioned the credibility of certain accounts, which seems a necessary role of any reasonable intellect. It was 1970s, so information from the other side of the globe was harder to confirm. To me, it seems quite understandable for someone to raise questions around any information that outrageously deviates from the norm, which is the case for the activity done by Khmer Rouge.
Nowadays Chomsky points out something you can read in the December 23rd, 1985 edition of the New York Times - that six years after the hue and cry all over the US about "Cambodian genocide", the US began sending millions to Cambodia in order to arm Pol Pot.

Of course at this time the US was using its power at the UN to keep the Cambodian UN seat in the hands of the political coalition that the Cambodian communists belonged to.

He also points out the mass murder the US air force carried out in Cambodia, bombing rural peasant villages. That the US media ignored a genocide in East Timor that was happening at the time of the communists taking power in Cambodia.

Insofar as "denial of the Cambodian genocide" by Chomsky - could you give an example of a statement he made about Cambodia which was not true? If you are unable to do that, it is just mud-throwing - in some other thread he's said to be denying Nazi genocide in Europe because he was opposed to the jailing of a French professor accused of being a holocaust denier.
South Africans:

http://www.joburgexpat.com/2011/02/just-now-or-now-now.html?...

Culture is a beautiful thing.
>When most everyone in a place is from one culture, it's much simpler for everyone in that place to agree on what they want;

What happens when those communities want oppressive/discriminatory regulations (e.g. those who want sharia law or only white people)? Are you okay with them doing that?
Intriguing idea. With the 1tb minimum, it's conceivable that you could actually turn a profit doing that.
Well, the motivation would come from the humans who created it.

The problem with hard AI, is not them randomly becoming evil.

The problem is if humans program them with a goal, and don't think through the implications.

IE, think paper clip grey goo AI. The AI may not be evil, but it's value function was originally set to maximize the amount of paper clips in the world as a part of some manufacturing process.
Something like "I have no fucking clue. But hey, I'm just pushing this cart. If you want guaranteed stock, go to Walmart. And have a nice day."
Rage against the machines: is AI-powered government worth it?
What's to stop 40 terrorists from covering their faces, stealing motorcycles, and clipping brake cables (whatever you get the point...) on 10,000 cars parked along 10,000 streets in 20 different cities in 1 night?

...Or just blowing up a shitload of random houses or whatever.

Basically, the exact same thing as what would stop your scenario. Is it perfect? Even good? Again, no. But striving for good security in a public setting is how you get TSA.

If there are 40 committed and sophisticated terrorists willing to act, there are a lot of easier targets...

Again, I think the "clever localhost software vuln" analogy is apt. It's not that this isn't one possible attack vector. And no attack vector should be ignored. But... really?