skysight-inc/HackerNews huggingface dataset:
I've never tested 100% of my code.

But I've also never written a unit test that didn't expose bugs.

That's mainly because I know what parts of the code will be dicey, and focus unit tests on them.
got-dang? Is this atheist slang?
Anyone from Confluent / Kafka?
Confluent maven repo seems unusable for all people behind a Nexus proxying external repos, which is AFAIK a very common case. So what is the problem in making the maven repo browsable?

This could be solved by making http://packages.confluent.io/maven browsable. Is there a reason that this hasn't been done?

Why cant a company like confluent fix one of the most basic issues for such a long time ?

https://github.com/confluentinc/schema-registry/issues/759
That's the culture - so many people consider it ok to break backwards compatibility, although it's almost always trivial to maintain it.
Interlingua is better.
They’ve certainly gotten suspicious after the first two loops.
Google Maps is fully compatible with MicroG, a free and open source replacement for the Google Play Services client. MicroG includes UnifiedNlp, which was discussed in the blog post.

https://microg.org/

https://lineage.microg.org/

At the moment, I recommend the previous version of MicroG (0.2.6.13280) since the latest version (0.2.7.17455) may have compatibility issues. If you're using LineageOS for MicroG, builds on or before June 2 use the previous version.

NewPipe is like YouTube, but also with a background music player, a video/audio downloader, and no ads. It also supports SoundCloud.

https://newpipe.schabi.org/

You can use NewPipe regardless of whether you are using LineageOS or MicroG. It's not available in the Google Play Store (or the iOS App Store) for obvious reasons, but you can download it for any Android device from F-Droid.
And coming up next, a licensing scheme for people who invent licensing schemes.
Agreed, might have rushed this part of the intro. Edited the story to add some more important goals. Thanks for your feedback!
This is a total aside, but I really don't understand voting on comments. I've no idea what it could mean - levels of agreement, interest, offensiveness (or scores of other possibilities)? It seems entirely meaningless, therefore pointless, to me.
CoreBrightness is similar across the platforms.
Then you're just making a Linux distribution, or something like Android I suppose. You may as well say extending Chromium would solve the web monoculture issue. That isn't how it works.

> I think that nail the software (app + dev experience) is a bigger challenge and priority than worry about the (external) hardware.

You are ludicrously wrong. Using the Linux kernel as an example, because drivers are in-tree, as of 4.19 (late 2018): https://raw.githubusercontent.com/udoprog/kernelstats/master...

As you can see, drivers are the vast majority of the kernel. And Linux's hardware support is often called out as a reason people use Windows or MacOS!
I really dislike people recommending Signal in a post about free software since Signal has a pretty bad track record when it comes to allowing non official clients to connect to its network. So much for user freedom.
Interesting perspective. I do agree that it is not good that he did not keep updating his skills but he has a few clients even bigger than us and is going to retire soon, AS400 has served him very well.
NT supports interfaces for supporting a fork model efficiently, it's just not well documented. In fact, you can write an efficient, Windows-native POSIX environment entirely from user space using existing APIs: https://midipix.org/

The only thing that NT really lacks is a Unix-style TTY subsystem. The interplay in Unix between TTYs, process control, and signals is complex and deep, and none of it lends itself toward abstractions--it's all quintessentially Unix. For almost everything else, NT provides interfaces that can be used to efficiently implement Unix semantics.

Microsoft isn't interested in supporting a modern POSIX environment natively as that would merely accelerate the migration of the software ecosystem away from Windows APIs. IMO, it's why they killed WSL1. WSL1 was de facto a modern, native Unix personality on NT. They may not have managed 100% Linux compatibility, but they could've simply relabeled it Windix or something, used a small team to round things out, and received UNIX V7 certification in a jiffy.

