skysight-inc/HackerNews huggingface dataset:
This seems to miss a few points:

* Unit tests should test functional requirements within the code (i.e. for a given input, this code returns this output)

* Integration tests test the boundaries between systems (eg. libraries, code modules or distinct systems), which is why they are called "integration" tests

* Mocks are a only needed in imperfect world, which is our world usually: incidentally, they should be more common in integration tests, since it's harder to maintain perfect decoupling between distinct components, and you should never mock integration logic under test

* Unit and integration tests are both useful as documentation

* You might need system tests, which test the end-user functional requirements

The fact that unit tests needed dropping or changing as part of refactoring is a given: you are changing interfaces and their functional guarantees. Like the rest of the code, they need refactoring as well.

Considering the example given in the article, this seems to be mostly a misunderstanding of terminology and coupling of components in software.
It's mentioned in the article. After uninstalling the main application, you also have to kill the helper app named ZoomOpener. The article gives some Terminal commands to do this, but you should be able to find it in Activity Monitor if your more comfortable there. Once you kill ZoomOpener, remove it from the list of Login Items in System Preferences -> Users & Groups. Lastly delete the folder called .zoomus from your home directory. You can do this in Finder, but it'll be hidden by default, so you'll have to use Go -> Go to Folder... or some other trick to expose it.
Thanks for you answer, could you please provide me with some links to the forums you mentioned? :)
Ask them if they agree the like and view count next to every post/image/vid has a psychological effects on individuals and groups.

If they agree, ask them if there is anything blocking them from studying the cases where the effects are negative on individuals and groups.

If it is possible to list the kind of content where likes and views are having negative consequences to society that data(counts not content) should not be stored on Facebook server or shown to Facebook users.

Right now there is too much emphasis during privacy debates on all data.

There is no distinction being made between the like and view counts that cause the ALS challenge funding to be produced - a positive to society, and like and view counts that reinforce my antivax aunt's beliefs,

Some of these counts are harmful, some are harmless and some are useful. Why store or display the harmful stuff?
If a company’s stock drops after a major vulnerability, you should buy. Equifax exposed everyone’s financial data and their stock is back above their pre-breach price.
Sorry, due to French union demands, Typescript (tsc) does not work on weekends anymore (in the EU).
Show HN: MakersTHEMES v1.0. – Free Website Blueprints for Startups and Makers
The one about dot com flimflam was better.
Rollup has a lot of momentum behind it.
On Memory System Design for Stochastic Computing
ALERT, are you looking for billion dollar market disrupting startup opportunities? Well here you are, the UK electricity retailing market, all you have to to is take a reading from a UK electricity meter, work out a bill and take payment from the customer!! If you can do this without taking the wrong reading, without your online portal crashing and failing and generally avoiding muddling all the details so much that you can never untangle the mess no matter how much the customer begs, then you Sir will be a winner head and shoulders above all the existing companies!!! Go on, you can't really do worse than those who have gone before you.
Microsoft's failure in mobile lies squarely with Bill. He lead their mobile and pen computing initiatives as personal pet projects.
Linux 5.3 Lands Support for Tracking AVX-512 Usage
I wondered about that, but the only statements about purification say that the contaminants are left behind when the water evaporates (as in any other distillation system.)

They have developed a clever mechanism for giving the aerogels an efficient structure for capillary transport, and the nanotubes make an efficient evaporator, but the article does not give any reason why the water needs to be raised before being evaporated (trees do it because they are in a competition for light, and maybe to get away from big herbivores.)
This is how we probably should proceed with decentralization.

The problem that I see currently with this approach is not many are willing to host there own servers. Even people who are fairly tech savy won't host any server because of the costs involved. I am not going to host a server unless I get benefit out of it or its dirt cheap to host them.

