skysight-inc/HackerNews huggingface dataset:
Well comparing Go and PHP is kind of difficult, because they are targeting completely different goals.

After some years of development, both languages have evolved a lot and they both can be used for many other things, that they haven't been designed for.

PHP was a dynamically typed scripting language to build personal homepages (Personal Home Page Tools). Today it is an object oriented, type hinted language that supports functional and object oriented programming, many database management systems and has a package manager (composer). I really like PHP (see https://github.com/sandreas/m4b-tool for a proof), but some concerns about PHP have always been (and still are):

- backwards compatibility reaching too far

- way too big standard library (see levenshtein function)

- the "callable" concept - call_user_func_array([$obj, "method"])

- mixing up too many concepts (OOP, Traits, Functional style)

- the type system (which is getting better with php 7)

- unpredictable statements - empty($x), comparisons (== vs ===) and the "mixed" type

- the "array" type being array and dictionary and...

- the $ used for variable declaration

- $this-> is still needed for calling object methods

- "." for concatenation and "\" for namespace separation

Another bad thing about PHP is, that on most web servers it is meant to be stateless, which means that you are in trouble using technologies like websockets.

Some of these things unfortunately mean that PHP often is much slower than it could be - and this is where "go" can be a successor. Performance. If you really need FAST web apps and performance is the goal, go can be a nice choice. But for getting things done in a not too complex web page, i would always choose php.
Given the open rows Trump had with the FBI and the CIA, that these agencies are filled with democrats and even republican sympathisers who think Trump should be impeached, and that an abuse of power is the very raison d’etre of the impeachment procedure, I don’t see how he would get to give such an order without the whole world knowing about it. Doesn’t pass the smell test.

Foreign agency, different story. But there are enough people with a smartphone in the US that it doesn’t take a state-backed agency to obtain a compromising picture of a well known public figure.
There was a never a 'golden age' of tipping where everyone was getting paid fairly. Make no mistake, tipping was and is usually used as a way of justifying lower wages.
Not even around 3:10?
Notably, plenty of novels went on and on about transportation in the future: multiple moving sidewalks at different speeds, and all that jazz. But apparently this gets too drawn out and boring when translated to the screen, so the topic gets less attention in movies.
Ask HN: How do you deal with self-help meme?
How do you deal with the cliche content you find on internet? E.g: content like follow your dreams/hobby. Self improvement hacks and platitudes like grit. (Industry is 10$ billion. https://www.newyorker.com/magazine/2018/01/15/improving-ourselves-to-death)
What is beyond the self improvement meme?
Show HN: Packagr.app – a cloud hosted PyPI server for Python developers
Hi,
I recently launched Packagr.app - a simple cloud hosted private PIP index which Python developers can use to store and deploy private Python packages:
https://www.packagr.app

Packagr provides a convenient alternative to open source solutions such as pypiserver and devpi-server and takes care of hosting, authentication and package sharing out of the box

Thanks for looking,
Chris
Strange. LibreSSL a fairly well-known implementation compared to something like BearSSL (which I had not heard of until today). Does anyone have any ideas on why LibreSSL was not mentioned?
well it's a lot easier to "hack" one person's iCloud account (in reality you just need a well placed personal assistant or employee at apple) than an entire cloud infrastructure without being noticed
This should have been caught out by (failing) tests. Code review is not the right tool for the scenario you describe. There's an item for the checklist: is the new (or refactored) code covered by unit tests that demonstrate its correctness as well as no regressions?
I have a similar view on the A380, but I love being a passenger on them more than any other plane. The extra leg room is what wins over for me and as I fly Emirates the in flight entertainment is brilliant.

For me it’s a shame we are seeing a decline of these planes. I loathe to think the industry is going to go back to less leg room, more seats and feeling like cattle.
Man, as a native German I hate this obsession with german naming english words. Disruptive becomes "erschütternd" which is a bad translation, or how do you translate "tech-stack"? Technologie Haufen? I solve this by speaking denglish, but sometimes my fellow Germans who are less into the tech lingo complain about that. I really hate it when germans try to germanize international english words.
Indeed, my only A380 experience was with Emirates and I assumed that they were all set up in the same way. I tend to fly Virgin Atlantic long haul and will at least upgrade to their premium (business) class, but economy on an Emirates A380 is comparable IME and to be honest I doubt I'd waste money paying to upgrade if I flew with them again.
Well, he's still Jeff Bezos, the man who runs Amazon, with all the unethical implications that come with that.

He has demonstrated a certain level of integrity, but that doesn't make him a Good Man.
It makes my life miserable. I love writing music but mixing is just a boring, unsexy grind. And it's a skill that takes way too much time to develop - you can't "hack it".

I've produced tracks that sound incredible to me on my 6" Yamaha monitors. Then I send them over to friends who listen to them on their tinny laptop speakers and wonder what the big deal is.
Even pretty staunch libertarians are willing to entertain the value of the state when it comes to the transition into post-scarcity markets, and even this transition into markets that net diminishing value from many human endeavors (as we are already seeing). I just think that most libertarian types, myself included, don't want that to mean an overbearing bureaucratic system that necessarily creates perverse incentives and rations resources along politically contentious dimensions. Let us keep our markets, just help balance them. Universal basic income to keep the bottom in check, anti-monopoly, anti-collusion to keep the top in check, and then please fuck off. No affordable housing, no welfare, no social security, no food stamps, no shelters. Just give everyone cash and fuck off. If they want to create an authoritarian sub-state, or sibling-state, for the people that just cannot take care of themselves, despite all the necessary resources literally being deposited in their bank accounts, so be it, but don't rope the rest of functional society into the moral authoritarian nightmare we're currently already sinking into.
Cons of a Technical Writing Job
I really doubt that it was done by a US government entity. Trump is the president and all, but to hack and release (by a third party) the personal information if a citizen (not suspected or related to any crime) seems to me to be something that even Trump or his supporters can't do, the intelligence agencies just wouldn't do it in my opinion.

The Saudis seem like a much more likely party to do it in my opinion, mostly because we know they are willing to do a lot worse against people they oppose (or who oppose them).

That being said, I also think that playing the "A government hacked my phone" is a much better play on behalf of Bezos then claiming it was done by someone accessing his or Sanchezs phone (for example her brother who is supposedly a Trump supporter, like the link in the end suggests).
You might be interested in the bouba/kiki effect: https://en.wikipedia.org/wiki/Bouba/kiki_effect
Could you give people In-App purchases for free in exchange for the allowance to work together to improve UX?
I had never known of ggplot2. Those are some slick looking graph (ics).

Can somebody tell me if I can call ggplot2 from other programming languages- I could only find python ggplot but that doesn't look nearly as good (unless I just picked the wrong examples).

I'd love to use ggplot2 from my scala code.

Can I also take this opportunity to ask everybody to list their favorite plotting library with their features?

I currently use Plotly with Scala. Great interactive charts.
"scharf" can mean horny as well.
Funny enough I always use "der Log" and not das.

Though Das is usually the go to gender for foreign words that don't feel German enough, when you say them in a German sentence. In my experience that feeling largely depends on your expectation to be understood. I.e. mixing German with tech terms with a tech coworker is far more acceptable than mixing it with a coworker from accounting.
Here [1] is a reporter from the Washington Post backing that up

In other words, here is one of Bezos' employees backing him up.
well last I checked Thiel supports Trump ideologically and the Saudis are large customers of his, plus he wants more defense/spy contracts so since he's so far proven to be a cheap date in terms of business, I think he'll just side with whoever gives him more money
I’m afraid because the Inbox app is going away. Can anyone help me?
I’ve been using inbox for years. I have made thousands of todo items. I use the snooze feature to keep track of various important life events, when I need to pay bills, etc.

Is there a way to find out if I have any snoozed items that are scheduled to alert after inbox shuts down?

I gather that my emails aren’t going away, they will still be in gmail, but I’m worried about non-email data/metadata and associated features that I may be relying on in ways I don’t understand. I’m forgetful and inbox’s tendency to magically remind me of things has saved me many times.

I’m envisioning a future where I get fired or evicted or screw up my taxes because I forgot about something that I entered into inbox. Can anyone help me address that anxiety?
"Premium Economy" seems to be a Virgin Atlantic thing and is basically their business class. It includes much larger seats, premium in-flight entertainment, nicer toilets, and a much better food and drink selection. The section on the aircraft I've flown on is also much smaller (50 seats?) and curtained off from the unwashed masses.

Agreed that a lot of airlines off an "economy plus" which is basically slightly faster boarding and slightly more legroom and that this isn't worth paying the extra for.
So true, Google's raison d'etre then wasn't "make money".
Deployment of Go services is much easier.

Try to deploy any self-hosted service like nextcloud, gitea. It was a nightmare to deploy nextcloud. Also it turned to be too slow for ONE USER.
Nvidia Using Ada and SPARK
Rust doesn't yet support every platform that C supports and training staff to use a new language and adding tooling to integrate a new language into an existing codebase is extremely expensive.
> It's just that even encryption library authors are not mathy enough

I rest my case.
Your objection is probably to the usage of the word "often" which is... debatable. It's probably also unrealistic. Otherwise yes, nobody ever built a DC underwater [0] or in the icy mountains [1] or underground [2].

[0] https://news.microsoft.com/features/under-the-sea-microsoft-...

[1] https://greenmountain.no/

[2] https://royal.pingdom.com/the-worlds-most-super-designed-dat...
Huh! I've flown Premium Economy with a few European carriers (Air France, KLM and two others I believe?) and didn't notice anything different. Food on KLM/AF is always good though. I've never flown Premium Economy in Lufthansa or SAS (as far as I can remember.) And I've never seen a duvet on a plane even in first class! Are there actually airlines with duvets or just nicer quality blankets?

The differences I've mainly noticed in premium economy are: electrical outlets, nicer in-flight entertainment, more legroom/better reclining, nicer head cushion, closer to the front (if that's a benefit) and that's about it. Amusingly, I've found on Delta the "premium economy" section occasionally extends slightly outside, e.x. the electrical outlets and better in-flight entertainment (but not the legroom) aren't only for premium economy but also 2 or 3 rows of normal seats beyond. Which is a little strange, since I would think Delta would use the opportunity to present that as an upgrade (paid, or free as a goodwill gesture) but I've only ever seen them labeled and sold as normal seats.
To be fair though, according to Seatguru.com, Lufthansa are the most 'efficient' in terms of seating - that is, you will have the least leg-room etc. on a Lufthansa flight. The precise airplane model doesn't matter, they always have the least space for a passenger.

Bonus for when you press the steward summons button and an angry balding German steward (who nonetheless has a ponytail) turns up half an hour later and demands to know what you want, and when you say "water, please", asks angrily "You vant vasser?!" like you just asked to bone his Mum.
Maybe, maybe not.

The investigations against Trump and his people are already way past the scope of Nixon or Iran-Contra.

Particularly, at the very least, Trump is on the hook for state charges in New York about his Trump foundation. He can't get pardoned by a sympathetic successor.
In what way is this better then other similar apps, such as Signal, which is already an open source messaging app?
On mobile no it wouldn't. Often enough it barely even gives away the country. When roaming with Fi in Europe I have a US IP.
Not a Nginx administrator, but the general documentation flow is very much agreeable: actionable summary guideline, concise rationale, relevant example, external resource(s).
How does it take 10x longer? The guide clearly says you can hand code your HTML, if that's your jam ;)
> - the "callable" concept - call_user_func_array(["object", "method"])

For at nearly 10 years now PHP has had support for lambdas, meaning for most uses `$foo()` can be used instead and with the inclusion of the spread operator it's seldom used.
Okay, I'll bite: how would a single employee at Apple do this?
On the flipside, I rarely have items missing from online orders. That's from a few years with Sainsburies and I've used Tesco for about two years now.
It's 2019, we gotta innovate :D
With PHP it is much easier to hit all of the above.
You can reject things you ordered too, like the £40 of toilet roll added to reserve the delivery...... So I've heard of course.
BANG ON!
That's not correct. The invented word probably comes from the 'Taalunie'. It might be that the Flemish adhere more to it than the Dutch (I have no statistics)

https://en.wikipedia.org/wiki/Dutch_Language_Union
AMI is willing to accept a loss of future profits gained from running the story, in exchange for Bezos’s capitulation. If you have access to AMI’s advertising rate card and a rough subscriber count you can estimate the USD value this information represents.

As others have mentioned, “thing of value” does not have to be monetary. For example, there are a number of cases where a person was found guilty of extorting another for sexual favors[0] or to exact a particular benefit (political or otherwise) from a victim.

——-

[0] https://en.m.wikipedia.org/wiki/Sextortion
It probably depends on the airline.

My Emirates experience of the A380 was incredible vs a decidedly crappy experience in a Qantas A380.

The former made me love the A380, top of the list. The latter made me hate it.

Love that plane technically though. Smooth. Relaxed. Quiet. Relatively spacious.
They've already fought GDPR tooth and nail. Look how that turned out.
Even if this will be integrated I still think it might be a bad idea for some things because it goes into the separation of concerns principle.

A controller should not know about routes.

A model should not know about database design.
What does it matter what they write on paper - I only authorise the amount I intend to when I put my PIN in and no paper will change that.
Agreed. Of course, even if you do get PSD/Illustrator files, the designer should at least make it easy to get the necessary information required to build the page, extract assets, etc. Seen way too many non web designers just hand developers a flat picture with no way of getting the font styles or extracting images and expecting them to just guess.

It's also nice when the designer actually works to a style guide and designs things with a grid in mind rather than some sort of abstract art where even the basic text sizes seem to change on a block by block basis.
There is a conflict of interest between his role as employee and his statements regarding Bezos. But there would be a conflict of interest between his role as reporter and his statements regarding Bezos. You're not wrong per se, but my perception is that there is a very good chance this person is telling the truth, given that in every case I've known of where a reporter for a major newspaper has disagreed with someone on a matter of record, they've been right. (NB that may still be explained by biases on my end and I'd love to be given a more nuanced view).
IME if you are a part of an org/feature-specific security team at a team at large company you will be made aware of potential security flaws before they are fixed and merged in prod... so if some employee at apple learned "hey, auth tokens are being leaked in the usage data" they could hack basically anybody if they wanted to before the fix was merged and deployed to the public
What you describe isn’t blackmail. Blackmail is offering the celebrity the chance to keep you from offering the story to the others, in exchange for a fee.

