skysight-inc/HackerNews huggingface dataset:
Across 3 companies in 10 years, yeah, each one requested me to pursue ethically questionable ends. Sometimes it was an abuse of our customers. Sometimes it was an abuse of other employees.

I could tell the people requesting these things often felt trapped themselves, that they had to. In one occasion, I was told the company could shutter in months if "we" didn't throw up smokescreens and obfuscate the product.

An important lesson is these types of people don't actually value you if you deliver their unethical requests. They've already demonstrated their lack of backbone. It's rarely a quality that cohabitates with empathy and respect.
Amortize is more than that imho. It’s about making a margin too.
At your scale they all have the same performance.
One we see a lot is this:
https://trac.nginx.org/nginx/ticket/1151

worker_processes auto;

in a kubernetes environment where the nginx container only has 1 cpu share, but is running on a 64 core node...this does the wrong thing and launches dozens of workers, which do nothing but eat memory. According to the bug above they've not fixed it because they can't tell the difference between this case and other cases where your cpus may be restricted. While that's true, other systems don't just ignore the problem:
http://mail.openjdk.java.net/pipermail/hotspot-dev/2019-Janu...

(we also commonly see issues with buffering, and proxy host header not being set; the latter is an issue when code moves from an environment with physical hosts - which don't care about the host header - to virtual ones)
"...there isn’t any interest in this while it’s cheap"

I agree. This topic was discussed recently on a HN thread and I'll repeat what I said then.

Some of the most popular languages are the least performative. But if a program runs slowly, many developers will simply throw more hardware at the problem. The "hardware is cheap" attitude is widespread among developers and is frankly embarrassing.

Compare that to other industries that strive to improve energy efficiency. Imagine if a manufacturer said that they were going to make fridges/washing machines or other appliances without regard to energy-efficiency because "hardware is cheap". It sounds ridiculous.

A typed, compiled language can give you good performance and smaller memory footprint for free with the reduced computing resources that implies - no premature optimisation required.

Among developers, there is also a double-standard in attitudes and practice. Developers complain loudly when they are at the receiving end of slow or memory-hungry apps (or websites). But when it's their turn to build apps or sites, they will prioritise languages or technologies that suit their own ease and comfort above all else. The user-experience, performance, memory footprint - all take a back seat.
Very succinctly put. The amount of people who are hell bent on staying in the past and refusing any sort of progress out of ( exaggerated, IMHO) cynical fear and slippery slope fallacies is.. concerning to say the least. Instead of those people using their concerns to help shape the narrative and regulations to fight against what they don't want, they play toddlers and simply refuse to advance.

Cashless is so much more practical the battle has already been lost, a while ago. It's only a matter of time before it's fully everywhere.
Why bother with performance? Does the performance of the http proxy really matter to any real world application?

Serving http is usually completely I/O bound. The more efficient parser in nginx never mattered in the real world. It was used for the much more readable configuration and the fewer bundled foot guns.

What matters for performance is mostly your tcp settings, your buffer sizes, and that disk logging. And that's only in the few cases where the upstream application isn't the bottleneck.
Tesla’s Autopilot feature being investigated by German regulators
I agree with everything, just wanted to nitpick that microservices have been a thing at enterprise level since Sun RPC.

The "microservice" name just seems to be the modern way to make all forms of distributed RPC hipster fashionable.
HN has a tiny bit more formatting

than that.
Bitcoin the network is fully transparent, which makes BTC not really fungible - it can and is traced, which creates better/worse BTC. This is why coinbase (small c) BTC is sold at premium.

Bitcoin should and will die, but in its place a thousand flowers will bloom.

FYI, you can have BTC asset without Bitcoin network in trust-less manner TODAY. See recent paper by Leona Hioki on the way to do it using Witness Encryption cryptographic scheme.
Yes, this has also been something I've missed from mostly all markup languages, but the renderer also has to make a distinction between paragraphs inside and outside of a section. To better illustrate:

@section {
@title: This is my section title

Text, paragraph, etc.

@section {

@title: Subsection Title

Text, text, text.

}

More text that belongs to the parent section. But how will the reader know that? Indentation? Blocks with background color maybe?
}
ah interesting, didnt even think about storing them this way makes them more efficient. Do you have any ressource on that?:)
It's not about companies inside it, but companies outside the country.
And is it actually the norm? Since clearly even the US didn't have the Cloud Act until 2018. Was the US such a rare case until that recently?
None of them that I've seen are those crazy Scrabble words no one uses, which is a really really great thing about wordles curation.
Haven't people been floating the idea of Taiwan destroying TSMC's facilities in the event of an invasion?
With eyes on reuse, Relativity plans rapid transition to Terran R engines
I use ABAD1DEA somewhere in UUIDs in experiments/examples & proof of concept code/data. And for a while one was floating about in production where it would appear in URLs for anyone who cared to look to see¹, because someone else took a bit of my PoC work and shoved it where it didn't yet belong without review…

