skysight-inc/HackerNews huggingface dataset:
If you know there'll only be one concrete implementation, then yeah don't bother.

What people sometimes forget though is that any implementations of this in your tests are also concrete.

Some things like a DB accessor, will use a mocked/lite implementation in testing for code that doesn't need access to the db (but still needs to be provided data) to test it's functionality.
You don't actually need to do any of that. If you're writing Ant, I assume this was at least 10 years ago. Modern Spring Boot is all annotations and using an ORM is out of fashion. Maven can be a little complicated, but it's easy to work off an archetype and it's far more sophisticated than npm. Python doesn't have this problem, but it also just doesn't have these features as an option. You can certainly build a Java project with javac but we generally don't because Maven is better.
i looked over the tutorials and curious to know, whether the tutorials are representative of how Netflix does ML ?

is data really being read in .csv format and processed in memory with pandas ?

because I see "petabytes of data" being thrown everywhere, and i am just trying to understand how one can read gigabytes in .csv process do simple stats like grouping by in pandas - shouldn't simple SQL DWH do the same thing more efficiently with partitioned tables, clustered indexes and the power of SQL language ?

i would love to take a look at one representative ML pipeline (even with masked names of datasets, features) just to see how "terabytes" of data get processed into a model
Avast got from the best (free) AV solution to join the scum AV that is malware.
True, but maybe that's partly because it's an order of magnitude smaller than the same program written in Java?
This is just about the most perfect marriage of domain and website I've ever seen.
How do online IDEs like Repl.it work?
I was curious about underlying technologies used in online IDEs. My random guess is they start a new docker container for each user session. Do you guys have any idea?
Wasn't there an article on here the other day saying that you literally can't use a RokuOS-equipped TV without creating an account first? Or have I imagined this?
It is grey matter and not skin color or gender that should be the relevant indicator for fields that require a great deal of competence be it airline pilot or airliner designer or nuclear power plant (NPP) operator or engineer, etc.

I'm all for being color blind and gender blind when it comes to hiring.

What is wrong with hiring people in critical fields of STEM based on competence and ability?
I can't imagine writing Java in a plain vim session. You would need a photographic memory.
That's something different. Blazor compiles c# to webassembly to run in the browser.