The solution I think is instead of hosting it on cloud we host it at home. This way we have control over the cost. Again, if I can choose the kind of content that I am hosting then that would be great. I like to save images on certain topics. I don't mind serving them from my home since I already have unlimited data connection. Running a server on Raspberry PI would be ideal. There are already millions of PIs out there and they can be used for decentralization of apps. In the end, we might even be able to convince general population to host there own content. We will have to provide them tools and utilities to make hosting as easy as possible.

The major problem I think is NAT which is preventing direct hosting of content from home. Solve that and you most probably have solved decentralization.
Having written Elixir every day for the last 5 or 6 years, and Ruby for the 10 years before that I don't think it is.
you might be in the wrong thread
Email dropped ;)
Yeah, I don't know why we bothered to fight two world wars against crap like this if we were just going to adopt it wholesale. Makes no sense at all.

Sick of it. I've noticed the cops now use unmarked or very lightly marked police cars so they can blend in better and thereby better protect and serve you. Oh wait, that's just Gestapo tactics. My bad.
Why Monday? Was there A/B testing done to find the best day to ask?
im using darkreader which i think , work great
Whenever I see a post like this I am struck by the huge disparity in our grasp of (and ability to treat) different types of human ailments. Are you a tetraplegic? Don't worry, we will just literally rewire your nervous system to give you functioning limbs again. Do you have tiny tumor in your pancreas? Sorry, you won't know about it for a while, and when you do your only recourse is for a surgeon to cut out half of your digestive system and then we'll inject literal poison into your body with the hope that you die in 1 year instead of 3 months.

I know, there are plenty of reasons that certain diseases have been harder to crack, but the disparity always seems so striking. This nerve transfer study seems so incredible and futuristic, and yet there is still so far to go.
Facial Recognition Based Policing in Detroit
If needing to walk through a scanning device, having all of my items go through x-ray, have a dog sniff my crotch, having someone wipe down my stuff for explosive residue, so I can get on an airplane and reasonably expect to not have someone hijack it with a gun, bomb or box knife to hold me hostage for a year or slam me into a skyscraper, then so be it.

I'll walk through the entire airport naked as the day I was born if it deters even one would-be hijacker or finds one mentally disturbed individual that wishes to do us harm (example Federal Express Flight 705 where an employee facing termination flew jump, entered the cockpit with a guitar case containing hammers and a speargun with the intent to kill the flight crew and suicide with the plane so his family would get the insurance payout, fortunately the flight crew managed to subdue him despite suffering serious injury and safely land the plane).

An airport isn't a place where I expect privacy, or generous freedoms. I'm getting in a manned missile with tens to hundreds of strangers. Flying on an airplane is not a constitutional right, it is a privilege. If I have to show photo ID and go through all the above to be able to get anywhere in the country in hours, I'm wholly fine with that. If you don't like it, you're more than welcome to drive hours or days across the country or get on a boat and spend days and days travelling across the ocean and more days travelling across a continent by car or train to get to your destination without most of the security measures.
I really want to find an alternative to Webpack for our projects.

Webpack + babel is an extremely fragile piece of tooling that eats work hours of senior devs like a candy.

Few years ago it might've been like 50/50 split in between fighting tooling and development in shorter term projects

The problem in replacing webpack+babel combo is that what we call "the JavaScript ecosystem" over the years turned into a "webpack ecosystem" with even most trivial packages not working with some kind of all-involving "build process"
where/what are the images actually stored on?
There's a web client?

I'd guess the reason is that, if you don't have any of the native apps installed, and you click a Zoom meeting link, the browser will download the native client installer. There's no mention at all on the download page that there is a web client.
I'd be interested in knowing if Facebook has any ties with the (Dutch) government. And if that is the case, to what extend do these collaborations go.
Life After Redux
I've seen tests which fail between 2 and 3pm, but only for 6 months of the year.
But does it matter that this is just an average?

What I want is the big picture, moving the needle towards more renewable. I don't want all of my electrons to come from a wind turbine, just voting with my wallet such that renewable percentage goes up and up.

