skysight-inc/HackerNews huggingface dataset:
On the other hand I don't understand how anyone can work with a code base that is dynamically typed. I'm looking at a function parameter in a random file. How do I even begin to work with it?

Unless you wrote the code yourself you pretty much have to run the program first and then REPL to see what the type actually is and the properties it exposes Slow, arduous, unnecessary.

Also especially in the early stages of any development project I am refactoring like crazy as things come together. Static typing enables refactoring operations that are lightning fast with almost zero chance of error. Refactoring in any dynamic language is super error prone and leaves open the possibility for bugs that often show up unexpectedly at runtime.

Do people who prefer dynamic languages actually use the benefits of dynamic typing in the first place? Changing variables from one type to another mid-stream. Dynamically adding properties to objects, using == instead of === etc.. Those things are a recipe for bugs, inconsistency, and unmaintainability right from the get go.

Static typing doesn't feel intrusive, it feels like a flashlight. I don't like coding in the dark, feeling around for what everything is or is not.
"A job in deep learning".

It is highly unlikely that you will get a job in which you exclusively use deep learning alone, and not any other ML/AI technique.

Once you learn DL, then, "congratulations... here are 100 other topics you might need to know about before getting a job". http://scikit-learn.org/stable/tutorial/machine_learning_map...
From talking with the chromebook team I got the impression that this feature is meant for newer devices. Maybe someone from Google can chime in?
Perhaps, but building a list of all kinds of evidence insufficient to act on would take a lot of effort, and I fear it won't take away the underlying problems.

Telling someone to ignore the fact that group X is Y% more likely to commit a crime is very unlikely to work (since purposely ignoring something is somewhat contradictory). You'd likely get better results by asking someone why they did something despite lacking sufficient evidence.
For folks with kids, if it is cold, the backyard becomes more useful because you can then make a backyard ice rink pretty easily.
Not quite sure why this isn't just

type foo int:
func MethodA():
pass

Analagous to this:

type foo int
func (foo) MethodA(){}

Why opening and all that? Or is that a way to add methods to types outside the current package? If so, you're opening up a whole new can of worms.
Yes that's the definition
Multiple people in this thread have asked "what is devops pragmatically." I will both try and answer why there is no clear answer to that, and what my clear answer would be.

1. Everyone has their own definition largely because everyone takes the bits of what they've heard of devops that they think are beneficial to them. I don't even think this is necessarily a bad thing (chose right tools for the job/culture, etc) but it certainly makes it difficult to centralize on a definition, compounded by...

2. That many of the people who want it only know, as sister posts have suggested and what the OP describes, what they want it to achieve, but don't necessarily have a clear roadmap to getting there beyond "devops".

3. So from that, what is my "pragmatic" definition (e.g. my "what happens in the real world" definition); pessimistically, "devs are now responsible for ops/sysadmin work as well, including on call, infrastructure and telemetry, but without any additional training, purview, or increase in pay."

Now, to make that criticism, I should propose a better definition; and this was hinted at by sister posts as well:
"Give devs the tools, expertise, and purview to accomplish ops tasks that previously were thrown over the wall. This does not mean GETTING RID OF ops domain experts, but unifying them with your devs to remove unnecessary separation, facilitate communication and needs fitting, and share expertise and skillsets where appropriate, since there are many ops tasks that benefit from a more engineering bent, and MANY eng tasks that benefit from an ops "I need to be able to run this understand it and fix it" mindset going in, as a first class citizen, rather than as an afterthought."
> (Bonus points to readers who understand why /var/tmp instead of /tmp :D)

Because many newer Linux distributions mount /tmp as a tmpfs that gets zapped when the system shuts down. Do I get a no-prize?

> echo "Russians wuz here!" > /var/tmp/hacker.sig

Oh, that brings back memories of an incident involving Serbian/Romanian malware at a former employer of mine... when I got into the box to figure out why it was attempting to DoS Caltech, I found a complete set of DoSing tools in /root with comprehensive documentation in Romanian, plus a quick 'who' showed that the attacker was still logged in over SSH, so I looked up his IP and it came up as being somewhere in Serbia. After that, "Serbian Malware" became a meme at that company (and I quickly made sure to patch the hole -- the result of a stupid, stupid mistake that I take responsibility for -- to make sure it couldn't happen again).
By far the project that teaches me the most was writing an inliner for a toy language we developed as a part of a course at uni.

Most people don't really realise that the more complex an inliner gets, the more similarities it gets to a rabid animal you can just barely restrain on a leash.

My prof said he had laughed at my "how hard can it be?"-attitude . I worked my ass off and ended up being asked whether he could use the inliner in a language often mentioned on HN today :)

