skysight-inc/HackerNews huggingface dataset:
> Compiler errors and their quality are fundamentally an implementation issue.

I don't really agree here; language design can place constraints on the quality of errors emitted by implementations. There's a reason Concepts are such a widely desired feature in C++, even though template errors now are vastly better than they were in the past --- there's only so much you can do with the language in its current state.

> I‘m talking about the design of the language and what the user has to deal with all the time, not just in the error case.

I'm inclined to say that fixing/avoiding type errors is likely to be far closer to what programmers have to deal with all the time than having to write contracts, especially for library types.

In addition, it's not just the error case that's involved here. If you're writing generic code with constraints on the involved type(s), those constraints are probably going to have to be documented somewhere anyways. Why not write them in your source code where the compiler can help?

> Designing primarily for beautiful error messages is a flawed concept IMO.

I'm not saying that the design has to be primarily for beautiful error messages; it's just that useful error messages are important and whatever design emerges should try to enable helpful error messages.
> Portability is nice but the reality is that almost no one uses it.

On the contrary - for example, lots of people develop on MacOS and deploy to Linux.
Open an image and then use shortcuts.
What I'm actually getting at is that AI/ML is now at the point where if one says "You need a Master's/PhD to do this sort of stuff" then it's like saying "You need a Computer Science degree to develop and debug software". The libraries, frameworks and operationalising of ML models is mature enough at this point that it's accessible to a wider audience than just people with research-level academic backgrounds.

I'm not saying that your average web developer with no formal training can or even should be putting this kind of stuff in production. But someone with an undergraduate degree in Computer Science that's had a year or two of calculus and linear algebra and first year mathematical statistics should have no problem whatsoever in practice doing ML/AI. I mean look at this:

from sklearn.model_selection import KFold
# Define 10 fold cross-validation
cv = KFold(n_splits=10)
from sklearn.model_selection import GridSearchCV
svm_model = GridSearchCV(svc_pipeline, param_grid=svc_parameters, scoring='f1_micro', cv=cv)
svm_model.fit(X_train, y_train)

A few lines and you're doing hyperparameter optimization on an SVM model with cross-validation. What a time to be alive.
Real News Is Worse Than Fake News
Not trying to be a negative nancy, but isn't this all kind of obvious?
Could you expand on what "Your way" is? I really really like VSCode for Python and never had the nerve to learn VIM, so I'm wondering what you do that causes it to be a fight.
Interesting, with all of the money that Microsoft has, why can't they fix these backdoors and exploits? For many years now, MS Windows has been the "most" exploited OS in our history.

Maybe they're under an NDA with our, USA government thus allowing all these issues to exist.

I know they can fix these issues. They have the manpower and money to do so.

The community should start pressuring them to fix their OS and plug those back door holes and exploits.

Peace
Nah, the spirit of the law is a better thing than the letter of the law.
It was a very interesting paper, thanks for writing it.

Now to figure out how to fuzz my program...
So its a bad idea? Well, at least its mine.

Anyway how often have you used URLs list-like?!
And how often have you used Google(which offers List by Search)?
These are good articles, but would benefit from an editing pass.
Need WSL support for the Python extension! Right now it's impossible to use the Python extensions from within the WSL environment.
I don't think it makes sense. Most languages read left to right. The thing I'm most concerned with is what specific site I'm on. If I'm on facebook.com, the most important thing to me is "facebook", not "com". So it seems natural to me for that to be on the left.
Like with your monitor off or something? How do you not look at the UI when editing an image?
Compiling libimobiledevice and Extracting iOS Developer Disk Images from Xcode
It's already here:

https://www.wired.com/story/the-sideways-elevator-of-the-fut...
I haven't read it (it's on my list), but I'll pass along a recommendation by someone well suited to know: https://twitter.com/johnregehr/status/1037098838752784384
I am kind of surprised at everyone here saying how important it is. I would say its a far more crucial skill to be able to learn by yourself for this industry.
yes, the github. 5% of the target audience might read that. trivial to add the credit on the graphical page, and no excuse not to do so.