[1] not just in the middle of a sea of otherwise arbitrary hex either, something like 00000000-0000-ABAD-IDEA-000000000000 so it was easily visible as a “test” value.
I’m fairly certain I heard someone say that it was inconvenient for the devs, or something like that.

A lot of technical problems are born of laziness.
It’s not a regulated measure, just traditional that each stick is half a cup and the wrapper has 8 marks so you can slice off a tablespoon easily. Each stick is 113g
As you say the schema is clearly not intended for public consumption and closer to a dump of their internal data structures. And people are really protective of their Anki data. My Japanese deck has 11k handmade cards and represents years of progress. I'd really prefer that the devs didn't do dangerous migrations on it!
The employees are doing fine..

---------------------------------

Samsung doles out 11 months' bonus pay as talent war heats up.

Samsung Electronics' strong earnings have padded the wallets of employees at the world's top chip seller.

"Once the coronavirus settles down, let's go to lunch at a popular Japanese restaurant. My treat," a friend who works at Samsung offered recently.

https://asia.nikkei.com/Business/Technology/Samsung-doles-ou...

https://archive.fo/XbnPP
> Is there much evidence to believe governments won't cheerfully throw their citizens under the bus for the benefit of the surveillance state

Is there much evidence for the reverse? Ignore the US Patriot act bullshit and focus on democratic countries where the political system isn't fundamentally broken.
The problem could be solved by placing PCM audio into some other container format. WAV proliferates for historical reasons but perhaps we need a slightly more modern audio container format that will accept any kind of bit stream + metadata, etc. I suppose MKV could fit the bill today. Are there any other good candidates?
China want Taiwan with or without TSMC. If China take over Taiwan the US will probably block ASML from doing business with TSMC.
The only thing I can think of is if the user can export data from one system and import it to another, and for some reason there was a requirement to keep the UUIDs the same.

...or maybe if you're storing data from a remote API that uses UUID's as primary keys, and you want to make sure you catch it if they change things. Though in that case I would likely have my own primary key and store the remote primary key in a separate column
There are a number of reasons:

* Most FLAC tools support metadata. For the more "bare" formats that's not the case. When converting to a lossy format, I want my metadata intact.

* FLAC can be played directly on most media players (with metadata).

* The format may be complicated, but the source is open and actively maintained, and there's support everywhere. Using FLAC in your software project is a breeze.

* 2x compression is nothing to sneeze at. My archival collection takes up 1TB on my mirrored, backed up NAS. I like that better than it taking up 2TB (which would be 1/6 of my space). Someday when I look at 1TB the way I look at 100GB today, this won't be a concern anymore.
My old Cantonese teacher from HK told me he used to play Theme Hospital growing up, but he didn't understand why or how to stop the patients complaining about/dying from the cold. He didn't realise you need to build radiators!
Atomic Habits of Desire
You never mentioned how many grams the "stick" weighs. And I have never found out. Saying it's half "a cup" is even more ridiculous. What does volume have to do with it?