The inliner was superseded by a much better one in 2003 written by a much smarter person than I, though.
I'd look at hiring remotely. But I would see if I could split initial elements up into smaller contract tasks and hire people piecemeal to get a sense of work product for remote employees, and make the best of them an offer.
I should have explained myself better. The Android on Chrome OS is I think a big deal because one thing that Chrome OS has going for it is its security model. I could be wrong, but I consider my Android phone less secure than my Chromebook. If the security gets botched up on Chromebooks, that would be bad.
good catch. fixed it
I completely agree. Learning new code without types is way slower for me.

Example: you have a function that takes a 'file' parameter, and you need to modify the function, so you need to know what the properties on the file object are. Is it some custom File class, or just a poor name choice, or the browser File interface?

In a statically typed language it would be marked explicitly and I could probably just CMD+click on it in my IDE and be done.

In, e.g., javascript what recourse do I have? No 'File' module is explicitly imported, and the function is invoked somewhere in library code so I never see the file object constructed. So, let's say it turns out to be this 'File': https://developer.mozilla.org/en-US/docs/Web/API/File —how do I discover this? So far it's been time-wasting, unsystematic trial-and-error sorts of things.

It's not as big a deal as I thought when first switching to JS—but if you believe writing readable code is important, you're lose a major tool without being able to label types.
Small correction, but a CLA is a contributor licensing agreement, not a copyright assignment. The contributor still owns the copyright to their code, they've just explicitly allowed the project to license their code under the terms of the project license.
you are drinking too much of the kool aid microsoft shills filed the news with when they were trying to forcefully acquire yahoo.

doubt if yahoo will ever recover. specially on the valley.
Your example shows why that doesn't work. The correct solution to people eavesdropping on calls is end-to-end encryption, which we still don't have for phone calls. Which means that bad people can still eavesdrop.

But meanwhile we now have a stupid law that prevents honest people from buying interesting radio hardware and makes it even less likely that we will ever have open cellphone baseband processors etc.
Interesting, before its time then :-).

Where WeChat might make this work is they already have over 800 million monthly users. That's a good number of users to push a product too.
Internal tristates, whether emulated or not, are usually just avoided by designers. If they are actual tristates, you run the risk of damaging silicon if you goof up your logic.