With all the challenges it implies in terms of peak management, storage, seasons etc.
Entry-Level IBM Engineer Salaries Trail Tech Industry
To whoever downvoted me, perhaps you're right. At the very least I should have tried to say why.

OK, let's try and interpret the parent post in a way that makes sense to me.

If your config data is effectively embedded in code and well isolated from the rest so that it could be extracted into an ini file easily, I'd buy that. I guess you lose flexibility as you have to recompile, but ok. Perhaps it's safer too.

> and [the code is] already using the best format you have for expressing your business domain logic

Well, often a good format for an abstract statement of actions is a list or grid of data which drives the code's decisions and actions. In that sense, if you've respected that, that's part of your config file (whether external, as a file, or embedded in the code though hopefully well isolated).

If none of this is your intention, could you let me know what you're thinking, with concrete examples please?
It's usually called on-premise, private cloud or self-hosted.

On AWS Marketplace you can rent such software per hour (plus the cost of the servers), e.g. https://aws.amazon.com/marketplace/pp/B07KRRSWLY

Other cloud infrastructure providers also have marketplaces, even for free software, because they earn from customers renting their servers. https://marketplace.digitalocean.com/category/developer-tool... https://marketplace.digitalocean.com/category/blogs-and-foru...

Many large SaaS have separate Enterprise products, e.g. Github https://github.com/enterprise or mapbox https://www.mapbox.com/atlas/ It requires a dedicated support team, strong contracts and customers pay a lot extra.
When I say static I mean that your web server distributes a fixed artifact without any server-side templating.

Your usage of 'static' conflicts with the usage of 'static site generator' where fixed payloads are generated that can be uploaded to any web server. Such sites can have no JS, be full blown SPAs, or anywhere in between.

Some people use "static content" for this but often sites serving static content are still enhanced by JS in some form. Just that the main page content doesn't have any interactivity.
> For example selling a customer a Windows server licence with SQL 2017 installed to run as a backend for a simple website that 10 people a day are going to visit when a centos box with postgres would be far more cost effective (and reliable) for the customer.

I get the point you're trying to make, but this isn't really a good example. If a customer is already a Windows user, introducing linux and Postgres may not be the best solution. A basic windows license, sql server express, and iis should work fine though.
If your startup is in the planning of building a website, or if you’re looking for a refresh, this helps to start at some of the best examples of startup websites for cues.
That's just selfish thinking. Your type of thinking breaks down as soon as someone innocent is punished. At that point it's just about having an axe to grind.
If you are not 100% fluent with HTML/CSS, these boilerplates will give you a set of layouts and components to get you started. Make by @Bootstraptor with <3 & Blueprints App.
Could the United States and China Be Rivalry Partners?
> SNOBOL

Oh dear.
I’ve had viruses and anti viruses years before I had internet. Getting a virus was trivial in the 90’s when windows had no security and any program could do anything.
Reminds me of the classic "I cant send email more than 500 miles" story: http://web.mit.edu/jemorris/humor/500-miles
It's really heartwarming to have progress in this field of medicine! I feel anxious just imagining being unable to move my arms.

But there's a catch:

> Despite these achievements, nerve transfer surgery still has some limitations. For the best results nerve transfers should ideally be performed within 6-12 months of injury.

I hope this method will progress to have a much longer span of time allowing this surgery.
This type of bipartisan support seems to be a recurring concern with the more authoritarian "national security" legislation being passed around the world. We have the same thing in the UK, where both of the big parties have tended to support intrusive government surveillance powers. Because of our voting system, the more liberal but smaller parties that would challenge such measures tend to be disproportionately under-represented at national level, so authoritarianism almost always wins.