third fault, which to me should ban this page from the internet: he has dared to put a "2018" text on his page, insinuating that it's new data, or some new insight, as opposed to being 15+ years old.

when the original text is more understandable than your visualization, you dun goofed
Affinity Photo / Designer are very very far from Photoshop. Affinity Photo is a replacement for Lightroom (raw photo editors), and Affinity Designer is a replacement for Adobe Illustrator (vector graphics).

Although you can do vectors and photo editing in Photoshop, the main purpose of PS is raster painting, which neither Affinity Photo nor Designer are remotely good at.

As such, neither of them could replace GIMP or Photoshop.
The market’s bigger than you’d think. I do this full time, have for two years. There are a good dozen or so software products that purport to do the same thing, with mixed results.

The problem itself (“the bill is too high!”) is deceptively complex, particularly to a larger company.
Take a look at `lnav` [1]. It's ideal for chaining w/ other cli tools, has an embedded sqlite engine, and makes it trivial to parse and query any kind of reasonably structured data.

[1]https://lnav.org
It was actually my doctor who recommended this after a blood test showing I had a Vitamin D deficiency, and initially I was taking 15000 IU for a short period. I have been doing this for at least 6 months now with no ill affects, and many positives ones ( better mood, better sleep, better energy, etc...)
Blender has slowly improved over years - things got more consistent and (given the complexity of the domain) it made the standard operations more obvious. I'm excited to see the 2.8 changes, but I certainly don't mind it as it is.

GIMP, however... makes me (every so slightly) annoyed every time I use it. I have to google so many task that should just be intuitive.

It does the job, and I still use it as my primary editor - but it's not something I look forward to opening... but it could be! I'm hoping it'll get there eventually!
Browsers should only reable URLs, that means GET parameters shouldn't work.
It was already one of the best out-of-the-box experiences of any Python IDE I've used.
I'm... pretty dang okay with that response on issue 456.

> To elaborate, the GL driver is incorrectly treating const variables in the shaders as uniforms.

That's a pretty serious bug in the driver. I might also simply refuse to work around something that colossally flawed.

And to which someone declares "not a smart move", and he said, roughly, "okay, I'm stupid then ┐_(ツ)_┌". Yeah. Okay. This isn't exactly flaming someone out.

(The calibre/setuid things are a little less impressive. Though on the other hand, again, I can almost see the sense; I also have some serious beefs with the core design of the linux mount API right down to the syscall level.)
>It essentially felt like Emacs for 3D editing.

Which is exactly the complaint :D

Blender has a very efficient UI that is great for power users, but it has a much bigger learning curve than the competition with their point&click UIs. Add to that that most people are trained on Maya/3ds Max/Cinema 4d, learning Blender is a big investment with uncertain payoff.

Basically the same reason why very few people use Emacs or Vim nowadays.
I didn't read the whole article, but the title itself is a big giveaway that this is a bad one.

There is literally nothing similar between CNNs and RNNs apart from being types of neural networks.

Their designs are fundamentally different, to accommodate fundamentally different problems.( Temporal and spatial respectively)
Creating Your Own Token
> I have to say, it baffles me how much time programmers are willing to put into open source works but apparently it's impossible to find UI designers who are willing to do the same.

So you're surprised it's hard to find UI designers willing to work for free? I'd argue the surprising part is that there are programmers that ARE willing to work for free or reduced rates on open source.

Both of these disciplines take time and effort to learn and then perform. The people that do them not only pay these costs, but have their own obligations to themselves and their loved ones they might need to help support. It doesn't surprise me at all that the vast majority of people with these skills choose (or are forced by circumstance) to do something else.
Using a test of how hard something is for you to imagine isn't leaving intuition very aside, is it.
It's also the most complicated, popular and most legacy kept OS out there.
>"Some URLs are good for sharing, others aren't."