If you actually had a setup as you described, all of the news outlets would publish the facts of your story, without paying you anything, because facts aren’t protected by copyright. The only thing you could sell would be an exclusive interview.
But when VCs are criticized for obsessing over hyper-growth, we're not really talking about $300K/yr businesses. We're talking about $5M/yr businesses that are forced to try and become $500M/yr businesses or go bust, rather than stabilizing at a lower level.
You can absolutely do this in Java if you want to.

I mean, it's insane and you shouldn't, but it's eminently possible.
Thanks, that's exactly what I meant.
Not really. It is not like they are heroically going in there to save cabbages and Pot Noodles. "Just think of those poor nectarines...!" doesn't cross my mind. On a scale of 1 to Grenfell it scores zero. Let the venture capitalists money burn...

In the UK we do have a huge amount of respect for those in the emergency services but it doesn't have the patriotic edge that Americans have in the post 9/11 world. Our firefighters are down to earth heroes yes, but not Hollywood glamorised patriot heroes. My grand dad was a firefighter so I am naturally inclined to think highly of everyone in the fire service, perhaps more so than most people.

Feelings are not strictly rational, my original comment was an observation that the incident lacked the feeling of awful that goes with a Grenfell or empathy that goes with things like the Asos fire where people were having their lives in jeopardy.
When I'm flying Emirates, the censorship on the IFE is hilarious. Watching the Gotham TV series, and they kept censoring the word "lesbian".

