skysight-inc/HackerNews huggingface dataset:
Frankly, each of your three paragraphs seems unrelated to each other, so I'm still not sure what your argument is.

1) Not type checking at runtime is exactly what people mean by static typing, because the definition of static typing means the checks are done before execution.

2) This does not make it harder to optimize, on the contrary if they generated type assertions it would considerable slow things down on the boundary of typed and untyped code.

3) C++, Go, Rust, Haskell they are fully statically typed, the only difference is they support varying levels type-inference which means you don't need to "type out the type" but it's really orthogonal to the whole optional/static/dynamic typing issue.
His closing paragraphs say otherwise.
See I can't decide on this.

What is a good language? Java?

If all newbs picked up Java as language #1.. would their apps be better? Or would the really bad devs writing copy paste stack overflow code just be unable to understand it, so they would quit?

Like is it safer because it keeps out knuckle-draggers, or safer because it is actually safer? Cuz I can write some horrible Java code that will rival anything you can do in PHP
So was I. VR can be social in the same way Facebook can be social.

You might be able to argue that Facebook-style interaction replacing face-to-face meeting is a bad thing, but you can't argue it's something nobody wants.
Could we not?

That thing was parroted a thousand times already and it really boils down to a personal rant about tons of legacy features rather than a properly worded criticism of the language itself.

The author is also really confused about type coercion in PHP.

It's been almost 5 years. Let it go.

Use this:

www.phpsadness.com
That looks the same, but conceptually (and actually, code-wise), that's not what JS is doing. Here's what's actually happening, in psudo-python:

class Person({name:"bill", addr:"foo"}):
#there's no syntax for object literals in Python
#such a thing doesn't even make sense: so I'm improvising.
pass

charlie = Person()
charlie.name = "charlie"
charlie.addr = "baz"

class NewPerson(charlie):
#note charlie is an object, not a class
pass

bill = NewPerson()

In JS, charlie isn't a class, charlie is an object: you can change all its properties and everything, just like any other object. It's not a class, because there aren't any.
That's fair, I definitely don't have a global insight. Security teams are usually segmented in some way, rather than monolithic, with varying levels of competency among different teams.

They do periodically put out some interesting reading. If you want to look at it, their annual Data Breach Investigations Report are worth checking out:

http://www.verizonenterprise.com/verizon-insights-lab/dbir/