I can't say I really understood the problem Carl was having. It seemed to be IO tristates and incorrectly configured port directions, but the post was confusing.
>(maybe this is why there's so many 3 Michelin stars in Japan)

You may be interested in this recent reddit thread about Japanese French cuisine.

https://www.reddit.com/r/anime/comments/537bio/spoilers_shok...
Well it could, but then there'd be nothing left for training.
If you want a real perk due like 20 days of mandatory vacation.
I’m wondering how many companies fit none of the listed criteria?
I wouldn't recommend letting a tool decide what your IO is supposed to be.
>>And I expect the news sources that I am intelligent enough to pick to investigate and report with integrity.

Right, but see you shouldn't because that's hilariously naive.
Have you ever contributed to HaProxy? Have you ever tried committing massive alterations to major open source projects?

It isn't as simple as here's my massive rewrite, click the accept button and everything works out for the open source community.

Let me be the first to say that the level of politics, circle jerking and knowing people is ridiculous.
The Two Generals Problem
Lingo Stickers Pack for iMessage
I don't understand how they can legally do that. When you repossess a truck you don't get to leave it at someone else's loading dock for free.

Wouldn't it be the creditor's obligation to pay the fees or move it somewhere else to be moored?
Oh I know, but my opinion and experience in half a dozen statically typed languages over a decade is that most type systems add much more overhead to development than agility.

I do want types when building native software, because these sit directly on the CPU and have to match the hardware. Other than that I feel they at best give you the illusion of robustness - unless the type-system is actually sound but very, very few are.
I'm not sure what you're trying to say. The algorithms adjust for bots, spam, cross-platform duplication, etc. 900M - 1B is defined as the Monthly Active Users figure.

Naturally, there are areas where we know the algorithms are not translating the inputs to real users with 100% fidelity, but we know that the discount is relatively minor, not nearly as substantial as youre suggesting.

Multiple counter-parties had their teams diligence our user figures and associated algorithms and found them to be generally accurate representations.

Unless you're using a different definition of "active, monthly user" that deviates from the industry norms?
Is it just me that sees a legitimate need for close-hold embargoes in specific cases?

In this case, the FDA was releasing new rules that would affect medical device manufacturers and hence their stock prices. If reporters went around asking industry people for comment about this, then they would have been spreading material non-public information that would very likely affect stock prices in those manufacturers.

The embargo doesn't ban reporters from interviewing outside sources altogether. It only bans them from doing so until a certain time. If the journalist wants to be responsible, they can start interviewing after that time, and then publish a well-researched paper.

Lots of assumptions are being made about intentions, but perhaps this article makes the issue seem more evil/conspiracy-like than it is.
Nobody seems to have any trouble with "jon@jrock.us", other than spelling "jon" wrong. I think one time someone at American Airlines said "oh, that's neat". Otherwise, nobody cares.
You are measuring things too. If there wasn't a physical phenomena happening you wouldn't experience anything! You are using different tools, but you are doing the same thing as us "reductionist westerners".
Doesn't look like it

https://gist.github.com/coolaj86/e07d42f5961c68fc1fc8
https://github.com/isaacs/github/issues/156
Why Most Apple critique articles are garbage
There's possibly a couple of other cities. Kitchener-Waterloo (which is close enough to Toronto) and maybe Calgary. KW has the University of Waterloo which has spawned a number of companies including Blackberry, although SF (and Microsoft in Seattle) have been luring people south. Google did start an office here, though.

I've lived in Ottawa and it's big selling point for me is the various national museums. I used to love going to the National Art Gallery simply because of its architecture, but I did see an excellent retrospective on Escher (including a presentation by a guy who tried to take picture of places where Escher did drawings of) and one on Renoir's portraits. Skating on the canal is pretty big in the winter in Ottawa. A friend of mine commutes to work by skating on it. You're right in that it's not as busy as London or DC, though. I consider that a plus, but that's just me.

Montreal is beautiful, but you'd better learn to at least attempt French as you'll be treated better by the shops and restaurants for it. Other pluses are: the jazz festival, the comedy festival, and the F1 race. My sister and her family moved there in January as their jobs in Toronto were being phased out.
Canada isn't the typical country when it comes to social services. While much of the population is concentrated in cities the rest of the country is vast, Mongolia or Siberia vast. Some areas, while not vast, are extremely rugged. The west coast of BC is thousands of islands and tiny inlets.

For perspective, draw a line between Vancouver BC and Alaska. 800km and you cross 2 connected roads, one of which being the highway to Whistler. Note all the unconnected little towns along the way. Those are the areas at issue.

https://www.google.com/maps/@50.8144629,-123.3765517,7z

Regardless of funding, there are practical limitations. Nobody could ever deliver something like 10-minute ambulance services to every resident. There probably aren't enough ambulances on the planet to station one within ten minutes of every Canadian. And a good number of those would have to be airborne. Roads are not the norm for much of the north.
Simple Content Marketing Strategy for Startup Businesses
>I learned by reverse engineering DSP code in another platform which was used for obfuscation

Whoa, I want to hear about this. I have a couple of DSP firmware images I've shied away from reverse engineering as I don't know the platforms.
This has nothing to do with oil, it has to do with over-capacity in the industry.
Belgium unveils plans for its own highly intrusive Snoopers’ Charter
It is, yes, but people often proclaim "haskell has solved the 'null' problem", and it hasn't because bottom is the exact same thing as null.
Can attest...

Our site actually doesn't work if you are using uBlock. I fixed it at one point but... actually, I forget why it didn't get merged in.

Anyway, basically the response was almost "Who cares?"
I've fixed it. There are various models, CLA, assignment, etc. I didn't want to get into details of that.
Insurance against late delivery is available but very expensive. Ordinary marine insurance does not cover this. The cargo isn't lost, just late.
I disagree. I think we might soon be at a point where someone might be able to get a job just knowing how to use CNNs well. Why do I think this? Well .. CNNs have basically licked the problem of image classification. They require a lot of trial and error. So .. I can totally see people packaging this up (e.g. NVidia's DIGITS or TStreamer), and CNN skills become sort of like Word/MS Office for some industrial applications. These people won't get paid 500K .. more like what web developers make. Just my personal opinion.
They talk about running on "bare metal" but when I followed that link it looked like they were simply running under Ubuntu. Is it so much a given that everything is going to be virtualized?

When I think of "bare metal" I think of a single image with disk management, network stack, and what few services they want all running in supervisory mode. Basically the architecture of an embedded system.
is that similar to resident evil's prerendered graphics?
Yes, I don't understand the logic of how people can push identity politics and yet also be against racism/segregation.
The answer to that question is not complicated. It's either Apple or Foxconn, and it's clearly determined in their contract. One of them has it on their books as current inventory, not both.
[shrug]

Then ride the bubble until it pops and look for something else after that. Sometimes you really need to live in the moment.
All press is good press?
Not sure what you mean? There'd be 40 days of paid vacation without any onerous conditions other than perhaps taking day 1-40 off.
Show HN: Super Simple Worker Queue in Go
This is an argument I can understand. It usually turns into some sort of weird conspiracy theory about telecos being in cahoots with Apple.
Over the past 20 years, I've gotten all 120 stars in SM64 dozens of times. I still consider it one of the greatest games ever made.
You're definitely right that most ML jobs aren't DL all day everyday. But if you are working with data that is rich and fairly homogeneous but hard to model (like recorded speech) then you'll probably benefit a ton if you use DL due to the ability to learn underlying representations. If that's what you are up to then you do spend all of your time building and tuning DNNs (all three ML people at Deepgram are doing that at this very second :) )
This looks excellent, and I'm going to curl up with it and a cup of tea tonight to read it more carefully. Thanks!

Would love to see the author do one for the GPL. I realize the result would be quite a bit longer.
You got it exactly the opposite way.

Because JITs do type inference and compile specialized code with an assumption type doesn't change, they stop working when type(s) change(s) dynamically. When that happens, JITs need to deoptimize code, which leads to a dramatic slowdown.

In other words, changing type is the case where JITs don't help and their performance nosedives, because it breaks the underlying assumptions on type stability. Type stability is needed to generate compiled binary (x86, ARM, etc.) code.
I purchased my own credentials from the hackers just to make sure nobody else gets them. So much easier than coming up with another password.
Yahoo won't let you enable two-factor auth with a Google Voice phone number. Oh well, time to delete my account.

Here's the magic link:
https://edit.yahoo.com/config/delete_user
Cal Newport's "So Good They Can't Ignore You" offers a lot of insight here.

Book - https://www.amazon.com/Good-They-Cant-Ignore-You/dp/14555091...

Talk - https://www.youtube.com/watch?v=IIMu1PGbG-0

Edit: Grammar / formatting
Critical Hit – Games User Testing Platform
I'm surprised at the number of daemons in OpenBSD's base that were calling fork() and not then calling exec(). It seems they're now all adopting this which is good.
Hospitals give a wide range of antibiotics to people once they're admitted. Since after admitting someone they're legally responsible for their health.
Oh, no, definitely not. You're right, that would be absolutely ridiculous. The base 10+ apps or so I mentioned earlier are listed a bit further down in this thread here:

https://news.ycombinator.com/item?id=12555847

That said, Linux is looking more and more appealing every OSX release and with how much I use it already via docker containers, virtual machines and the like, that will probably be my next move if Apple continues removing power user features from OSX while letting software release quality continue it's decline. There are some amazing open source alternatives available for the vast majority of apps on that list that I've been testing for months now as I honestly don't believe Apple really wants to change to meet the needs of yesterdays power users anymore.
Oil is much less of a factor in shipping costs than people realise. These container ships are incredible, in terms of what they can carry versus the cost of the fuel.
To be fair, sustainability will involve compromising on some things - it would be wishful to think that we can do it only through technology.

I think the entire point of sustainability is to avoid the much lower quality of life that would come with climate change and resource depletion.
> I wonder if other people have come to the same conclusion, or if there are flaws in my reasoning.

Unfortunately, it doesn't work the way you've hoped. Although there are some licenses (e.g., Apache) that purport to apply automatically to new code submitted to the licensed codebase, the MPL doesn't make that claim, and such clauses are legally dubious anyway.

So just because I write some code that can be applied as a patch to your MPL-licensed codebase, my code is not automatically subject to the MPL. By default, I hold the copyright, with all rights reserved, and the MPL license on your code does nothing to change that. You still need explicit agreeement from me to place my code under a compatible license.

Github, Gitlab, et al., should really put a checkbox on pull requests that says, "I hereby license this code under $REPO_LICENSE."
You're like this guy who doesn't like seat belts because he finds them uncomfortable :-)
https://air.mozilla.org/subscribe2web/