Also, the Wolf of Wall Street Emirates style is significantly shorter (they cut all the scenes with extensive hookers and cocaine) and when Margot Robbie walks out nude they cropped the image and zoomed in on her face only, albeit with extensive pixellation.

But hey, at least Emirates will never tell you that you've had too much to drink, unlike Singapore Airlines.
And people are vehemently agreeing/disagreeing depending on their phase shift in the Turing complete vs declarative carousel.

Compare with: strongly vs weakly typed languages
This is pretty much a laundry list of anti-patterns for modern web development.

Non-atomic deployments? Not using Composer to manage dependencies? No separation of concerns? Editing files directly on the production environment?

I get that it's nice for beginners, but they're not benefits for professionals. We have better ways of doing things than Notepad and FTP.
News seems to be mainly about propaganda nowadays.

Even sources like BBC, half the "news" is telling you what to think, the other half is "in news today, this TV programme is super awesome; and surprise it's on our channel tonight, all your neighbours are watching it!".

/meh
Since I'm doing the same thing but the other way around I'll trade you Swedish for German if you'd like.
'it won't feel like a "real thing" to them'

I always find it amusing that we are having these discussions on HN which is about as old school as web technology gets and which doesn't seem to suffer too badly....
> If the CEO and Founder of AWS can be easily hacked by Saudis