This is one of the things that definitely can be improved on. Having something either in the URL or in page metadata to say "this is linkable". This doesn't warrant a replacement, however.
RealPaths (TM)

(ref to Real Names, for those not old enough to remember)
UAE is an absolute monarchy; using this as an argument against hate speech legislation seems.. overreaching.
Yeah - I never studied differential equations in college; I sort of know what they are, and that there's a famous problem that involves a snow-plow plowing a field while it's still snowing, but that's about it. I've always been curious, though, so I clicked through the link. Per the introduction, I jumped ahead to the "what do you need to know from calculus" appendix just to see how much I did remember. Derivatives, integrals, ok, sure I remember that. Trigonometric functions? Um, yeah, I think I remember that - adjacent over hypotenuse, tangent, theta, sounds familiar. Half-angle, double-angle... getting rustier, but I think I remember that stuff. Hyperbolic functions? Oh, boy... yeah, something to do with the way power lines hang. I remember remembering that once. Integration by parts? Oh, man, I don't know if I ever learned that. Geometric series? Power series? Binomial expansion? I read about those in TAOCP, but if I ever studied those in class, it went in one ear and out the other. And that's what I need to know to start reading... maybe I do need a teacher.
Agreed, while I dont think everyone needs to be a car mechanic, the idea that we need to simplify and hide every component of the web is actively harmful.
I have been following this extension ever since Don Jayamanne joined Microsoft. This has grown by leaps and bounds since then and is a fantastic extension.

I was a little leary when I learned they were tossing out jedi in favor of the VS Python language server. However, after playing with it for a month or so now I can tell that it's a drastic improvement over what's currently in place.

If anybody from the MS team is watching this thread, care to share why you chose to invest in the VS Language Server instead of investing in Jedi further?
As much as I love Perl, it has a reputation of being exceedingly difficult to parse accurately, hence IDE support will never be great. There's also probably more demand to support hipster languages than last generation's work horses.
This sounds like something Amazon would do its best to crush out of hand.
> It's not about getting rid of URLs, it's about not displaying them to most users.

And one of their incentives in doing so is that Google is an alternative to URLs. Already many users Google ‘facebook’ and click on the first link rather than just typing ‘facebook.com’ (or ‘face’ TAB ENTER).

Although I don’t believe I saw it in the article, it’s in Google’s interest to mediate all access to the Internet for consumers — this isn’t fundamentally different from Facebook’s VPN. It’s not in users’ interest, of course.

If they cared about security they could do something like display the domain & the path separately, maybe on different lines (with maybe colour used to distinguish HTTPs vice HTTP):

news.ycombinator.com
reply?id=…
Food shortage. Cull the older and least fit individuals, and the younger ones can stay healthy through the shortage and then reproduce more readily after it is over.

Overpopulation. If the species is too successful, it may overgraze its environment and cause its food species to crash, leading to mass starvation of both the subject species and any other species that eat the same things, or anything the subject species begins to eat because its preferred food is scarce. This is the usual reason why deer herd management issues extra doe tags for a hunting season.
It was very difficult back then, it's even more difficult now. Think about 5G: we know already that it's a huge safety hazard[0]. But we'll use it when it's out anyway. Why? Because of short-term benefits. Because the negative effects cannot be measured immediately. Because the tech industry is extremely powerful and there is no way we can avoid 5G, it's simply too late.

[0] https://www.thenation.com/article/how-big-wireless-made-us-t...
If you need higher precision you could always either simply bump up the accuracy a bit using e.g. https://github.com/JuliaMath/DoubleDouble.jl or you can use the arbitrary precision numbers in Julia (https://docs.julialang.org/en/v1/manual/integers-and-floatin...)

The performance will of course change accordingly.
>Surely Parsi entrepreneurs (a century ago) got better loans... backed in part by the fear of angering a close community?