It was actually $6.20/year at that time. I've been generous with the $10/yr. I also consider $20/year a win for consumption companies as that would mean we could outbid ads for our own eyes. It seems stupid to have to say that but you'd be surprised how little money an individual makes on their own.
My parents live about a half hour from Belleville which itself has decent Internet. But, where they are they're basically stuck with cellular. They have a WiFi-Cellular modem that they use. Unfortunately, they have a tiny data cap for people who would use it as their main Internet service. I think they upped it to 10GB.
We're talking about the industry(shipping) that insurance was invented for. No industry has more experience with calculating risk than the shipping industry.

This will undoubtedly have some effect, but I doubt anyone on Hackernews can reliably predict it.
Visual Studio Code: JavaScript Extensions
Well, that's a more general problem with indentation based languages, but Python users seem to be happy. It's a tradeoff, code that's (arguably) more pleasant to read, for a bit more work while writing it.

It's true that gofmt-like tool would be less beneficial, but I think that most of the things you've mentioned could be helped with editor/IDE support, e.g. indent-aware paste, block navigation and so on.
Just wanted to say I love the site. Very refreshing to see a strong utilitarian design like this. Congratulations on your success by the way, I hope it continues
Actually does that happen?
I though the Ad-Blockers by now reroute to similar pages, who do not bitch?
https://haveibeenpwned.com/

More relevant than ever.
We've tried this but so far they all prefer the contracting life - and we need some consistency rather than switching contractors often as they pick up new work or just vanish.