Was he actually hacked? Saudi LEO could've easily got those pics from Apple legally.
This is why Esperanto has je, which can replace any other preposition and remain grammatically correct, albeit more ambiguous.

https://en.wiktionary.org/wiki/je#Esperanto
Well, sometimes Germans themselves are not quite sure about which article to use. It differs from north to south, from east to west and depends a lot on the dialect you're used to.

An (Upper-)Bavarian would for example never say "die Butter". It is and will always be "der Butter". Same with "der Radio" in the South and "das Radio" for the rest of the country.

Another funny thing I stumble upon every time Oktoberfest starts: Oktoberfest in Munich is referred to as "die Wiesn" (the lawn/grassland). Bavarians don't know an 'e' in the end of a noun, they will therefore always replace it with a 'n'. In the rest of Germany, Wiesn doesn't exist. It's either 'Wiese'(sgl, a single grassland) or 'Wiesen' (pl, many grasslands). Since Wiesen sounds more similar to 'Wiesn' than 'Wiese', even newspapers regularly refer to the Oktoberfest as a multiple of 'Wiese' which - for us - sounds just wrong: "Heute sind wir auf den Wiesn gewesen".
Well, unfortunately that's not always the case. A prosecutor has to decide to make a case, otherwise it will never get to the judge.
I'm reading the replies here trying to ID the one generated by Rant.
Swiss govt offers reward for hacking its electronic vote system
It made google honestly.

Morality and justice are a pretty important topic among geeks, and geeks were the best salesmen of Google at the begining.

We needed it. Internet was going to be this incredible place were we would all share and learn, create communities and make people closer to each others. Money people didn't understand it, technical person did, so we though we found a place were finally, we could create such a thing.

Of course, it was bs.
UI as an afterthought. About FE architecture and the impact of React hooks
Generally, no. Almost any framework has build steps these days, at least `composer install` to get all the dependencies, and usually also special web server configuration, so you don't expose all your PHP files to the web, only the index.php entry point.