skysight-inc/HackerNews huggingface dataset:
> As to whether it is dynamically or statically typed - it's easy to tell - do you need to indicate a variable is an int or a char or a string before you start using it?

Modern statically typed languages often don't require this, because type inference, so its a bad test.

> and do you have to cast the variable to different types when using functions that expect a certain type?

Modern statically-typed languages may not require you to do this (e.g., Scala if the types involved have appropriate implicit conversions defined.)

> Dynamically typed languages allows you to give an character "5" to a function that expects an integer (ie the number 5) and then automatically converts it so for example the final result to 5+"5" is int(10).

That's the canonical example of weak typing; many (maybe most) dynamically-typed languages do not do this type of conversion.

A better test for a dynamically-typed language is what kind of error is produced by sending a value of an unexpected tpe (including, as expected, anything that can be handled by the applicable implicit conversion rules) to a function: if it is a compile-time error, the language is statically typed. If it is a runtime error, it is a dynamic language.
Retail Stores Launch Free Bitcoin ATMs via CoinTelegraph
This is not really surprising, OpenGL got compute shaders in 4.3.
The overlap between punch cards and other formats was decades.

"During the 1960s, the punched card was gradually replaced as the primary means for data storage by magnetic tape, as better, more capable computers became available. ... [P]unched cards were still commonly used for data entry and programming until the mid-1980s when the combination of lower cost magnetic disk storage ... made punched cards obsolete ..."[1]

Yes, I listed wikipedia as a primary source, deal with it.

[1] https://en.wikipedia.org/wiki/Punched_card
It's not that the logo doesn't matter. It's that the specific shape of the logo doesn't matter. As long as it's unique and recognizable, over time it will come to be associated with your brand. As an example, think of car emblems. What does 4 rings have anything to do with Audi? The roundel with BMW? The bowtie with Chevrolet? Of course, these all have a historical significance, but there's no direct tie between the shapes and the name. It could just as easily be Audi's roundel and BMW's bowtie. But yet all are distinct visuals intimately tied to the brand.
I'm getting annoyed of being 'politically correct' on the internet all the time. The title is obviously a metaphor, and it doesn't need to be defensive.

http://www.metafilter.com/156134/The-internet-has-made-defen...
It seems that shipping trucks are more ripe for EV adoption than consumer vehicles with centralized fleet infrastructure for charging, and capacity for multiple/larger batteries on board trucks. Not sure why there hasn't been more activity on this, but with Amazon's rumored entry to logistics it could be a chance for a new approach.
From what I recall of highschool here in Australia, students are deliberately rotated and mixed up as much as possible to prevent cliques and long-term rivalries from forming. A teacher once told me this makes it easier to assert control.

While I would have preferred the other way back then as a student, I wonder what the statistics say, in terms of outcomes. My gut feeling is that it reduces the outliers in student relationships (long-term sexual relationships, cycles of revenge, etc) that cause the school expensive problems.
How Uber Engineering Put the Squeeze on Trip Data
"There are two things I am sure of after all these years: there is a growing societal need for high assurance software, and market forces are never going to provide it."

- Earl Boebert
They didn't accept me in London ( I do currently live & work in London)

I think it's because I need a Tier 2 visa sponsorship... I do have 5 years of experience and seem to be very employable as I get a lot of recruiters outside hired.
My Tacklebox/Tackle projects bundle Virtualfish, which addresses this very elegantly.

More info: https://hackercodex.com/guide/tacklebox-fish-shell/
Taping the logo is an anti-theft measure.
I dream of some sort of set of rules, possibly enforced by a machine or a collective intelligence, that people would agree upon before starting to debate. Imagine how democracy would be if our political leaders were to conform to such a system when confronting their points of view. This would help us identifying rhetoric or logic flaws, and what pertains to ideology or moral rather than logic or facts. Most of the time all this is mixed up and debates go nowhere.
> One of my favorite aspects of Ruby is that everything is an object with methods. Adding global operators/functions like this would only complicate the language.