This leads to claims that most people support such measures, yet not so long ago we had a huge grass roots campaign against mandatory ID cards (and related measures like the database behind those cards) that ultimately succeeded in preventing their introduction, so clearly it's not really as simple as that. Certainly some reports based on polling that get brought out to demonstrate that public "support" for these measures have glossed over heavily loaded questions in the polls themselves. (They're not quite "Terrorism is a really serious threat and a nuke might kill everyone. Do you support stronger government powers to prevent bad people doing these bad things and keep your children safe?" but sometimes they get awfully close.)

This is the reality of the politics of fear in the Western world today. Personally I'm slightly optimistic that things will turn for the best within the next few years. We seem to have widespread concern about "fake news" and unwarranted interference in democratic processes, to the point that now we see explicit "fact checking" becoming a common practice in media reporting of political statements and we're seeing big social media platforms trying to rein in the more questionable propaganda and stop their systems from becoming little more than a rumour-driven mob on a national or global scale.

Maybe someone will finally notice that the threat from terrorism is actually pretty small, the threat from excessive government powers is actually pretty big, and in any case all of these resources might be better spent on other areas of government like education or healthcare or infrastructure projects that could make a much bigger difference to a lot more people anyway. We can hope...
I couldn't reproduce it (Mac, Mojave 10.14.5). I did this:

1. Ensure Zoom client is not running (the GUI, not the ZoomOpener)

2. Completely delete Zoom client app from /Applications, empty trash

(ZoomOpener continues to run from ~/.zoomus/, not just from memory, it is never deleted)

3. Wait 5 minutes

However, if you click on any Zoom link after you've done those three steps, it will absolutely re-install that client app into /Applications AND launch it into that video room. I confirmed that.

I still feel this is a violation of my trust and I'm uninstalling this app entirely and won't use Zoom again.

Also, if Apple actually cared about the Mac and privacy like they say they do, they would temporarily revoke Zoom's app signing key until they cut this shit out.
A problem with OSS funding, not surprised. If only 1% of all the productivity lost with this bug was donated to Webpack, they would probably not need to ask for money at all. But the market doesn't work that way, so it's just a sad reminder of our own problems.
Building an App Like GoJek
Japan Stalls Vital Chemical Exports to South Korean Chipmakers
I have tried several olive-oil-only soaps since then, but no luck.
Space-based gravitational-wave detector may detect strange exoplanets
A better question to ask would be "How do you get your company to acknowledge that being environmentally friendly is good?"
That's just it--they don't do shit about the spate of littering in my city. I'm the one out there with a bag picking up other people's fast food trash and plastic bottles. The littering correlates well with the huge influx of "out of towners" as one might say. I have no problem with those who respect our community, but the locusts have come and they are mining us for all they can get. Our school district is bending under the weight and the district on our border is already broken. That is the reality of all this. It's a societal collapse.

I've been to the tough parts of some big cities--Philadephia, Baltimore, Camden, Chicago. I don't want where I live to end up like that. Those places are now generational hellscapes, full of cretins who have no idea what building a civilization even means. We have enough of those people now and there's nothing we can even do with them except pay them not to riot. We badly need the other kind--the ones who do build, innovate, and add value. But please, please leave the communism and statism in the old country that was wrecked by it.
It's not entirely impossible that many on-premises sales are actually, or are predicted to become, a net negative compared to a similar cloud solution. Based on these policy changes, one can argue that it's not only possible, but likely that on-premises is becoming a net negative.

My interpretation, or at least one of them, is that Microsoft want to start pushing the smaller accounts entirely to the cloud by starving that channel while also gaining the option of engaging with more of the largest customers directly. The latter will only be possible once most of the MPN members prone to open critique towards MPN policies have left the program. It also seems to fit nicely into the "open source" narrative with it's implicit, or explicit focus on charging for various services rather than the software itself.
Data Engineer, Data Analyst, Data Scientist: What's the Difference?
Modern js seems to have a good amount of tail-wagging-the-dog cases
I'm in love with color.firefox.com since it was out! So good.
Cryptography is unknown to many and many fear the unknown.
Silicon Valley’s answer to the housing crises? Charging $1,200 for a bunk bed
> what type of work do you do that uses the video for portions other than the presentation?