Could be. I do know that Parsis are said to take care of the elderly and poor of their community. They have retirement homes and do charity for them, etc. They are generally philantropic too, like some others. Good of them.
It seems that some recent versions of Chrome are even hacking off the "www." from many URLs. Initially very confusing when I was testing some redirection the other day...
Guide to a Great App Store Optimization (ASO) Strategy
The value of my question was to point out that the argument that pigs are bred for slaughter and therefore it's OK to slaughter them whereas for whales it it's not OK doesn't make sense. Pigs suffer greatly in our modern form of farming.

If people consider themselves above animals they should say so honestly and not make up an argument that doesn't make sense.
Pigs, Chicken, Cows.

Basically every animal domesticated for food is a separate species from it's wild counterpart. In some cases (aurochs) the wild predecessor is deceased. These species survival 'strategy' is to be useful to humans as food, as much as it is a lions to hunt things. If we suddenly stopped breeding these animals then they would probably die out.
It's a different scale. Human blood is well under 0.08% iron, this tree has 25% nickel. So over 300x as concentrated.

PS: 4 grams of iron in a persons body, ~5kg of blood.
> URLs is fantastic, solves the problem well and basically has little to no issues.

I strongly disagree. I do tend to think that they're useful and not obviously replaceable, but claiming they have no issues is dubious.

Spoofing, with or without the added level of sophisticated enabled by unicode. Special character handling (e.g. whitespace) is sometimes problematic. URL longevity is a real issue. Server-side security has been compromised in the past using "../" in URLs.

I'm sure I could come up with more, and I imagine there's a "top 10 fallacies programmers believe about URLs" list out there that would provide more examples.
MS totally dominates tooling. I am so happy with vs code, use it for my angular development as well.
Well, browsers are trying to fix this with graphical clues. Right now, all parts of the url apart from ".ycombinator.com" are grey in my url bar.(using Firefox)
They could mine contaminants from the WW! battlefields in the Zone Rouge. https://en.wikipedia.org/wiki/Zone_Rouge
For me, it was the focusing system. I could never get good results with autofocus. I threw out a ton of otherwise-good shots due to focus issues. I tried using a single, center focusing spot but that didn't help me much.

When I switched to the rangefinder, the focusing style felt very natural for me: "turn the dial until these two images line up". I can do that with great accuracy. It's not good for action shots like football games and moving vehicles so I use the Canon fo that.
The threat model for most people in the advanced protection program is "I'm a human rights activist and a government sent me a phishing link that looked like a Google docs login, and I'm not that careful, so I put my password in it", not "I run a backbone network that Intel agencies would love to tap and they're willing to expend lots of money/risk for that".
you should first handle memluks before going west. (in the history, whole memluk region is conquered by ottoman empire with only a single war)
That wasn't a procedural function, it was an FP function, but it had a bit of complex input. That kind of thing happens more often when you have a more complex business domain.
> Floating point pixel values should be supported as of GIMP 2.10, though.

True! I have just updated to 2.10 and it can open floating-point tiffs of one or three channels. The support is very limited, though. It seems to ignore negative values or values higher than 1, so it is mostly useless to me. Yet, I'm very happy to see new advances!
A Developer’s Guide to MongoDB Replica Sets
I've read, but not verified, claims that many farm animals would be extinct or close to extinction if we didn't actively maintain their population (for purpose of slaughter), as we've taken over their natural habitats.
Seconded. If you are a user, consider actively filing bugs and not expect them to be fixed by the developers without following this process.
I have a few things like this.

I sew when I'm brain dead and hate working. Not even organizing/grunt work sounds appealing, so I'll design and make some sweaters.

Ive also found getting stuck in a favorite video game has helped productivity. When I'd rather work than get past a hard spot, I'll keep working. Similar is true if you simply uninstall a large game.
Mentioning mosquitos, we need to keep in mind that (if the conclusion of the study is true) we traded a small--and at the time not understood--increase in autism for a huge decrease in mosquito-related disease. Millions of people who would have died in childhood are alive thanks to DDT and other insecticides.
"It's also separate from changing how URL's are defined."

