News for hackers. Stuff that matters.

nytgop77

worth noting, that blacklist filtering decompiled code looks this way (just one line; to show the naming)

    if (iNativeAd.getAdTitle() != null && m12161a(iNativeAd.getAdTitle(), str)
If to believe the naming, it is filtering advertisements.
But the statistic of how often doing X gets somebody in jail is very important measure. (there is a fine for littering, but people constantly drop cigarette butts or gum on the ground, because there is no enforcement. And since there is no enforcement it is perceived as not a serious thing / acceptable behaviour)

Edit: to add to that, there are two dimensions: potential punishment and probability of enforcment. Both are equaly important.

tldr;

- sends various analytics to google and xiaomi

- downloads "blacklist", which contain china-sensitive phrases. Actual filtering is fortunately disabled in EU. (I personally am not sure what filtering actually does. Decompiled code and the blacklist use "Ad" in naming a lot. So if to believe the naming, filtering is for advertisements)

- sends sms to xiaomi for number registration when using cloud. There is some EULA type text, which user must accept for this to happen. Text does mention sms sending there. After sending sms is deleted (user can not check what was sent), its content encrypted, saved in db and sent to xiaomi server.

edit: forgot the fact that blacklist filtering can be turned on by xiaomi at any moment.

It could be useful when discussing lightcones of others.

If we have two alien neighbour planets aranged so, that we are in the middle between them.

Then we could see both aliens' election results at the same time, knowing that aliens still have to wait a bit before they know each other's results.

Re:The Coronavirus Is Here Forever on Tuesday August 24, 2021 @03:56PM (#28294104)
Manners change over time. Maybe masks will join normal etiquette with other polite things, which benefits everyone around. (such as: closing your mouth when coughing, washing hands after going to the toilet, wearing at least shorts)
I saw advertisements "now 20% cheaper!", while price change (original->new) was 30€->25€.

Marketing always finds a way.. 5/30=16.6%, 5/25=20%

Re:What Is Value? on Friday August 13, 2021 @04:04AM (#28166616)
For me "measurement" implies known precision, and some straight-forwardness, simplicity and clear repeatability.

Estimation is on the other hand uses measurements as input and has no clear cut path forward. (you must assume some model)

"Chemistry is just applied physics" ("measurement is just estimating via proxy") might be technically correct, but distinction is still very real and usefull.

Re:Has the lead-crime hypothesis been debunked? on Saturday July 31, 2021 @08:00AM (#28017335)
why do you need either of those for making a hat?
Re:Counterfactuals are not causality on Tuesday July 27, 2021 @08:04AM (#27971425)
Regarding Newtonian universe. Is that really true, that multiple pasts can exist? Some source would be very welcome.
Some (5%) electricity is lost during the transfer.

https://www.eia.gov/tools/faqs/faq.php?id=105&t=3

Re:The Highest Forms of Wealth on Saturday July 24, 2021 @09:47PM (#27945953)
how so? if you dont have money you must allocate lots of time to kid after work. if you are wealthy, 1st thing you might not work all and 2nd thing you might have nanny or two, who take care of heavy lifting.

"doing whatever you want" does not equal to "stuff that satisfies for very short periods of time (i.e. not only drugs, games and tv)"

Re:The Highest Forms of Wealth on Saturday July 24, 2021 @09:39PM (#27945912)
it is compatible, if "thing I want" == "spend time with these people/make them happy"
Re:Show HN: New way to test APIs with OpenAPI and Postman on Thursday July 15, 2021 @06:49PM (#27851024)
curl
Re:Against SQL on Sunday July 11, 2021 @10:14AM (#27800995)
Spot on.
Re:The Greatest Regex Trick Ever (2014) on Thursday July 08, 2021 @06:08PM (#27778222)
A bit off topic, but the commented version was much clearer, than the version with separate function. (full sentences are very good at explaining things)
Re:The Greatest Regex Trick Ever (2014) on Thursday July 08, 2021 @06:00PM (#27778143)
Yup. Regex is not a silver bullet for "match stuff", and it is wrong(ish) tool for following jobs:

- context sensitive matching

- matching with multi-char-exclusions

(regex is happy the most, when it's used to match "regular language" things)

Re:The Origin of Technosignatures on Tuesday July 06, 2021 @03:45AM (#27745259)
I think that was somewhat intentional, but my take: "Dataome" = technology as an environment/medium.

We live in a world full of microbes and can't function without them. (microbiome)

We live in a world full of technologies and can't function without them. (dataome)

To entertain the thought, technology is in similar status as living things, it reproduces and evolves and affects everything around.

(similar: "memes" are said to have traits of "viruses")

Re:Unison Programming Language on Tuesday June 29, 2021 @01:12AM (#27672044)
There are also circles of hell. (opposite of silver bullet)
Re:Unison Programming Language on Tuesday June 29, 2021 @12:32AM (#27671791)
I would like to note that even with algorithms/datastructures "best" is USUALLY not the word (even assuming that all algorithms/structures are discovered/known). "Good enough" / "fits in my multi dimensional budget" is reality:

(0) It is easy to order two real numbers. 1 is greater than 0. But can we order points on the cartesian plane (1,2) or (2,1) or (0,100000000000)? Already at 2nd dimension not all points are easily ordered. There is solution "just give priority to 1st coordinate", but can you really completely disregard memory usage and focus solely on cpu?

(1) Theoretically, to get "best", one needs to evaluate not only O(n) of avg cpu usage, and avg memory usage, but also worst and best cases, while using knowledge of input data distribution (e.g. maybe input is almost sorted). Memory access patterns, cache locality, battery life, suitability for your hardware also must come into play. (many dimensions)

(2) Practially one has to do profiling on real hardware with real configurations / inputs / workloads. Different workloads may favor different algorithms/structures. (again results with many dimensions)

(3) Due to constrained time people will not even go over all algorithms. Real people will immediatly rule out really bad ones, then pick 1 or 2 algorithms that theoretically are good enough match, and see if their profiling results fit in cpu/memory budgets. (even if budget is not on paper, but just part of intuition)

My heuristic for pessimism:

We use enourmous amounts of energy and we invest enourmous amounts of money in energy production. At the same time we have neglible storage and and neglible investment in storage.

some numbers:

194MWh - capacity of Hornsdale Power Reserve in Australia

161 million A$ - it's cost (https://en.m.wikipedia.org/wiki/Hornsdale_Power_Reserve)

4 700 000 MWh - Australia's daily total consumption of energy of all fuel types (https://www.energy.gov.au/data/energy-consumption)

4700000 / 194 = 24226 - number of same power reserves to store australias power for one day.

24226 * 161 millions = 3.9 trillions of A$ - money needed to build a days capacity in Australia at current price.

(for comparison, Australia GDP is near 2 trillion A$, US GDP is 27 trilion A$)

Re:Well-behaved bubbles often make history on Wednesday June 16, 2021 @03:12AM (#27525755)
free market does not maximize anything. it just is. fairness is not in the equation. free market (or something similar) is just good enough way to organize economy with good enough outcomes.
Re:On Comments in Code on Tuesday June 15, 2021 @06:35PM (#27522479)
Same with naming in code.

Names do become misleading. Of course making callstack deep enough, will hide that.

Code reviews have same power to rectify both: naming and comment issues.

Re:On Comments in Code on Tuesday June 15, 2021 @06:00PM (#27522080)
Full agreement.

Unfortunatly it is a story, that is set to repeat 3 times.

There is a similar tragedy of outdated documentation.

And then the final part of the trilogy is named "outdated and even misleading naming" (vars/functions).

In all cases, one should have same amount of trust as with weather forcast or politician's speech. Trusting 100% would be naive, but complete dismisall would be foolish as well.

Re:Driving with D on Wednesday June 02, 2021 @02:11AM (#27365454)
Just - impressive.

And since this is about dlang a bit... My favorite part of D compared to cpp, was metaprogramming syntax. (i.e. NOT '<' and '>') I was so sad when I got to know that the only thing that rust took from cpp, was '<' and '>'.

I kind of get tehe argument, but at the same time my thinfoil hat says, that newly elected officials during talk with FE get the message "we will leak and/or fabricate your xyz, if you make a move against us".
i think the violation was that technicality that he could not present him self as an engeneer. (no cert)
One more angle: reliable & internalized abstraction vs unfamiliar one.

Java string is abstraction over bytes. I feel I understand it intimately even though I have not read the implementation.

When I try to understand code fully (searching for root cause), and there is String.format(..), I don't dig deeper into string - I already am confident that I understand what that line does.

Browser and linux api I guess would fall into same category (for others).

Unfamiliar abstraction even with seemingly good naming and documentation, will not cause same level of confidence. (I trust unfamiliar abstraction naming&docs the same way I trust weather forecast)

Maybe not helpfull, but it made me smile :-)
Re:Undefined behavior in C is a reading error on Thursday May 20, 2021 @09:35PM (#27229575)
Somewhat similar to sql situation. (difference being, i am not sure if anybody implements ansi-sql fully)

Standard is just common denominator agreed by actual competitors. (Standard takes into account the chipset where incrementing max_int produces a beep instead of min_int). If user wants to use more advantages of the product (dbms/compiler/hardware), one must sacrifice portability and use cnonstandard extensions.

Re:Bill Hwang of Archegos Capital lost $20B in two days on Wednesday May 12, 2021 @05:14PM (#27135229)
bail outs are undermining the "invisible hand" . Bad decisions dont get penalized, so actors start evaluating decisions diferently.

Older »