My department (of 400 people) is split between two cities. I am regularly in meetings with people from the other city.

Google Meet is a big part of our culture. It helps with team cohesion and collaboration to actually see each other's faces when we meet.

It is of course not _required_ but I really believe it is better than just audio.
A "simple" one,: Do they plan to fullfill GDPR requests?

Here is a good story of a guy who tried to get all the data the company had on him without anything close to a real answer:

https://news.ycombinator.com/item?id=19959064
New Uber clone in the market: Entrepreneurs can setup their ride hailing apps
No, it still exists. When I open a new window, it flashes white. When I open a second tab, also flashes white. When I open subsequent new tabs, it doesn't.

And besides, the settings, about:config etc. screens don't follow the dark theme.
> If you want to "reconfigure" your app while it's running

I don't think anyone was implying having a config file obviated a program restart. I'd add that restarting an unchanged executable with an altered config file is going to be considerably faster than recompiling it.

> why not give it some input

If that's not a config file, then what are you suggesting?
Fixed link: https://pubs.rsc.org/en/content/articlelanding/2019/sc/c9sc0...
Fbreader is nice, I've only used Calibre for converting ebooks not sure you can read in it.
A German financier wants to turn magic mushrooms into modern medicine
On Mac, latest version, it still exists for new window and second new tab. Subsequent new tabs seem to be fixed.
There was also a computational search for counterexamples of Fermat's last theorem (with nothing found - April 1st jokes regardless)
- Yesod/Haskell

- Elm (though not for everything)

- Nix/NixOS/NixOps

- PostgreSQL

- Redis

- nginx

- AWS

We're pretty happy.
Former Tesla workers claim they were fired for using maternity and sick leave
> Some people advised me not to go there because it would only do harm to my name and brand, but I think I should.

Is there anything in particular that drives your participation? The reasoning is peculiar.
Well, the company and product are dead to me now, gonna hassle our CTO to switch. I just really hope theres some dev at Zoom who hated this whole installing backdoors idea who's gonna have the greatest "I told you so" day at the office tomorrow.
>TSA’s tests show 95% failure rate.

Yet in 2018 they

- Discovered 4,239 firearms, 3,656 of which were loaded

- Smoke grenades

- An inert grenade

- Lighter fluid

- Fireworks

- Five replica mortar shells

https://www.tsa.gov/blog/2019/02/07/tsa-year-review-record-s...

In 2015 TSA seized knives from just ONE airport. 22,044 'dangerous items' total at U.S. airports that year.

https://www.huffpost.com/entry/how-many-weapons-did-the_b_11...

Yes stuff is going to slip through but uh, 3656 loaded firearms last year... I'd call that a victory. I'm very, very, pro 2a. I am very, very, very against people carrying loaded firearms on a thin aluminum can at altitude.
How to Uninstall Zoom on a Mac?
Synopsys to Accelerate Samsung’s 7nm Ramp with Yield Explorer Platform
>it is suppose to stop the possibility of it occurring again

It doesn't do that.
Back when my wife was a wedding coordinator I used to joke how everything wedding related was absurdly overpriced and kiddingly asked "What, next? Wedding water?" Then some bright light applied the idea by custom labeling bulk-purchased water bottles with the date of the wedding and charging a huge markup.

So when my cynical side envisions selling disposable tyvek lab suits [1] as Travel Wear, maybe with a discreet frequent flyer status logo embossed on the breast to save everyone some trouble I think no, hell no. I don't want that to actually be a thing. Then again if the whole suit is just colored gold, platinum, etc, perhaps it saves a little time boarding and prevents queue jumpers. Heck maybe we just print the suits with a giant boarding number on the back. No suit? You board last, except on Southwest, of course.

[1] https://www.coverallsdirect.com/product-category/dupont-tyve...