But people love operators, that's why Ruby already includes loads of them instead of giving them identifier names and requiring you to call them with a dot. You have x+y instead of x.plus y, x==y instead of x.equals? y, x<y instead of x.less_than? y, most people write x..y instead of Range.new(x,y), etc. I don't think most Ruby programmers or the language designers agree with you about not wanting operators.
C is a hack. x86 is a hack. Unix is a hack. Windows is a hack. Products with a "do what it takes" attitude appear to outrun projects driven by purism in the short to medium term. Often its too late for a better designed product to overcome the early traction lead of such projects.

Richard Gabriel has captured many related issues in a series of essays with far greater eloquence than I am capable of - https://www.dreamsongs.com/WorseIsBetter.html
Probably your comment was downvoted because it went for drama over substance.

On HN, please don't complain about getting downvoted or about what you think the downvotes demonstrate. This just adds noise, which is why HN has two rules about it:

https://news.ycombinator.com/newsguidelines.html
CVE-2015-7547: glibc getaddrinfo stack-based buffer overflow vulnerability
What is or isn't sufficient is relative and context-sensitive. For me it might be. For triple A game studios definitely isn't.
Mental health in startups
If you look at the internet as an opportunity to clearly express yourself on a matter you find interesting or ask clarifying questions, then there is never a problem.