(prior year reports don't require registration and are still fairly applicable)
While I agree that directly pulling things out of superglobals is dangerous, I disagree that it should be removed, lest you end up with a python2/python3 situation.

You can't just run around breaking BC of the language every time something is unideal.

Yes, there are a lot of ways to easily create security holes. This is what code review is for. I'm also not going to advocate abandoning C/C++ because "it's easy to create security holes" i.e. overflows.
Somewhat ironic considering he suggests "studying American history" -- https://en.wikipedia.org/wiki/Literacy_test
not really. he seems to be suggesting everyone go do their own research, determine what's well-reasoned to them, and then vote.
Mike Rowe from what I can recall is very pro-union which doesn't typically vote republican. He's also a San Francisco resident, whom collectively also aren't typically republican.
have you ever loaded a stock magento server? Set it up, add maybe 10 products with basic images, and turn it loose.

Give it a reasonable box. 2 CPU cores, 2 GB of ram.

You are capped at something like 3-5 requests per second, with an average load time of 5 seconds..

Just blows my mind. Simple Java web app on the same server is doing 500 requests per second. Python app, with the horrible gil and all that nasty is going 200 requests per second. And magento is rocking 3 requests per second??!?!?!?!?!

I wonder how much global energy consumption would go down if PHP was not a thing.
No, but it runs in Firefox and Chrome on Android, and it'll run on iOS too once Apple releases a good version of Safari or allows competent browser devs to publish better browsers :)
I disagree. I think it's a very important point to be considered that most people voting know little to nothing about politics, law, or the issues at stake.

Look at Brexit-- there was an article in the Independent this week with this title:

> Leave voter who wants to 'control our own laws' can't name single EU law

You don't think it's a problem that our countries are being guided by people who haven't got a clue whether the thing they're voting for lines up with what they profess to desire from their government?

Personally I consider it the single largest problem with democracy and one of the most difficult issues of modern times. How can you simultaneously allow everyone a say, yet filter out all the noise of people whose opinions are simply invalid ?

If the task at hand is to build a bridge, and you have a group of 100 people composed of 5 structural/civil engineers and 95 other people, 10 of whom genuinely believe play-doh is a viable material for large-scale construction, should all votes on how to go about building the bridge truly be weighted equally?
The way C/C++ get around the implicit ownership of const char * is everyone copies data around.
> As for misspelling field names, the same is true for variable names in both languages, and many things in many languages.

No. This code causes an error in PHP:

$name = 'John';
echo $nmea; // error
class A { public $name; }
$a = new A;
echo $a->nmea; // error

This code doesn't raise an error in JS:

var a = { name: 'John'; };
doSomething(a.nmea); // no error

So with JS you learn about errors later and spend more time on debugging.
Every time I listen or read Obama talk, I become a bigger fan of the guy.
A cast that lets you scratch those itches
Guile security vulnerability with listening on localhost and port
For Australia & New Zealand:
www.macrobusiness.com.au
Thanks for sharing park.io, I'd never heard of it. Do you have any links to related reading? I'd love to hear about how it was built, how profitable it is, etc, etc.
I got curious and googled it. Seems he's not a registered Republican but tends to vote conservatively.
This wasn't a technical interview, it was an asshole detector. And it worked.

This test was written by somebody who knows the answers as well as this interviewee. It might have even been administered by somebody who is also in on the game.
A tech prima donna like this is team cyanide. I once had to escalate to the VP of Engineering to get one such engineer off my project. The entire work atmosphere improved after he was removed.
> It's a garbage language, and you know it. But it allows you to get something up and running, so dang quick.

PHP didn't succeed because of the "language" part. It succeeded because it was limited and focussed to just being a tool to write small web-apps in a short time.

It did one thing and did it better than anything else of the same era (I built CGI apps in C, Perl and Python before discovering PHP).

It was just files, that you ftp-d in and it just worked.

99% of the friction is in writing the first thousand lines of code and PHP meant that nearly all of those lines was business logic, not unescaping POST data or parsing GET parameters.

PHP doesn't remove your ability to think clearly. It is true that it does not provide helpful additions for algorithmic work, but it does not put challenges in your way when writing web-apps. And yet, it does not force you into too much magic about how it works - just enough abstraction for a messy coder.
I think the problem with our primaries was that too few people voted, not too many. The fewer people who vote, the easier it is for an extreme faction to take control.

And really, with voting, you're selecting from a finite list. Being educated is good, but at most you need to be educated enough to decide between your actual options, and sometimes the decision is pretty easy.
I like live coding as well. For example: https://www.twitch.tv/notch/v/38122203 . Notch of Minecraft fame coding a new game from scratch over a period of two days. You get to see what tools they use, what their thought process is and so forth. It's especially good if they know what they're doing, as you can learn when watching it.
What is your favorite YouTube channel for iOS Swift dev?
recur in clojure is also easy to read in my opinion.
He is not pro union. He pretends to be a friend to the working man but he is a Republican shill.
Oh, Kickstarter.
NOT from America, so I don't have to hold the same cultural beleifs you'll do. I have no idea why welfare is linked with the non Zero sumness of the economy, nor subscribe to the other notions mentioned.

Matter of fact, I have diametrically different positions.

My question to you though, is how the economy being non zero sum is a fallacy. I've had to work directly in economics and finance, so if I got this wrong it would be a huge gap. I'd really like to understand how it's a fallacy.
DebConf18 in your city? Meet the end-of-year bid deadline
I am pretty much anti-Trump, but I can see how people support him for "d4lUlz"
Google's metrics have been suspended from Media Rating Council accreditation
Given his general audience, I'm guessing that many of them are conservative, and will vote Trump. So I don't think he'd have an issue if he came out pro Trump in that regard.
I believe the whole point was to target the JVM, because of reuse and maturity. And actually it's not stuck just in java ecosystem, clojure got wings years ago. Yoy can find it inside a browser today too :)
Term Sheets: An Angel Investor's View
As an AWS user, it's amazing to see a status page show an actual status. Curious how many of these posts there would be if their status pages were accurate.
As I said, by all means you can write bad code in good languages. I'm not saying choosing a good language excludes all possible bad code, only that they provide some guidance on better practices.

So you mention Java. Java enforces OOP. Now OOP may not be the best paradigm always, however its a vast improvement on inline procedural PHP.

That isn't to say you can't write some horribly modelled Java code, but the fact that modelling tools are so explicit and forced on the user makes the user at least think about how to use them better.

Other peoples opinion may differ from mine but I maintain this is incredibly important in speeding up new programmers towards writing good code.
It also only works for big enough planets close enough to the star.
Obituary: Great Barrier Reef
His poetry is good, his music, not so much.
I clicked the link and it was definitely not obvious how much it cost. I even clicked to add it to Slack and it didn't mention cost or anything. Pretty reasonable question.
Bravo! So much hair-splitting and (deliberate?) misinterpretation of context on the internet. We need more counters done your way to keep discussions focused: Factual and to the point.
I didn't downvote, but your comment is 1) off topic and 2) doesn't further a discussion or make a point. You just dropped a link with no explanation.
This killed one of our main webapps, but since the site was hosted on AWS, I provisioned an ACM certificate (free) in about 5 minutes and manually applied it to the ELB listener. Couldn't have been easier.

Today's weirdness and communication around it has made me trust Globalsign a lot less now.
A cool koala – Learning how to draw #6
Congrats on the work so far. Fully agree with you that diverse backgrounds among founders are a huge help. Seen too many tech founders think about the business side of things much too late.

Question: How did you determine you have an MVP and that it's likely to be very valuable to that market? Even getting that far (market research etc) requires some pretty decent business skills.

Have you spoken to a couple universities and colleges about it? If not, I would spend time to do that before spending time finding a partner or funding. It will be a bit awkward if you haven't done this type of customer research before. Additional benefit of doing this first yourself, the more you know about the business side of your future company the more you can evaluate if a potential founder has good business skills.

Heads up: the education market doesn't act like other markets (your customers are the government or close to it). A partner with education-related work/biz experience might be significantly more helpful in this case vs general biz background.
The interviewee give the right answers but in a more precise and more low-level - even pedantic way.

Clearly he know's much more about the questions than the interviewer but he's mistaken the nature of the interview.

This really is a preliminary phone screen and he should have recognised the interviewers lack of experience early and just played the game.

I'd be be tempted to not go ahead with him just for his lack of emotional intelligence.
Yeah...no.

In China, women are treated like gold because of the 2-child policy (and the resulting gender imbalance between men and women). They have their pick of the men and in most cases, (as a man), if you aren't wealthy, smart, and have a good career, you will be cast aside and alone.

Now these spoiled women are going into the workforce and are coming to the cold, hard, reality that they are being treated just as unfairly as men and have to compete for the same positions.

Everybody suffers from discrimination in the workforce in China, because there are no rules against it. It's common practice to send along your picture with you resume. You will be rejected based on your looks or any other reason not protected by some of the great laws in the US.

I also find it disappointing that 'straight man' chauvinism is mocked and the answer is more chauvinism with narrow-minded and inclusive feminist groups.

Fighting discrimination with more discrimination is not really the answer and will not solve any of these issues.
Probably because it's off topic and not the main reason why Verizon is raising red flag. If you thought it was relevant, then a short blurb explaining your reasoning would've helped. (would be my guess)
The c2 wiki was down
You're fine and the observation is valuable, unlike the speculations around whether it is PC.
My startup bombed and I lost everything (here’s what I learned)
TensorFlow on Android: Custom Classifier
I'm amazed at the difference only 20 C makes.

Does this mean I'd get much better photos in winter than summer?
I've never used aliexpress before. Anyone have thoughts on the likelyhood of getting stuff made with toxic materials?
Ask HN: Transactional and Marketing email service with simple pricing?
I am having a really hard time finding an all-in-one email service that does the following things and was wondering if you guys could help:

1) Supports transactional emails via smtp or an API.
2) Newsletter creation tool for marketing based emails.
3) Simple pricing (like the way mailgun does it - I want it based on total emails sent, period).