This software (Wasmtime) allows you to run webassembly code from within .net.
Is bullshit if Microsoft accepts this, but there`s always alternatives to github. So, in the end nothing of value is gonna be lost.
I wish I could upvote this more - it is probably the one cycle that replacing with redistribution via tax will solve more suffering than anything else
You'd think so but most vendor security patches appear very quickly even for 90s style systems, the problem is almost always the customer's own processes. All vendors in the pharma business space maintain a dedicated support and patch team for all deployed and commercially supported products and or course charge customers for the privilege.
> visited assange several times at the embassy

Talk about burying the lede.
Github provides software lifecycle management services. It is apolitical. I do not believe we should be trying to police the providers of apolitical software.
This!

I sometimes wonder if JS programmers know that with C#/VS you can just change the name of a class, and without doing anything else (not even replacing), all involved names just change, and everything works 100%, without writing any test.

And the same goes for moving a method to another class, or renaming member variables, modules, files... everything just works and is instantaneous.

To me, not being able to aggresively refactor withour worrying something will break somewhere is like backwards and old school (in the bad way)

When a project evolves, a class, a struct... grows and suddenly a name, perfectly fine at the beggining, does not make sense any longer. With C#/VS you just change and 2 seconds later you're still working.
> visiting a potential Russian asset

That's unfair considering everybody is a potential asset to someone, whether the "good" or the "bad" guys.
> No. This is what many considered test induced damage. If the only reason why you create an interface is because a test requires it, you are damaging the integrity of your design.

Writing testable code is not "damage". An interface is a small concession in exchange for the well known benefits of automated testing.

I see where you're coming from and many programmers use too many interfaces as a reflex. But I absolutely think interfaces should be used to create seams for automated tests in front of components that do things like interact with databases, file systems, networks etc.
You're living in a modern IT dreamworld if you believe that.
The number of billion dollar companies out there with thousands of lines of VB6 code and Cobol on an AS/400 is a stupidly large number.
The LA Times has a (pay)-wall that keeps me from illegally reading their content, so I don't know what this article says.

But I personally think that uncontrolled migration flows lead to horrific human trafficking problems. The rapes and murders that get committed along this flow because we don't control our border as well as we did 20 years ago are unconscionable.

Yes, the next generation will vote Democrat, due to America's birthright citizen situation. But is that really worth the cost?

Github should help ICE do the best job that it can.
I posted this after googling something along the lines of 'firefox mobile turn off autoplay amp' and coming across this article which was a fun hate read.

For some reason it manages to sneak past autoplay disabling? How?
Pretty hard to get people to pay for services Microsoft provides for free
So in theory you could run Blazor on Wasmtime?
Coinfly
I'm curious how the new 3.0 functional api makes Vue faster while leaving backwards compatibility.
It seemed like a high ratio of "non-alphanumeric symbols" compared to a lot of other code that I read and write.
I never heard of darkscience before, so I will definitely check it out.

I seem to use IRC in irregular bouts, like half a year consecutively and then not at all for a year.

Is there a popular IRC plugin / protocol for pretty printed math formulas? This is also what I miss a lot on HN, but I understand it's due to a more programming centric audience. I wish either HN had math formulas, or a fork of HN directed toward scientists / engineers / mathematicians allowed it.
Yes. In fact that's intentional.
Fun fact: United used to be part of Boeing. The two were split in 1934 when a scandal around air mail pricing led to laws saying you couldn't both make planes and operate them commercially.

https://en.wikipedia.org/wiki/History_of_United_Airlines
Have you ever visited a news site without AMP enabled? It's literally impossible to use. Popups flying all over the place, unwanted advertising videos loading, megabytes of tracking JS loaded etc. AMP is forcing publishers to make sites people can actually use.
Yes, the standard is harmless, the way AMP handling is implemented in Google products is the worrying part.
I agree it can be inconvenient but don't iOS and Android kind of show that for most users the experience can be just fine? For us devs we can still either open our systems or find better ways but I'd prefer the default to be more closed.

I'd also prefer the default to be VM-ish. Right now I have 275 projects in my /home/me/src folder. Every one of them has at least a build process that executes code I have mostly not reviewed. Many of them execute more code after being built. Some of them execute code when they were installed for dependencies. Maybe I'm just not used to it but I'd really like if the process for isolating all 275 of those projects was somehow easier. Or maybe I'd prefer they were all isolated by default and that we could work on ways of making them easy to do the things they really need to do and hard/discouraged to do anything that would also be a security issue.

Maybe people have suggestions. I don't want an actual VM if it means I have to install 275 copies of OSes and 275 sets of semi global dependencies (like I don't want to have to install python 3.8 200 times) but I do want all 275 of those projects not to be able to read my private keys or my photos etc or write outside designated areas
I have a hard time filtering things out, and prefer text that errs on the side of being too concise where I can look things up if needed – e.g. Math textbooks or papers.

A lot of people are the opposite – they have an easy time filtering and skimming, and prefer all the details to be there on one page.

I think this plays a pretty big role in language choices – I find codebases in more concise languages much easier to parse & work with, but others say the same about Java/C#/etc.
I mean, I have a TomTom satnav that has a built-in sim to download latest traffic updates and sync with my TomTom account. The device was about £250 when I got it 5 years ago and there is no subscription to pay at all, it has "lifetime"* always-on connection. So I can't be that expensive, or TomTom would be losing money by now.

*lifetime - defined as "lifetime of the device", whatever that means. 5 years in and it still works fine.
How about offering support in all the countries and time zones a world-wide rollout would require? That's not trivial.
Hello! Now you've met a female dev with no CS degree. There may be a reason we're thin on the ground, too. My "training" as a software dev consisted of 10 years of self-employment as a freelance web developer, and when I decided to transition to working for a company, I faced massive hiring discrimination. I couldn't pay someone to interview me! And I did demonstrate that it was discrimination, too. My resume was getting something like a 2% response rate with my name on it, but I put a man's name on it and sent out a bunch, and suddenly I was getting a response to more than 80% of them.

Anecdote is not data, and it's only my individual anecdote, but it's my experience that breaking through into the industry to be incredibly hard. Since then I've made up for lost time and advanced faster than a college grad would expect (junior dev in a shitty agency to enterprise lead dev in about four years), and I attribute that to spending so incredibly long as essentially a junior dev freelancer and just being older.

So it can be done, certainly, but I strongly suspect there are several filters working against self-taught developer women making that transition into the industry, and one of them is definitely gender discrimination. And no, aside from sending out resumes with a man's name on them, I don't know how to fix it.
GitHub gave discounted rates to ICE. That's not an apolitical move.
> (I never got on with Rails because of this... what just happened? why did it do that? where does it say it should do that?)

With Spring you get to ask all these questions...with all the boilerplate of Java as an added bonus!
Are they ultra-processed like dog food (as the meat industry ads say) or are they ultra-processed like sausages (as the meat industry ads don't say)?

Dogs can live off of nothing but dog food and water without their kidneys giving out and without getting obese. Imagine what would happen if we only fed them water and sausages.

Does anyone actually believe that a burger or sausage substitute is replacement health food? Could it be that Beyond Meat et al simply replace burgers and sausages?

These ads are propaganda at its best.
Because then people like the ones tearing down their strawman "Java is verbose" would be closer to having a point.

Annotations work really well: they are easy to write, easy to write and typesafe enough.
Would the language described in the article (Unitliy) be harder to refactor? Why?

Python is not static typed, it won’t refactor as easily.
Expedia CEO, CFO Quit in Clash on Strategy
KubeCon San Diego Highlights
Uh. Question. Why are you executing tests to get the compiler to tell you what was effected instead of doing a top level recursive grep to identify any classes or configs with an explicit symbolic dependency?

I mean, you get the same result, sure, but I find I can hardly ever rely on test coverage alone as an accurate safety net to clearly indicate whether I've reached an actual stopping point for a full refactor.

This is one of the ways in which Java excels, in that that loop is fully accommodated for in most major IDE's.

You can still get caught by surprise at runtime, but I've found that for a strongly typed language like Java, the syntax, and necessity of boilerplate makes most bugs obvious until you start getting overly dependent on frameworks you don't understand.
Wow this just blew my mind.
44 Developers. This does not represent the majority.
"because we don't control our border as well as we did 20 years ago are unconscionable."

From what I understand we actually control our border much harder than we did 20 or even 30 years ago.
>literally cannot fly without the MCAS system functioning perfectly.

This is not the problem. The aircraft's performance is within the bounds of "perfectly acceptable for what it is" but it is too different from the existing 737s in a particular area. If the portion of the MCAS that handles this particular area were just turned off the MAX would fly fine but it wouldn't be close enough to a 737 for anyone to say with a straight face that pilots can fly without retraining. This need for pilot compatibility lead to a faulty implementation of MCAS of which flies the plane into the ground in certain conditions.
I hope the 30% lower fuel burn per seat compared to previous generation aircraft is not due to packing the seats even tighter.
I love these posts - this has been talked to death.

The last thread had some good illustrations comparing media sites non-AMP pages (the bloat from ads / javascript / etc was INCREDIBLE) to AMP pages.

Google puts a little icon next to amp pages at least some of the time. These pages usually load VERY quickly in my experience - somehow whatever AMP/Google is doing results in less bloated pages on these AMP pages.

I wouldn't be surprised if users start naturally gravitating to these pages for the better experience. I know I have sometimes just because I know the page is not going to trap me on their site if they are AMP. I can usually get back to search results with AMP, where other sites do a weird thing where they pop up a registration page in front, then even if you fight through that you have to fight through some registration redirects to get back.

I wish google would push down news sites I don't have memberships too though - banging on paywalls is annoying - I pay for a few sites already -> be great to have those be the ones surfaced most often.
Show HN: All videos posted to HN – ranked, indexed, and displayed with comments
"correcthorsebatterystaple-style"

Are you saying those are better than the 'keyboard encryption'? Because they're not, every password cracker has functionality to string dictionary words together in various permutations.
If you use DuckDuckGo you don't have to deal with AMP at all. Giving it a go on mobile is a good way to see how well it works for you too as searches tend to be less mission-critical compared to desktop-based searches.
Java is about great design not minimal lines and concise logic. Java is about design patterens. Its a masters environment not a grunt workers tool.
When you subsidize something you get more of it. Don't donate to WMF. If it crashes and burns it is trivial for anyone else to host the existing material with <10 employees and <100k year hosting costs.
Selling Juicer
Probably the most promising marketing automation solution on the market
Wordpress External Images Importer
For large code bases, most languages get unmaintainable without an IDE, putting Java at an advantage

That’s an assumption which advantages Java by default. Other languages may be able avoid having a large code base entirely. I recall reading some stories of people rewriting giant Java code bases into very small Clojure programs that were more flexible, maintainable, and scalable.
Hi all,

This is a project I’ve been working on that extracts references to talks and videos in the stories and comments of Hacker News. I’ve extracted about 207,000 references to 95,000 unique(ish) videos. The videos are then scored using aggregations on story points and comment popularity and sentiment. Rankings are produced for the last week, month, year, and all time. This is all being updated fairly continuously using the Hacker News Firebase API.

All 95,000 videos are full-text indexed on their titles and descriptions. Matching search results are ranked by their all-time score.

Also, email digests are available to subscribe to the regularly updated rankings.

Enjoy — feedback welcomed.
Controlling the border doesn't stop the flow. Only dealing with the crises in places like Guatemala and Honduras will do that. Sending people back significantly increases the likelihood that they will be murdered. But ICE aren't even doing that; they're putting people in indefinite detention in vast numbers.
And in the late 2010s JavaEE broke through and things are now really really nice if you are working on a modern Java project where people know what thwy are doing.
In moxie, everything is procedural, as it were. The declarative syntax is a way to invoke "imperative but idempotent" functions, and the core runtime provides tools for wrangling mutability and repetition in those functions.
YAFUATMCWCIN

Yet Another Fucked Up Attempt To Make C What C Is Not

C is not “unsafe” as in “flawed”: it’s designed to fill certain gaps.
Its syntactic stability through the decades - as well as its “minimalism” (for a lack of better word) - are among its most important features.

Personally I have been having an hard time trying to figure out why there’s some part of the industry that desperately tries to change what C is in a way or the other.

...but probably I’m just an old Valley fart. Apologies for the rant.
This in itself is a political stance.
Are self driving bicycles really a thing? Anyway, it is apples to oranges, cars are way more dangerous.
Nothing is "apolitical". Everything has consequences. You have the luxury of painting those consequences as "politics" when they don't impact you.
Thanks for this link. The team i'm with is considering creating a role like mine for several developers in remote-from-home-office locations, and this will absolutely be a tool to consider for that group.
This is a trend I see reemerging with the hyper focus on VSCode. At some point people won’t be able to work on their projects without it. That might not be a good thing... as we have seen with Java.

I like being able to consider a shell to be the lowest common denominator for a codebase. If basic shell commands, environment variables, a vanilla vim/nano editor etc... can’t be used to hack on your system then I think it’s far too coupled to tooling.
Websites WERE building horrible, non mobile news articles in HTML when AMP started at Google in 2015. The news articles were so slow and wasted so much bandwidth that many news orgs wrote bad apps (think CNN app; BBC app) to replace shit with even worse shit. That's what you get when you skimp on frontend engineers!!!

AMP gives little guys, the ones starting blogs and trying to grow, a shot at freedom of speech. The web was developing in a way that the big players like BBC and CNN would dominate with big budget winner-take-all walled gardens. AMP is one of Google's most anti establishment services, which means I'm sure Ruth will be killing it very soon!

This meant Google search on the mobile web was literally dying. Every year more and more content was being locked inside walled Gardens!! I was a maintainer of AMPHTML 2015 - 2018 at Google. The project is hibernating and loses a ton of money I know I worked on the budgets for flash memory for AMP. At the time Facebook and others were proposing proprietary non HTML news document formats. Google, to keep HTML alive, decided to cache amp for free, which subsidized hosting costs for ALL news websites. I hate it that now I have to switch browsers 2x to write an article comment, too! But news apps NEVER supported this AT ALL!! News apps NEVER supported a working search feature AT ALL!! News apps NEVER supported a good user experience or global search AT ALL!

If you want to rant, blame the bloatware mess that is HTML, it has almost at killed The mobile web, not AMP! AMP is Google's attempt to keep HTML alive on phones ...
"In a fact sheet circulating within GitHub, employees opposing the ICE contract wrote that the GitHub sales team actively pursued the contract renewal with ICE. The Times reviewed screenshots of an internal Slack channel after the contract was renewed on Sept. 4 that appear to show sales employees celebrating a $56,000 upgrade of the contract with ICE. The message, which congratulated four employees for the sale and was accompanied by emojis of a siren, bald eagle and American flag, read “stay out of their way. $56k upgrade at DHS ICE.” Five people responded with an American flag emoji."

https://www.latimes.com/business/technology/story/2019-10-31...

Doesn't sound very apolitical.
Firefox on Android ( / Preview) is generally terrible with input handling anyway. I still haven't figured out a way to paste into a textbox without removing existing text — long press is required to show the menu, but also selects the last word, and unselecting removes the menu.
"EU paid Airbus billions in illegal subsidies, WTO rules":
https://www.bbc.com/news/business-44120525
I don’t really understand why people say a tax on owned capital is so far fetched when we are all okay with property taxes which is literally a wealth tax on a subset of owned capital. The only difference is that property taxes are regressive and not progressive
Strictness of syntax and language. It means that ctrl+space gives you exactly right methods into popup, that if you rename the class all places that use that class and no other will be changed, you can rename method and trust that all correct calls will be renamed too and no other.

You can find all the places that call a method and know they are really all. That sort of basic thing.

E.g. not for writing, but for analyzing what unknown code does and for refactoring that code. Comparing to javascript, in js you have to be much more careful when refactoring and changing things.
In terms virtuous google sv teams can understand:

#Resist #GoogleBias and #GooglePrivilege
> I wouldn't want to manage a large Java codebase with it.

Why not?
> Those are very simple things, but I'm also curious how you can do some advanced operations like group by having, window functions, CTEs, aggregate functions that return JSONB structure (so you don't have to send duplicate data and avoid N+1 queries). How do you use PostGIS?

You don't! That is not what an ORM is for. Use SQL. Any decent ORM with allow you to integrate SQL.

Check out the Fluent (query builder) and Eloquent (ORM) from Laravel. They allow all the features you want.
The Hippie Van for $420 is a nice touch too.
Don't be silly. Plenty of things are apolitical.
ICE deserves to use the shittiest possible software, not the best.
I have trouble understanding from this article what the problem is with ICE (I'm from outside the US). The developpers disagree with the whole purpose of ICE, because they trakc refugees, so they don't want github to have anything to do with them, is that correct?
What criteria does GitHub use to decide who gets discounted rates? Do companies over X emplopyees get a discount? Do Government agencies get a discount by default?

I don't think it is fair to make a judgement that this is a politically charged action rather than just business as usual.