URLs, as defined on the web using http and https, specify the use of DNS, which itself brings in a lot of semantics that are not optional. If you fundamentally change how domains are identified on the web, you're going to fundamentally change how HTTP & HTTPS urls are defined, either by rewriting the current definition or putting a new one on the side.

Since we're probably playing telephone here, at least two steps removed from the source, it's difficult to tell if they actually want to rewrite what "https://" means, or if perhaps they would create a new protocol ("ghttp://") which would define domains differently.

Here's a hyper-quick stab at an example of what that could mean. Imagine a world in which

ghttp:Bank of America: {
"server_namespace":"accounts",
"title":"Account Management",
"subhead":"Account Details"
}

is a legitimate "url" that you could use to link to things. The key here is not in the mere embedding of information, since of course you could translate the literal information contents into a URL no sweat, but that the semantics of ghttp would be redefined to A: change the lookup of "Bank of America" to use Google's home-grown domain-like validation system that is run like the highest-end TLS certificates B: contains a specification of how to render such URLs out in the user agent and C: probably contains all sorts of other exciting things that can go in that JSON blob because why not. Certainly the standard will not be a one-paragraph sketch on HN but run into the hundreds of pages, because that's how these things go.

One of the benefits, for instance, might be sold as making it easier to parse the URL with a JSON library than bashing regexes together as we do now, which is incredibly error-prone, speaking as one who has made many errors myself.

Technically, that's still a URL, if you ignore the newlines I added for clarity. It turns out that if you read the standard, there's nothing about URLs containing DNS-based domain names; that's a specific detail of HTTP, HTTPS, FTP, and several other schemes, but not technically a characteristic of a URL in general.

So I would consider it a valid interpretation of the article (which, as I said, is rather vague) to say that what is meant by "redefine URL" is "redefine the set of URLs that user agents are used to using" and that Google may want to create a new protocol scheme.

It's also faintly possible they want to actually redefine "https://" itself, but, while there's technically room to do that in some sense, I don't think it will succeed.
> UAE is an absolute monarchy

It's actually a federal monarchy. "The country is a federation of seven emirates consisting of Abu Dhabi (which serves as the capital), Ajman, Dubai, Fujairah, Ras al-Khaimah, Sharjah and Umm al-Quwain. Each emirate is governed by a ruler; together, they jointly form the Federal Supreme Council. One of the rulers serves as the President of the United Arab Emirates." So in practice, the presiding monarch's power is checked by the other monarchs. Still far from democracy and of no use in a discussion about hate speech laws.
> hanging over the whole subject is a suspicion that, really, as nice as the general theories are, mostly the applications are just a few, standard differential equations

I see something similar when it comes to machine learning. If you start to really dig into the underpinnings of the topic, you find fairly complex things like partial derivatives (for gradient descent optimization, for example), but you don't really have to understand it much to take it, apply it, and verify that the results make sense. On the other hand, I've been around long enough to have learned the hard way that applying something you don't really, fully, from-the-ground-up comprehend can bite you in surprising ways.
> It would not be moral to not treat these people. And of course, in the future it may be possible to target procreation cells as well, and we probably should.

If the father has the bad gene on both paired chromosomes, and the mother only on one, it is already possible to select an embryo that is sure to have a copy of the mother's good gene, increasing the net average.

If a mother and father both have one copy of the good and one of the bad, you can select an embryo that only has good copies of the gene.

You can make progress on getting rid of it every generation, without any gene editing, as long as it isn't on the Y chromosome, or mitochondrial DNA.
I'm re-reading it now.

If you loved it, checkout Ishmeal by Daniel Quinn[1]. It's a fascinating way to further understand what we're doing to the planet and why we are able to so easily justify it.

[1] https://amzn.to/2MOZciN
Show HN: Interactive Machine Learning – a collaborative list
good for you. Maybe try saying something positive next time, even if you have to fabricate it. Or just don't comment.