I can't find a single service that does all three of these. Does any such service even exist? The max amount of emails I'll send in a month is 350,000 and the least is around 70,000.
Voting is a shibboleth.

Any vote that doesn't ratify overwhelming existing social agreement or involve mere procedural questions is simple tyranny of the majority and, as we have seen, if the elites are unhappy with the current majority they are perfectly happy to replace it with another one.

Social consensus and trust are the key to ordered liberty, and secessionism is the way to devolve sovereignty enough to grant them to groups with different fundamental and unreconcilable values.
I'm not sure that computation is much of an exception. Yes, we have more transistors on chips, but can we actually make them do more useful things? It's not always clear cut. Also it seems like many employed in software are mostly reinventing older ideas poorly.
Since there's still a link to it on the home page (http://www.c2.com), this may be a temporary situation.
That's a crap comparison.

You're gonna have a hard time drawing a comparison between a line of work where you build things and one where you fix things.
The python 2.x "comment" version should have been parsed from the docstring...
Given his boss, keeping his mouth shut is the better part of valor.
PHP also has IDEs, tons of tools, tests, and gets deployed with many services and scripts. It's an inconsistent language, it's used by newbies in a very bad manner without even understanding the bare fundamentals of HTTP, but I really wouldn't call it a garbage language. If it were, it would have been dropped ages ago.