WSL is about managing the shift toward a Linux-based cloud world, capturing as much of that business as they can without unnecessarily risking their existing footprint. WSL2 neatly allows them to maintain Windows API lock-in while also providing substantial value for those needing to develop Linux-based software. WSL1 fell short on both accounts, though standing alone I think it was much cooler technology.
Is there any resources you could recommend? I would interested in maybe learning more.
Yep, except in this case is just one goalpost and everyone wins. Now we can enjoy using software as MS Office and userland from Linux distros in the same machine seamlessly.
I'm sure that I'll have a nightmare tonight where I'm stuck in a Scooby Doo episode, and they unmask the ntoskrnl.exe binary to reveal this Linux kernel underneath....
>> That’s a bullshit argument.

I said "That's why I no longer have a Mac and have a Windows laptop instead." It's not an argument. It's simply a statement of fact that explains a choice I've made for myself.

I literally switched from a user serviceable Mac laptop with plenty of ports (15" 2011 MBP) to user serviceable PC laptops with plenty of ports, with one of the primary reasons being that the newer Macbook models didn't satisfy my desire to have a full suite of ports that includes ethernet.

As for broken ports/connectors, I've had zero port failures in almost 3 decades of laptop ownership, and I don't consider myself to be very gentle plugging/unplugging my peripherals.

At the moment, I have 2 laptops with USB-C and 3 without. I personally don't see a huge difference in robustness between the USB-C and USB-A ports. Even when I buy a USB-C laptop, I still make sure that it still has at least one USB-A port so I can have dongle-free interoperability with my peripherals.
City streets are dangerous -- this is a fact.

Can you provide a example of these 'engineered streets' that you are talking about? I truly don't what you mean here.
Google Maps replacement: https://wego.here.com/ (It's pretty decent and was owned and used by Nokia before some German automobile companies bought it. Includes traffic data and voice based navigation. And they were offering offline maps long before Google).
Lovely comment. "If you think you understand quantum mechanics, you don't understand quantum mechanics."
Oh, I see. I interpreted the comment differently, as many others were saying it's done to save money.
Yeah, Nvidia is the right entity to bother no doubt, I just have a different idea of the tone and attitude. The approach I’ve seen before feels more like guiding an angry mob. I’m not really an expert but I feel what we need is firm decisions (drop support, it’s time) and clear messaging (vote with your wallet, and tell Nvidia you need this.)

Apple dropped support for Nvidia graphics. Linux will be next at this rate.

Still, I want to shy away from blame. Blame is complicated, can be deflected, and often leads to hatred. I prefer to say, Nvidia is responsible, nobody else can fix this.
Pareto also applies to employees producing 80% of the output and I bet that, if you remove anyone with less that 3 years in the field, the 20% of highly productive strongly correlate to the 20% of highly engaged.
The temperature generally swings something like 20F during the course of a 24 hour day. At night, I am quite content to have the windows open. During the day, I'm not around so why bother cooling the house. Then when I get home from work, it'll take the rest of the evening to cool off the house, at which point I might as well have just opened the windows and let everything cool off naturally.

Contrast that to the winter, where you can quite easily have a whole range of temperatures throughout the day based on being home or away and dropping the temp down at night while you sleep.

Heat pumps I'd guess work quite well over the same delta range that summer AC usually operates in (30F probably, even on the hottest days).

Beyond that, natural gas or propane is going to be much more cost effective.
Thank you for replying. In terms of ideology v reality this would be similar to the ideology that led to the Iran Contra scandal.

Source: https://www.pbs.org/wgbh/americanexperience/features/reagan-...
Well, all I can tell you is that it worked.
The article sure hypes it up but the code doesn't really solve many problems for you. It's about the same level of a framework as Backbone.js but with way less features.
We don't need NT to have competing kernels. All of the following have their own kernels:

+ FreeBSD
+ OpenBSD
+ NetBSD
+ DragonFlyBSD
+ Minix
+ Haiku
+ Redox
+ Plan 9
+ SeL4
+ Fuchsia

And many more.
Considering the amount of money budgeted to military spending, this isn't too surprising.
Thanks. That is rather unfortunate. Why does Keybase care what kind of pornography is hosted on a site? It’s not like they’re fetching images from the sites?

I hope this is just out of sheer legal paranoia rather than some weird moral imperative. It’d be a very odd stance, imo.
It won't work in a virtual machine? Any reason why?
How to Come Up with Fresh Blog Post Ideas
Dissenter: The free speech web browser
That’s funny. I only write tests to prove that the program does what it’s meant to do and not to find bugs.

The goal is to prevent a future programmer, including myself, from breaking any of the declared properties.
Examples aside, here's how I think about elegance. Sometimes you run across, or imagine in your head, or accidentally stumble into writing some Especially Good Code. The code just seems to work, extends easily, repels bugs, scales appropriately, etc etc.

I think what's happened in these cases is, typically by luck, you've written code that matches up very simply and beautifully with an undescribed and perhaps indescribable pattern that's present in a larger problem domain. Like poetry, your code expresses the nuances of that problem in a way that prose simply can't (efficiently). You can't always tell or explain what's so great about it, but working with it is a pleasure, and it rarely lets you down. To me, that's the ideal of elegant code.
>I can't see the USA ever jailing executives

Enron?
Everyone installs npm globally, because the whole model is broken. Which is why we keep all node env in a Docker image.
I really hope this results in PCIe passthrough on Hyper-V becoming reasonable, it was an absolute nightmare to try to configure and I could never get it to work more than a single VM boot.
The real problem is that the teachers ought to know what you just said, but they don't. So instead of teaching the smart kid -- and the rest of the class -- about the advantages of the mechanical press, they call him a smart-ass.
This. Anyone explain?
Fair enough. I just don't get the idea of emacs replacing a shell.

> you are able to use vim inside emacs

It physically hurt to read this.
I had already switched to Uber Eats because GrubHub's deliveries were horrendously unreliable. Now I have another reason to never do business with them ever again.
Most people haven't even heard of https://jami.net/discover/ ... and that's the problem with messengers - you have to educate your social network and coax them to use the same product or you will be forever stuck with Facebook Messenger / WhatApp, iMessage et al.
> There's two Google apps I just can't live without: YouTube and Google Maps.

Did you give a recent try to Apple Maps? Just finishing a few months road trip across the US and to my surprise I vastly prefer Apple Maps for the navigation and I now default to it. While in France I can't live without Waze/Google Maps because it's so efficient to workaround congestions in real time, I found it no better than Apple Maps in the US.

Otherwise I agree there is no alternative for Youtube. The move from Gmail was the easiest, and Search to DDG not really hard (with the !g keyword still handy for tech or complexes searches).
I'll say that any unit test for a bug which would have been caught by a more sophisticated type system is a waste. I don't know how much time people spend writing such "obsolete tests", but I doubt it's insubstantial.
How old is the product? Have you done any decent refactoring?
Apple's search ads are projected to be one of the largest online advertisers in terms of ads revenue in 2020 (they have larger advertising revenue projections than both snap and twitter). Device sales in general are dropping so they are expected to continue to invest in this area of their business. Given that Apple is a large organization known for their lack of transparency, I would be very surprised if they weren't already doing shady things with user data for targeting purposes.
Wow, this is even more pathetic than the “I was following orders” excuse. Now it’s “I was breaking the law because I got the vibe that I should”.
It is absolutely not a myth. Every convenience you see represents time and "value" added by the food industry making it easier to put food into yourself. Of course it comes at the cost of health and the health of the environment.

Compare a fresh head of broccoli to a package frozen; with fresh, you've got to clean it, trim it, clean up after your trimming, and finally cook it. With frozen, snip a bag open and you're on your way. Much simpler, but of course now you're using something that was shipped from afar, wrapped in plastic, and held in a freezer and it won't even taste as good when you're done!

Now compare ordering delivery from your phone. Compare shopping, storing, chopping, wiping up etc. to building a Blue Apron dinner. In terms of convenience, it's not even close. This is coming form someone who prepares 2-3 meals per day for my family.
What a sensationalist headline.

> Boeing said it self-disclosed the problem to the U.S. Federal Aviation Administration after Air Canada notified them of the fuel leak.

> The records stated that manufacturing work had been completed when it had not.

> "immediate corrective action was initiated for both the Boeing mechanic and the Boeing inspector involved."

So "Boeing" didn't falsified records, 2 of their employees did.

Now, whether Boeing's company culture (tight deadlines? overworked employees?) contributed to this or not, is another story, but, the headline is misleading; borderline dishonest.
DST rules are just insane. I'm responsible for some code where I just drew the line and 40 some odd people in one of the Antarctic stations are just going to have to live with wrong time part of the year if they ever run my code. I'm not adding another code path and test case just because these people wanted their own special concept of time. I don't remember the pattern, but I think it was maybe a daylight savings time and then an extra one stacked in the middle.
I don't understand your point maybe. The atmosphere can't reflect the radiation back -- it is unable to absorb energy in those ranges of wavelengths. The radiation passes through the atmosphere in to space unhindered.
Why engineers love heavy things
No. Apple is far far better.

You can't sign in to Apple Maps. Apple doesn't know who or where you are, except via a random frequently rotating identifier.

Google pushes you hard to sign in with your Google account, tracks your searches and location, and associates that data with everything else they know about you.
I know that is a matter of taste, but nested ternaries are not straightforward to understand as the author try to convey. The example shows two nested levels, and I need to simulate the program flow for a while in my head to really understand it. Definitely not desirable for my everyday programming sessions. However, simple and short ternaries are welcomed.
Who coulda saw that coming?
MicroG talks to Google servers and uses Google's infrastructure while breaking the terms of service (at least in case of FCM).

Same goes with NewPipe - you're using YouTube without actually paying for bandwidth, storage costs or the video author.

So you're not actually getting yourself rid of Google or tracking, you're just using their resources without paying the asking price.

Use other alternatives instead.
Apple Maps would be a solid alternative to Google Maps if it were released on Android, but it's only available on iOS. The parent commenter appears to be using Android (LineageOS).
Exactly. Trying to turn it around like the issue is due to the agency (hence blaming) the victim, when really it’s not down to that person’s agency at all, rather something they are subjected to through no choice of their own.

Your comment in fact is one of the worst forms of victim blaming, and you may not be aware that you’re even doing it: justifying victim blaming as though it is some sort of justified focus on “what you can do” when the problem should not be made to be about that or justified as such.
what’s after CCP could be worse.
Navy Got 'UFO' Patent Granted by Warning of Similar Chinese Tech Advances
Apple News+ Is Underwhelming Publishers
Most insurance is waste
This looks interesting. Well done on making something and putting it out there!
https://www.outline.com/PrVprN
Life beings migrate. What situation would you prefer: radioactive water waiting safely in a tank in fukushima for 24 years to save your family from cancer, or Chernobyl's birds soaked in Fukushima's water, pooping and molting in your backyard to save TEPCO some money and allow them to circumvent their responsabilities?
> on the Windows one you'll be able to easily run any game you want and have a much broader software catalog to choose from in general.

The main difference is that macOSX for the most part isn't adware. I still prefer MATE but if linux not your thing for some silly reason it's really the only other viable option.

Edit: Also that laptop is 2lbs heavier than the 13 inch and 1lb heavier than the 15. Not that I'd buy a 15 in. mbp with my own money in any case but they are nice.
Apple Maps requires you to buy a device whos content is completely controlled by a single corporation and is fully locked down by pervasive DRM.

It doesn't really fit the tone of the article.
Instead of !g, you can use !s to use Startpage, which uses Google results, but privately.
Obligatory Wendover Productions plug: “How the US Government Will Survive Doomsday” [2017] https://youtu.be/j48Z3W35FI0
What’s odd is why anyone would want to live in a terminal? It would be great if somebody can articulate that crisply.

Ps I love working in the terminal too but see it hard nosed to do everything there.
Ask HN: What are your non-tech hobbies?
https://news.ycombinator.com/item?id=20303294

If history is any guide, I will be the one at blame. But compare the words written there against the HN guidelines - who is behaving inappropriately? If one disagrees, or dares ask a question, and people lose their tempers because you're challenging their orthodoxy, who is at fault?

If you were to take a careful read through the words written in that entire thread and ones like it, you might notice a recurring pattern of people knowing things that they have no way of knowing. Knowing what people have done in secret. Knowing what people are thinking. Knowing what people's motives for actions are. Knowing what people really mean, even though their words say something else.

If you're tired of ideological flame wars, consider whether people making things up might have something to do with it.
> They may not have managed 100% Linux compatibility, but they could've simply relabeled it Windix or something

My take on it was that they were never able to implement all the syscalls (WSL just couldn’t reliably run some production server software), and filesystem calls were horribly slow (try npm install on a reasonably large JS project if you have any doubt).

You may be right — but I’d still like to dream that one day Microsoft will release a true Linux (or OpenSolaris, BSD, or whatever!) OS of their own, which their Office apps will fully support. That’ll be the day I weigh another option besides macOS.
Similar arguments have been employed against ad blocking. Users should be aware of the ramifications of their software decisions, but whether someone should download and use Google Play Services vs. MicroG, YouTube vs. NewPipe, etc. is the user's choice.

From a privacy perspective, MicroG and NewPipe are much less intrusive than Google Play Service and YouTube, because the open source apps send less user data to Google.
In terms of TDD I can't make sense of this. Do you only write tests after a bug has been found?
"The cross product of those
paths with the possible state configurations of all global data
(including instance data which, from a method scope, are
global) and formal parameters is indeed very large. And the
cross product of that number with the possible sequencing of
methods within a class is countably infinite."

Sounds more like a condemnation of OOP than of unit testing, and I do genuinely feel sorry for the unit testing, OOP purists out there. I prefer to design more functional methods, which operate on parameters and injected config instead of instance state and/or globals (cringe). Incidently, this approach makes full coverage attainable.

"Large functions for which 80% coverage was
impossible were broken down into many small functions for
which 80% coverage was trivial. ... Of course, this also
meant that functions no longer encapsulated algorithms. It was
no longer possible to reason about the execution context of a
line of code in terms of the lines that precede and follow it in
execution"

I can reason about such an implentation MUCH more effectively by glancing at the small bit of higher level code which integrates everything (and as mentioned above by foresaking instance state and polymorphism). This strikes me as a bit like advocating a flat directory structure cause it's important to be able to see all your files at once.
Sticking to a project for five years and releasing it to the world is not an easy task. I wish you and the project best of luck.
Unit Tests = The assurance/confidence that you get, if something changes logic, this test will break & you will know it. Aside from just limiting bugs - this is more powerful.
This sounds like refraction. Two beams traveling through the cloud. If you use a double prisim, you could achieve the same type of results.
Leonard vs. Pepsico, Inc
Who would the competition launch on? The cheapest option is SpaceX. I’m sure they’d love their launch market expanding.
> If you find your testers splitting up functions to support the testing process, you’re destroying your system architecture and code comprehension along with it. Test at a coarser level of granularity.

The emphasis here should be on the reason for splitting up functions. Long, complex functions can be difficult to understand, and removing a few lines in exchange for a (well named) function call is very beneficial for the reader. The opportunity for testing comes from this delegation. A function call is a contract, and the test ensures it complies. Now the reader can comprehend what the code is doing at a higher level; trusting the sub functions do what they intend.
And this problem will continue to exist if people continue to use Google Maps. You need a large amount of data (the map search queries of the user and geolocation data as you travel while using the map app) to refine and improve this. But new map apps will initially offer a poor user experience as they can only improve once people start using it. But people stop using these apps because of the poor user experience. And thus the gap between Google Maps and others keep growing as people continue to use Google Maps, and keep giving it more data and ignore the other map apps.

That is why Apple has now begun to collect geolocation data from even other apps ( https://thenextweb.com/apple/2019/06/10/ios-13-will-show-you... ) in the guise of "transparency" - the data is really to improve their own map apps