News for hackers. Stuff that matters.

chinhodado

Re:SolarWinds hackers were able to access Microsoft source code on Thursday December 31, 2020 @10:37PM (#25600615)
That sounds like a hardware or driver thing, specifically related to GPU, rather than a Windows issue. You can try to disable hardware acceleration in Chrome.
Facebook can't win. If they stand back and do nothing people scream about them being enablers of fake news, propagating misinformation and other things.

But if they remove posts that are reported then they are accused of censorship, of "unaccountable tyranny"

So what are they expected to do then?

Re:Changes to Code Search Indexing on Thursday December 17, 2020 @03:45PM (#25460168)
> The vast majority of folks shouldn't notice a change in their search results.

I'm not sure what you meant by this. How is this the case when repos with no commit within the last year (which is extremely common) are no longer indexed?

Re:Changes to Code Search Indexing on Thursday December 17, 2020 @01:52PM (#25458869)
I doubt that's the reason, given Microsoft's resources.
Re:Changes to Code Search Indexing on Thursday December 17, 2020 @01:51PM (#25458860)
This sucks. I use code search from time to time to find example usages of obscure APIs. With this change it's more or less useless now.
Re:Firefox 84.0 on Tuesday December 15, 2020 @11:15AM (#25431618)
I love Firefox, I use it everyday, I can't imagine using a browser without Tree Style Tab, or all the things that I can do in about:config.

At the same time, I can't shake off the dreadful feeling that it will eventually die one day. The market share keeps falling year by year.

What is the most realistic future for Firefox?

Re:Who Americans spend their time with, by age on Friday December 11, 2020 @10:13AM (#25386632)
I wonder how this data changes in Asian countries. I would expect the end section (time spend in later years) to be vastly different, although that may be changing.
Re:AirPods Max on Tuesday December 08, 2020 @11:02AM (#25347004)
You can't talk about expensive cables without mentioning Nordost Odin 2 - something like $30,000 per meter.

https://www.analogueseduction.net/analogue-interconnects/nor...

Is it? It has been a while since I read it but there was an article comparing the energy efficiency of different cooking devices and even though induction cooker is at the top the efficiency is only 70%-80% something.

Edit: Found it:

> There are no Energy Star® certifications for ranges, but research by the U.S. Department of Energy indicates an induction cooker is 84% efficient at energy transfer, versus 74% for a smooth-top electric unit, giving it a heating performance comparable to a gas element. More significantly, induction is 90% efficient with its power use, using 2.8 kW to deliver 2.52 kW. This is a substantial improvement over electric coils, which use 2.0 kW to deliver 1.1 kW (a 55% efficiency), and over gas, which uses 3.5 kW to generate 1.75 kW (a 50% efficiency).

https://insteading.com/blog/energy-efficient-induction-cooki...

I especially hate it for reddit AMP links, since 100% of the time I have to click on the original link anyway to read the full comments, so it's an extra middle step for no good reason.
Re:Graphics for JVM on Tuesday November 17, 2020 @10:11AM (#25124580)
I've never experienced anything like that in IntelliJ, and I've used it everyday for years now. Granted there are bugs especially around big releases, but I've never seen any UI bug like you described. Everything is always smooth and responsive.
Re:How Go helped save HealthCare.gov on Tuesday November 10, 2020 @12:27AM (#25043047)
What do you mean 2-5x C++ performance?
Re:Biden wins White House, vowing new direction for divided U.S. on Saturday November 07, 2020 @04:55PM (#25019910)
I think that's the point of the comment you replied to. Biden did quite badly early on in the primaries, and only after a large chunk of other candidates dropped out and threw their weight behind him with endorsements that he did significantly better. In a sense, the party has made up its mind on the candidate it wants.
Re:A one-line change decreased our build times by 99% on Sunday October 25, 2020 @09:55PM (#24892094)
When I first joined one of my previous jobs, the build process had a checkout stage where it was blowing away the git folder and checked out from scratch the whole repo every time (!). Since the build machine was reserved for that build job I simply made some changes to do git clean -dfx & git reset --hard & git checkout origin branch. It shaved off like 15 minutes of the build time, which was something like 50% of the total build time.
Re:Russia opposition leader poisoned with Novichok on Wednesday September 02, 2020 @12:12PM (#24354620)
Maybe I'm too skeptical, but this seems a bit too obvious to me. Why would you try to poison someone with no real threat to you and risk him becoming a martyr, using a method that immediately brings you to mind, with a nerve agent that is also strongly linked to you?
I don't understand. Are the models actually missing from Bing maps, or did MS remove them for copyright reasons?
While I don't really care about the lottery and I'm fully aware about the odds, whenever there's a buy event in the office I always join. I consider that an insurance against my coworker winning.
Re:Show HN: Will It CORS? – an automatic CORS explainer on Tuesday August 25, 2020 @01:13PM (#24273567)
What drives me nuts with CORS is there's no (easy) way to disable it in the browser for development purpose, e.g. when I want to run some scripts in a local HTML file to do some basic web scrapping.
Re:Systems Monitoring with Prometheus and Grafana on Wednesday August 12, 2020 @11:28AM (#24133018)
I'm just starting to look into this and have a question. If I can export my metrics directly to TimescaleDB and it supports visualization with Grafana, is there any reason to go through Prometheus?
Someone said this that I really like: "Firefox is Google's antitrust insurance for Chrome."
How is it possible when Apple is the one initiating the lawsuit here?
Re:The Khmer Rouge: Genocide in the Name of Utopia (2016) on Wednesday July 15, 2020 @01:43AM (#23841756)
About North Vietnam's support of the Khmer Rouge early on, it's worth viewing things in historical context. During the Cambodian coup of 1970, Vietnamese ethnic was massacred:

> Paranoia flourished and this set off a violent reaction against the nation's 400,000 ethnic Vietnamese.

> Lon Nol hoped to use the Vietnamese as hostages against PAVN/Viet Cong activities, and the military set about rounding them up into detention camps. That was when the killing began. In towns and villages all over Cambodia, soldiers and civilians sought out their Vietnamese neighbors in order to murder them. On 15 April, the bodies of 800 Vietnamese floated down the Mekong River and into South Vietnam. [1]

Under the circumstances, the North Vietnamese allied with the Khmer Rouge and the ousted Sihanouk to take back the government from Lon Nol. In the beginning there was no sign of a genocidal regime, and the Khmer Rouges were just "comrades" supported by the Cambodian prince trying to take back his government. It was not until later that ethnic and ideological hatred turned the Khmer Rouge against their Vietnamese allies.

[1] https://en.wikipedia.org/wiki/Cambodian_Civil_War

Re:The Khmer Rouge: Genocide in the Name of Utopia (2016) on Wednesday July 15, 2020 @12:07AM (#23841220)
I have read both versions. My personal interpretation is the killings definitely happened, however there are a lot of grey areas and unknowns around what exactly happened there: who did it (the VCs/the armed civilians/the South Vietnam army/the US), who died in those graves (militants/civilians), the circumstances of the killings (military executions/mob justice/lynching/casualty from fighting/bombing), etc. Perhaps the truth is a bit of everything.

This will unfortunately remain as one of the tragedies of war that we will never know the full picture of.

Re:The Khmer Rouge: Genocide in the Name of Utopia (2016) on Tuesday July 14, 2020 @09:48PM (#23840316)
A bit off topic, but I was curious about the 3000 number and went to read about the Hue massacre on Wikipedia. Then I switched to the Vietnamese version of the article and the event was portrayed in a completely different light. Both versions are well sourced and well cited, yet they offer two completely different versions of the events as well as the overall conclusions of who was responsible and what happened.

It's interesting to say the least to see how a supposedly neutral source like Wikipedia can be manipulated to drive different view points.

Re:The Khmer Rouge: Genocide in the Name of Utopia (2016) on Tuesday July 14, 2020 @08:25PM (#23839799)
It's true, and it's sad but that's just how it works. Unless a country is attacked, it's very hard to find justification to intervene in the internal affairs of another country. That said, once war is inevitable, the atrocities of the Khmer Rouge made Vietnam understand that such a regime cannot be allowed to be left alone, both for the sake of the Vietnamese and Cambodian people.
Re:The Khmer Rouge: Genocide in the Name of Utopia (2016) on Tuesday July 14, 2020 @05:13PM (#23837982)
As a Vietnamese, one of the sad thing about this whole ordeal was how Vietnam's involvement in this was viewed under a very negative light by the world.

The year was 1978. Vietnam had just came out of the country's great war 3 years earlier, and was extremely exhausted to put it lightly. The last thing it wanted was getting in another war. But it had no choice. The Khmer Rouge crossed the Cambodian - Vietnamese border, looted nearby villages and massacred the people. You can read up on the details, but be warned the atrocities will ruin your day.

Under the circumstances which can be argued as an existential threat, Vietnam had no choice but to launch attack on the Khmer Rouge and swiftly got rid of them and liberated the Cambodian people, ending the genocide.

Yet the world's view on this has been incredibly negative. Even now, Vietnam is often seen as the invader, the aggressor in the conflict instead of the Cambodian people's liberator.

Re:System Hardening in Android 11 on Tuesday June 30, 2020 @02:39PM (#23693286)
> apps can't simply access the "external" storage (enforces scoped storage)

So how will perfectly valid use cases like file manager or backup manager work now?

The driver works fine. It's a black laser printer, there isn't any fancy feature to have problem with. It prints what I tell it to print.

> HP has a Universal Print Driver that will support your printer and be compatible with Windows 10

The last time I checked, none of the official driver on the vendor website worked, nor the automatic driver that Windows installed. I mean that would be the obvious first thing people check when their devices don't work... For me using those drivers just printed out an error.

I've been looking for way to bulk insert for postgres, but with the ability to ignore any error for any single row (including FK/unique constraint/check constraint/post insert trigger/whatever) and after it finishes give me the list of the rows that failed to insert. I haven't found any way to do this yet. Anyone has any idea?
Here are the steps I did to install the driver on Windows 10:

https://kb.ucla.edu/articles/hp-laserjet-1012-and-windows-10

Older »