But I see what you're getting at... if you need to whip up something quick, don't start experimenting with the "flavor of the day" language or library.
Java library for processing image
Hi everybody,
Currently, I'm doing with image processing like crop, reduce quality, create the thumbnail, convert to jpg format from png, tiff, raw ... I confuse when to choose a library for this. Can you suggest me a library for that (except ImageMagick, I don't happy with it) ?
Thank you so much.
Born in the US, Raised in China: 'Satellite Babies' Have a Hard Time Coming Home
Why should they remain in their private datacenters? In AWS they have access to a wealth of platform services like fully managed relational and NoSQL databases, autoscaling, resilient queueing, data movement, analytics, and data warehousing services.

The value in migrating is that you get access to the same VMware hypervisor and ecosystem, but now you have access to a wealth of new data services that are fully managed and much lower cost than building your own.

I know this is hard to believe, but in the early 1900s, any large business had a power generator in the basement, because the power grid was unreliable and daily outages were common. How many businesses today have their own power generators? In 2050, how many businesses do you think will have their own datacenters?
Automation. It doesn't matter where you locate lights-out factories.
The same issue was discussed on here recently:

http://bouk.co/blog/hacking-developers/

I think we're only scratching the surface on the number of vulnerabilities exposed.
Facebook Ad Images
The Great Barrier Reef Is Dead
The problem is that this is really the only way to defend against the massive bias in the media. Wikileaks showed us that pretty much every mainstream news organization takes orders from the DNC. During the primaries, it was used to destroy Sanders and now it's being used to destroy Trump.

I don't think that Trump will be a good leader, but the people in power need to know that this is not acceptable. He is a protest vote.
IIRC, a PHP array entry had 127 bytes of overhead. PHP 7, that went down to 42(?). Also, IIRC, for JVM, it's .. 37? 40? PHP7 got array overhead down a lot, and I do believe that's where a lot of speed improvement came from (though certainly not all of it).
Hell, I'd read it. Still kicking around a copy?
Quick link to the book he recommends reading: Economics In One Lesson