Greetings from Berlin.
Linux distributions of nginx sometimes have their conf.d/ and available-sites.d/ directories in /etc/nginx/ which sometimes can confuse matters.

With software packages such as nginx (in general, not in the context of Linux distributions mentioned above), it's sometimes easier / clearer to start with a completely empty configuration file, and add just enough to make it work (TDD-style), and
/ or stop it complaining. If you can explain / defend / justify the presence of every line, you stand a much better chance of knowing how it will behave.
Is triple glazing still not a thing in most places? It's become pretty much standard here in Romania in everything but the cheapest windows.
Twitter seems to be systematically locking accounts reporting on Ukraine
AI Can Now Model the Molecular Machines That Govern All Life
U.S. Secret Service Launches Cryptocurrency Awareness Hub
happy to hear that. I fell in the trap of "to write a blog i have to code it myself haha" but il get back to you when its public:)
In terms of CO2 specifically we can think of it as the 'embodied carbon' which the CO2 created during manufacturing of the parts, transportation, and assembly. Then we have the 'operational carbon' which is the day to day impact.

So to amortise the carbon cost we take the embodied carbon, plus the operation carbon over a time frame. If the operational carbon is negative we would expect that at some point it would break even.

So to help with the English, I don't think it makes sense to talk about the amortisation during the change over since that is just the embodied carbon. But I think it definitely makes sense to talk about the amortised cost over some other time period after the change over.
Chuck Moore (creator of Forth
[1] ) has a ultra-low power processor that is a fascinating possible solution:

https://m.youtube.com/watch?v=0PclgBd6_Zs

[1] Forth programming language: https://en.wikipedia.org/wiki/Forth_(programming_language)
Yes, like that. Your point?
> I'm not sure I'm following 100% your question, but I think you mean what if the government is so unpopular that the country is close to a revolution from its citizens?

I meant that they didn’t have the popular support to shut down the protest (I was not talking about the general popular support to the government as a whole, but just this specific issue). In the previous post, you were assuming that the protest does not have popular support and I wonder if that assumption is correct.

The specific methods used to shutdown the protest matter a lot. The police are free to arrest them or impound their vehicles. Freezing the bank account is not a standard course of actions, which you seems to think are similar to arresting. Even in the case of arresting, the police can’t even hold you for more than a few days unless they can find a prosecutor to file some charges against you.

They were free to use a plethora of methods to stop the protests, the complaint a lot of people have is they didn’t use other methods, and choose something that a lot of people consider immense overreach.
Why would there be less hot air if you set the same indoor temperature? Hot air will rise no matter what.
[Author here.]

Yes, I agree. I hope I was sufficiently clear about that. My motivations for writing this up were that (1) it's a wonderful example of a lot of things I often find myself saying about databases; (2) peoples' Anki decks are really important to them and I'd like to enable people to work with them if they want; (3) I do hit strange behavior sometimes in Anki and perhaps these issues are behind it.

I hope you're backing up your deck!
Game of Thrones really showed how successful it can be. Season 1-4 really was an amazing time to be a fan.