In other words, when you don't feel a need to change anyone's opinion about anything (I imagine mostly because you've tried one too many times and learned your lesson), then you are ready to have an interesting conversation :)

Everything else is just born out of emotions - boredom, being angry/sad/etc. As you get older, you learn to recognize when people are coming from an emotional place and you let them be. You reach out with minimal effort and if they don't come to their senses, you move on. No problem.
That reminds me of the metal band Spastic Ink playing voices, sounds and music from Bambi.

original: https://youtu.be/X5SWc_k_Hmk?t=16m59s

with Bambi: https://www.youtube.com/watch?v=UhP4lg28fs0

Something awesome happened to me. I've known the album well but I didn't know the track was from Bambi. It was a weird track. Some time later I decided to watch Bambi because I was into animation classics and it was awesome all the time thinking "where have I heard this before?" Thank you for making me remember this awesome experience I've had.
Because they work and have worked for ever.. same with IRC.

Also, not needing to create yet another account is a big plus
Those are great ideas! Thanks.
Another case of a rambling article burying the lede.

I skimmed the article and still can't figure out why we're weeks away from a point of no return. Is the search going to be called off? Is there a transponder that's going to give out? Why can't the journalist just put the important information up front, instead of a bunch of irrelevant crap about someone's sleep deprivation?
So are you going to elaborate again or post a blogpost of your points? Its hard to hold a discussion if the other side doesn't... discuss... things.
I have found that most technical people won't read a cover letter, HR will generally, but if there is an HR then it isn't an issue. Instead, use a quick 2-3 sentence description why you are applying and why you think you are a good fit.

And in the end it is a numbers game, as sebg pointed out, rinse and repeat.

I highly recommend customizing each note you send with your resume, don't ever use a "form" style. In the past I would even sometimes adjust my resume to highlight specific skills that are relevant, but that usually comes when you have a lot of varied experience and you need to draw peoples attention to specific skills.
I've used C++ for many major projects, and as a compiler writer, I understand the language at a high level.

C++ requires an unprecedented degree of organizational discipline to use successfully. For most projects, in most organizations, it's a terrible technological choice -- bloated, inconsistent, dangerous, poorly understood, and still rapidly changing.

The programming world needs a language with some of the features of C++ (strong typing, easy interoperation with C, polymorphism, destructors, and control of memory ownership). But it also needs a language that doesn't perpetuate every single language design flaw that has accumulated since the Nixon administration while dramatically changing in ways that alter "best practices" across revisions of the language standard and too frequently take steps backward in readability.

And I disagree that C++ is "evolving". A process isn't really evolution unless old things are dying.
Overloaded operators do not have "canned" signatures that you have to memorize.

You generally design the signature. Some are unary and some are binary (or either), but you pick the argument types as well as return value.

The increment and decrement ones (++ and --) have a hack whereby an extra dummy argument of type int indicates "this is postfix" and isn't actually an argument which is making the operator binary! The argument isn't given a name.

Anyone halfway knowledgeable in C++ can be expected to know this piece of trivia, IMHO.

It's a huge hack, but the argument that it's something hard to remember that you have to Google for doesn't hold water.
Do some low level Rust programming and then do some low level C programming. It's hardly any safer, because it can't be safe at such a low level without a performance penalty. In the capitalist reality we live in, that is a cost no one will pay.

You're talking about the forrest - while we're talking about how making trees from scratch is difficult and messed up no matter how you go about it.

At some point, you have to talk to the computer directly (aka "unsafely"). Things like bounds checking, garbage collection, and other runtime utilities sound like great ideas until they translate to significant monetary costs each month.

Not everything is as trivial as writing GUI glue code in a nice comfy language with a magical framework. Although, most of it is.
Thank you AMD. Vulkan is essentially a development of Mantle, AMD's next-gen graphics API, and without that forward-thinking leadership, we'd still be messing with (closed) D3D on Windows, (closed) proprietary per-game drivers from greedy Nvidia, and the outdated OpenGL.

Kudos all the more deserved for the fact that AMD doesn't have the financial firepower of its competitors.
It probably becomes even harder once you have profit. You don't hear much about profit these days, especially on HN. That's reserved for real companies... oh, sorry, we call those "lifestyle businesses." You know, companies that actually make money.
> No story.

And in particular $1500 owed since 1987, almost 30 years ago. Now of course we don't know when the last payment was but it makes sense that they would pull an enforcement list based on age of debt and also perhaps smaller amounts where it was clear that the debtor was making no attempt to pay off the debt.
> Languages like Ruby have had their host of ridiculous security errors.

> Fuck Rust and you naive and self-serving evangelists. Come back to me in 20 years with what you've learned.

This might be a cogent criticism (although a pointlessly mean one) if we hadn't started the Rust project with an analysis of precisely what the contents of our security bugs consist of, and designed the project to target those.
Show HN: Trevor Blackwell playing “Shake It Off” with a new type of guitar
The new logo looks like Pacman after assimilation by the Borg.

Maybe that's indicative of the new 'data platform' development team they're actively recruiting for.
The Story of Uber's Radical Rebranding
If the bystanders weren't the kind of people that record the incident instead of helping, you wouldn't have seen the depictions.

So the good news is that the amount of physical bullying that happens is probably overestimated. The bad news is that non-physical bullying is underestimated.
It's "serverless" in the sense of the server being commoditized and irrelevant to the design of the app. It might be better to say that the server is rendered ubiquitous or trivial than that it's removed. Lambda gives you a programming model where the server has no configuration or state, because all of what would normally be in the server is now in your handler specifications instead. So you don't need to think about the server, and any server running anywhere that can support loading Lambda handlers would be equivalent for your purposes.

Imagine you're running your own Lambda-compatible server, and you have a scaling problem. The programming model means that the solution-space to that problem is restricted to adding more servers in a shared-nothing cluster configuration, not to reconfiguring the ones you have. Your Lambda server is thus a piece of black-box infrastructure, like a load-balancer.
What I was going to say. I've heard Leicas more than once called dentists' cameras.

Edit: No disrespect to dentists intended.
> Every engineering decision has costs as well as benefits.

Can you elaborate, in detail, what the costs of memory safety are?
This looks like an AI generated comment
I believe the "weeks" figure is related to this quote: "Without fresh clues, the hunt should end about June, when four ships are due to finish combing the seas off western Australia, Dolan said."
Can someone give me technical reasons why this world isn't possible:

Parts of the linux kernel or glibc or any other critical C code gets replaced by rust code little parts at a time, which is also calleable from C (https://doc.rust-lang.org/book/ffi.html)? That way these libraries could be made safer in a controlled and incremental manner.

And to reiterate I'm asking for technical limitations, not political or dogmatic.
That is one of the reason, why I renamed it the LINENOISE NG. The interface is compatible with the original LINENOISE, but it works on linux, Mac and Windows and it supports UTF-8.
But if "Foo" was composed of unique_ptr (or shared_ptr), then those smart pointers would be nulled out after the std::move (due to the default move constructor)

So again, unless Foo f was composed of "raw pointers", even that kind of code is safe from "use after free" vulnerabilities.
MUMPS.
When would you ever want to shoot at f1.4? The low light argument makes less sense in the context of digital cameras with VR lenses, since bumping up the ISO a stop or two, or using a longer shutter speed, would usually degrade the overall quality of the image less than having almost everything out of focus. Nothing wrong with a bit of bokeh, but at the focal lengths typically used with a full frame sensor, f1.4 will almost always give you less than the desired depth of field.
How many have read it?
But that's not true, as far as I can tell. Ruby does allow you to write 5.+(8), but as far as I can tell most people prefer 5+8. Ruby also has special syntax for <, == and indexing arrays. What things does Python have special syntax for that Ruby doesn't? Off the top of my head I can only remember "in".
In the fifth paragraph, it says "Without fresh clues, the hunt should end about June, when four ships are due to finish combing the seas off western Australia." I imagine that the news would be quite boring if every article were written as a bullet-point list of points. Sometimes people enjoy reading a story, not just a two minute summary.
Could a Robot Run for President in 2020?
Agree. Standard protocol to have a certain number of people (7 marshalls in this case) for safety purposes.

Now if the story was "man from local government loan office showed up at door nicely requesting payment" it wouldn't have the necessary tv news story impact nor would it get the attention and the cooperation of the debtor.
We need a new term, because "someone else's server" is a superset of what's happening here. How about "transient server" or "one-shot server"?
An MD I asked about this said that sugar actually has something of a sedative effect, and that kids getting wound up on candy is usually attributable to the caffeine in chocolate.
I'm just imagining what would happen after a wildly successful presentation from which much applause ensues.
Huh? It's literally just an image and a link. NoScript isn't doing anything for you with regards to this ad.
A bug - when I search for eggs, it gives me eggplant recipes.
Very nice, thanks for posting everything for it.
Doesn't the US have an issue with certain edge cases of fines becoming recursive without terminating?

http://www.nbcnews.com/feature/in-plain-sight/sentenced-debt...

Whilst this case may not be like that, it's still quite worrisome that these kinds of things happen to people.
Yes yes, the cruise missile thing was just pointing out that there are some quite advanced non satellite capabilities.

The more important point is the question of whether GPS is actually required for a launch or if it merely improves the process (accuracy, speed, etc).
> Anyone halfway knowledgeable in C++ can be expected to know this piece of trivia, IMHO.

I disagree. Let me put it this way: You will not increase the quality of your C++ programmer hires by quizzing them on whether they know whether prefix or postfix gets the extra argument, or even how to overload those operators at all.
That's a good choice. Laser-marking stainless steel sheet is a common operation with modern laser cutters. That should last thousands of years. It will survive water, fire, and handling.
There's no example of a PhD work that contributed hundreds of millions of value to society.

(I could say there's no way to measure "value to society", in fact this concept means nothing, but I agree on settling on "an enourmous amount of productive capital to someone, not exactly the society").
The plan9 team use proportional. Plan9 too the decision to drop support of the punch card derived TTY. Once you free yourself from 80 columns you can forget about it. There is no indentation/alignment dichotomy.

Russ Cox, Rob Pike - Acme users

Here's a picture of Dennis Ritchie using it

http://nl.pcmweb.s3-eu-west-1.amazonaws.com/sites/default/fi...
Dont notice any AMD products at https://www.khronos.org/conformance/adopters/conformant-prod... even though AMD already has drivers out. Whats up with that?
I had to delete my Reddit account because I have a tendency to try to hard to correct or educate people, and after a while you learn that the orange mail icon is never someone saying "Thank you for correcting me", but usually someone flaming you, and it made me unnecessarily stressed. I try to stay off Facebook for the same reason, 50% of my feed is friends/friends-of-friends sharing ignorant or false posts. Only on HN and a few other small communities do I actually take the time to do write something, because more often than not I get pleasant responses, or at least an intelligent discourse in return.

This year, I've started something new though. Whenever I see something like this, I basically begin writing my own essay of a response, and then try to spot all the places trolls or other readers could tear it apart, point out bias, or points where my knowledge is lacking (if I can't elaborate on something further than the sentences few sentences in the essay, I probably don't understand it well enough to be speaking about it in the first place). And I either write a rebuttal, or rewrite it into the original essay, all while researching and providing sources along the way.

Then I save it to a folder on my computer, and don't post it anywhere, or sometimes just delete the whole thing. I learn a lot, improve my writing a little, and neither party can get angry.

A recent example, multiple friends of mine shared an image on Facebook, with text like "Isn't it bullsh^$t that you can be arrested and your only charge is resisting arrest?!". I knew this wasn't true, but didn't know the specifics as to why. I learned that Florida doesn't have a charge simply called resisting arrest, but instead "843.02 Resisting officer without violence to his or her person", which makes sense and sounds much more reasonable as a sole charge. Also, you don't have to be resisting your own arrest, so you could be guilty of only a "resisting arrest"-like charge if you resist someone else's arrest :P
I thought there was some technological reason (ie battery dead), but it seems like it's just a funding thing. The batteries only had 30 days of life anyway.
Average wage for Cambridge is likely to be much much lower than NYC or SF.

Compare to London, where the average deposit needed to buy a first home is £91,000 ($130,000) -- 25% of total price.
"because using OpenGL is not a good proposition going forward."

Why? Khronos has publicly stated that development of OpenGL will continue, and that OpenGL and Vulkan will continue to co-exist.
Good read. Sounds like good advice in general, regardless of how hard it is to obtain capital.
Yeah, I have a GF1. In fact, hilariously, it's Alex Rainert's old one with Panny 20mm pancake which he was selling on ebay. That camera has been absolutely awesome, and about 2 days after I bought it was used to take the picture of my youngest daughter coming into the World.

m43 cameras in general are a good compromise on image quality and size. GX1's and GF1's in particular are not especially expensive used.
I may get downvoted into oblivion, but i will still voice it out.

I read the US exported their Inflation of QE to other countries. And then gets the Chinese to spend buying property all around the world.

Most government are reluctant to act due to worry of popping another housing market like US 2008.

But it is good finally some* are taking notice, given we have 3 HN article the same week on property pricing. But it is likely too late. Those who are now 25 may have some hope to have some things sorted in their prime years. Those who are in their 30s like me will likely have to battle hard just for survival.

For those who don't know where this is going, take a look at Vancouver, Sydney, London, or a place call Hong Kong where many people could only afford to live in 10m2 "flat".

I maintain that unless there is social housing program in place to guarantee every citizen a place for basic living, housing should NOT be an investment options or should at least be heavily taxed / regulated.
> the language is the problem

It was literally weeks after Heartbleed. The screams for modern languages with managed runtimes had barely subsided. Then Tomcat, in common use world wide in the poster boy managed language, had a bug with exactly the same impact.

Nobody abandoned Java after that. Just as nobody will abandon C because of this.

> Ruby isn't great, but it's not had anything like the same defect rate

I would argue it's had much worse, altough the comparison is difficult to make. Rails against Apache perhaps, where Rails has had several problems of this magnitude.

I like modern languages as much as the next guy, but I'm very tired of "the language is the problem". Shoving more layers of abstraction in there is not a silver bullet for security. We need to look more at system programming languages.
New app looking for beta testers
UNICEF Steps into Venture Capitalist's Shoes