https://mises.org/system/tdf/Henry%20Hazlitt%20Economics%20i...
Yup - I've been reading his blog since 2014 or so. Why do you ask?
Traveling Greece Important Landmarks Visit
I'm not sure you understand what was announced. The VMware Cloud on AWS will use standard vSphere Distributed Switch and NSX overlay networking. This means you can completely control what MAC and IP addresses get assigned to all of your VMs, and can hard code MAC addresses for those troublesome applications that hard-code their license to your NIC's MAC address.

tl;dr In the VMware world you've always had the ability to specify your own MAC and IP address. In VMware Cloud on AWS you'll have the same ability.
2 year old phone, Macbook Pro 15' from 2009 (the only model not to have video card issues since, what? 2007?) I'll replace it eventually....

i was also referring to clothing that looses material quality rapidly....etc etc.
Ask HN: Q: Aircraft/Spacecraft equipment software requirements?
Where can I get some very short overview of the main requirements for software that is written within the aircraft/spacecraft industry?

For example, what are the formal reliability requirements for these systems?
Why do you consider this an overvaluation? I imagine it takes a lot of practice to reach a high level of cooking. Sure, you can probably make an ice cream decently enough in after a few tries, but I imagine to be a good chef you should know how to make something new taste the way you want on the first try or couple of tries.

Not only that but as a chef you presumably have to make it perfectly every time. I remember reading Jacques Pepin saying how he doesn't get bored of cooking because it's never the same: even if you cook the salmon 50 times, no two pieces of salmon are identical but a good chef should be able to make them all taste very nearly the same.

On the other hand, I imagine that chefs have a much more nuanced palate than the regular person so I wonder at what point are most normal people unable to distinguish the differences.

If you have reached a high level of cooking then I apologize and will admit I'm wrong, but it seems wrong of us, who haven't been through the same process, to say it's easy. I'm sure people who aren't programmers might wonder why software always has bugs and security vulnerabilities and think it shouldn't be too hard to write programs without them.
What always bothers me with most interview questions is the focus on hard technical stuff that's very easy to acquire and forget and easily relearned. I much more care about a candidates capability to write code that's maintainable. The hard challenges we are facing in our jobs are rarely hardvore technical issues but usually just being able to keep going at a fast pace without drowning in the legacy code we wrote last week.
AppImage [0] solves this in a way similar to macOS apps.

Inkscape and a few others have adopted it.

End User downloads and runs. Its an executable.

As a dev, its easy. They have good docs, and even a jail for sandboxing.

[0] http://appimage.org
OK, ask me that question about defining the difference and I'll argue with the question, and back up my argument with examples of how type systems are far more of a spectrum of different cases than a stark static/dynamic binary.

And then your non-engineer phone screener who's expecting the answer to match the scripted sheet will conclude that I don't know this "fundamental" thing and thus am unqualified.
My first language was Pascal.
The concept of combining strings and integers in PHP without any conversion was scary and magical to me at first, but the damn thing worked, as long as you were careful. I still get mad at people who complain about type coercion because they expect their programming language of choice to read their minds and wipe their ass.

And Dijkstra was kidding. As is Rasmus when he says he'll restart Apache every 10 requests. Hyperbole. Learn languages instead of a language and it'll click. It has to.
I'll certainly try this -- if it catches on it could have some significant global effects (global warming, food production, water usage, etc).

I just hope it digests smoothly. I tried "Beyond Meat" and it gave me some pretty terrible gas. Maybe my microbiota wasn't prepped for it or something.

Looking forward to these types of food technologies being refined.
Piketty's data was already found to be fraudulent. He skewed it to push his own political worldview.

https://www.ft.com/content/e1f343ca-e281-11e3-89fd-00144feab...
Show HN: TiASM a tiny assembly like language created in Python for learning
You're definitely not alone in thinking that way. I'm similar as long as I don't have to work with something terribly archaic.