But that also made it possible for them to succumb to mainstream fan culture, the cult of the badass and so on, they wanted to ride the attention wave :(
I mean this sounds a lot less like imposter syndrome and a lot more like someone realising that they've only interacted with a tiny portion of the software development process after a long stint of job hopping. In this case you literally are an imposter, you are ultra experienced at the first year of a project and have no experience at t+1 onward.
I look up collisions every time I generate an ID and it's also sychronized when the node is broadcasted on the global cluster.

UUIDs use time and origin to make things unique something that is both an advantage and also a problem, say for example you want to hide origin and time?!

Also as danuker said, why add a dependency for no real benefit, Log4J should have proved to you that it's better to write minimalistic implementations yourself.

Finally there is a difference between reinventing the wheel and improving the wheel: http://move.rupy.se/file/wheel.jpg

I made a distributed database in 2000 lines of Java.
I adopted this years ago for writing app “help” content, for roughly the same reasons Markdown was invented (e.g. it was annoying to have to mark up almost every word in text that was largely plain content, and the ability to drop in HTML as needed was super convenient). Although .md files “won”, I still use .textile today.
Nice savings! Tho no ingenuity is needed to calculate them as there is actually an established process used in the energy saving business. It uses "degree days" that are derived from temperature measurements, rather than using temperature measurements directly.

Degree days work better in regression as, assuming the correct base temperature is chosen/calculated, heating degree days are directly proportional to heating energy consumption (including being zero when it is warm enough that no heating is needed) and cooling degree days are directly proportional to cooling energy consumption.

More info and data here:
https://www.degreedays.net

including an article explaining the process typically used for before/after calculations:

https://www.degreedays.net/calculate-energy-savings

Disclaimer: I work for the company behind that site, and yeah I know it looks a bit dated :D
To be clear, even if the NYT never took over, those words would still have come up, the nyt only removed 6 words, which is a very small amount.

Didn't stop people from saying the NYT gentrified the game after tacit came up though, which is it's own commentary on facts and fact finding and confirmation bias
That immediately is not a safe thing to do. Humans are known to need a minute to change their mindset to concentrate on driving. Tesla tries to keep humans alert and in control, but they have passed the point where humans feel like they don't need to pay attention.

Of course throwing anything to humans only will skew the data against humans.
You can pay docker for business licences to get commercial support. At the level where you think about getting it, I honestly can't feel bad about the extra cost to the company.
The easiest way would be to join this newsletter https://creative-knitter-9009.ck.page/66aa398945 (excuse the domain, just put it together now).

Alternatively, you could subscribe to this issue https://github.com/samueldobbie/remarkable-extension/issues/...
"After the “Mount Stupid” peak comes the “Valley of Despair.” This is where one goes after realizing ignorance. Accepting this was particularly painful for me, having spent quite a long time thinking I knew a lot. You see, my arrival to the valley was delayed for several years because I kept job-hopping before I could witness the consequences of my decisions."

I've seen this many times over the years. It's especially painful when the individual is repeatedly praised for his/her achievements by people which don't have to deal with future consequences either.

It's very common with consultants. The more benign cases lead to the "fake best practices expert" while the more pathological cases lead to the "unsuspecting pyromaniac hero firefighter" that achieves results by (unknowingly) scorching the earth it leaves behind.
Yep. My sympathy was lost when Daniel said he supported racism in college admissions, just not the part of the career path where he was. He's a victim of policies he supports, well who cares. He should probably learn a lesson but somehow, likely he won't.
Tangentially related: For my masters thesis I developed a framework to model biological reaction networks as electrical circuit elements - concentrations as capacitors, enzymatic activities as (reciprocal of) resistance, etc. This allowed an easy description of the reactions, and then simulations using spice. This was a while back, and good biochem simulation software wasn't available.

My solution was far from perfect, but as a 20-year-old, I was rather proud :D
Ask HN: Why Isn't Starlink Built on Solar Powered Drones?
I just stumbled on this video from ETH Zurich [1]. They are demonstrating an solar powered drone with unlimited range, as it can recharge during the day and flight battery-powered during the night. BEA Systems has a military prototype that can flight for up to one year [2].

I am wondering if such as plane could be used as a 4G/5G relay that could stay indefinitively over the clouds, providing Internet access to rural areas. That would have huge advantages compared to SpaceX's Starlink:

* The cost of such drones would be orders of magnitude cheaper than a Starlink satellite. These drones would also be easily serviceable and upgradable.

* No need for a new communication protocol and hardware, just use 4G or 5G.

* Round-trip-time and connection quality would be significantly better.

* Only specific areas could be targeted by these drones. Meanwhile, Starlink satellites are constantly moving on their orbits and have to cover the whole globe to be any kind of useful.

* No space debrit.

--

[1] https://www.youtube.com/watch?v=8m4_NpTQn0E

[2] https://www.baesystems.com/en/product/phasa-35
https://www.postgresql.org/docs/14/datatype-uuid.html
> BTW, are there out there any on premises multi-user HPC clusters with Docker running on the nodes?

The vendor ClusterVision (EMEA, went bankrupt then returned to life) used to offer a cluster deployment option based on OpenStack+Docker; OpenStack for defining the cluster boundary on top of your hardware then Docker serving as the "image" on each compute node layered on top of the regular OS. Not at all a typical use-case for HPC containers, and with hindsight it is fairly obvious how that Byzantine stack resulted in too much complexity for them to support cost-effectively.
Detecting Irrelevant Third-Party Libraries in Java and Python Applications
"...We present a rapid, storage-efficient, obfuscation-resilient method to detect the irrelevant-TPLs in Java and Python applications...
... XtraLibD achieves an accuracy of 99.48% with an F1 score of 0.968 and outperforms the existing tools, viz., LibScout, LiteRadar, and LibD with an accuracy improvement of 74.5%, 30.33%, and 14.1%, respectively. Compared with LibD, XtraLibD achieves a response time improvement of 61.37% and a storage reduction of 87.93% (99.85% over JIngredient)..."

https://arxiv.org/pdf/2202.10776.pdf
I really want to see an independent scientific evaluation of how safe Tesla autopilot really is.
Depends on how much you make.

UK (London) offers the best quality of life if you have tons of money to spend.

Germany is fine if you don’t have much money to spend. Don’t expect to find any luxury though.

Switzerland is great if you have tons of money to spend and don’t want to live in a big city.

Brexit has been utterly irrelevant to wealthy people, in fact it seems to have made some luxury goods cheaper.
In New Zealand it is available but I have never seen a house with it. Double glazing is the required minimum for new houses and has been for 20 years, but I would say at least half the country is single glazed.
Only use exchanges to put in cash or to do exchanges. If you're serious about crypto and want more than a few hundred dollars in there, you should get a ledger and move your money off of the exchanges (hardware wallet).
To me it seems like they're usually similar enough and have broadly similar controls that it should be something that users should be able to configure from their browsers on a blanket basis, which should be provided in some standard HTTP headers/accessible through JS.
> the European Commission presented a proposal to allow tech companies to derogate from these rules, with the aim to enable them to continue detecting and removing child sexual abuse material online on a voluntary basis

And the commission believes that companies would not take that exemption to user privacy to spy on users communication?

> In order to satisfy the requirement of proportionality, the legislation must lay down clear and precise rules governing the scope and application of the measures in question and imposing minimum safeguards, so that the persons whose personal data is affected have sufficient guarantees that data will be effectively protected against the risk of abuse.

That does not make me believe this to be safe and I don't think such an approach works anywhere. Since child sexual abuse overwhelmingly happens in the vicinity of the victims, maybe invest resources in public education. Have some real eyes on the problem for once and legislators can enact lasting changes here.

Sure, there is exchange of material in online spaces. I don't see the proportion to put every user under surveillance by private enterprises that are hired as a cheap police force or cheap spies. The commission here suggests nothing else. This is a farce.
I wish! In Asia, single-pane/single-glazed is pretty much the standard. Even in 3600 usd/month apartments in Hong Kong, it's very unlikely you'll see double glazing.

It drives me up the wall, winters are not long and it doesn't get that cold but there's a few days a year when the weather drops to around 12 degrees celcius within my apartment (so 54 degrees Fahrenheit) and as someone from colder climes that's used to central heating, I'll say that I much prefer a cold winter with a warm home than a mild winter with a super cold home. I've seen the same when I lived in Japan...

Additionally due to the poor insulation, you get to hear the noise outside quite a bit which I personally hate.
The dark side of online space disinformation
Good catch, added an MIT license.
Why would the author go to that much extra effort to reach fewer people, slower?