skysight-inc/HackerNews huggingface dataset:
The angle is slightly different. Let's put it this way.

Imagine a function written in any Turing-complete programming language, Java, for example. Let's say that you can see the API but not the implementation. Can you bound the space or time that the function call will take?

The answer is no, because there exist correctly written and terminating Java functions with arbitrarily high running time. You can write functions with running time O(n^100), O(2^n), O(n!), O(((n!)!)!)... there is no limit. The crucial observation is that this property is necessary for a language to be as powerful as Java, because there exist problems that require such a high running time and that couldn't be solved if the Java compiler enforced a hard limit on the running time or memory. (System resources such as physical RAM are obviously limited, we are thinking of an hypotetical computer with infinite RAM).

The same isn't true for computational models that aren't Turing complete. For example, regular expression searches are guaranteed to terminate in a certain amount of time and using a certain amount of space (what exactly is this limit depends on the algorithm you're using to implement regexes, but there definitely is one).

The 'tradeoff' at play here is that by using a less powerful tool, i.e. regexes instead of a Java program, you are gaining guarantees about the maximum running time and memory usage, but you are losing the ability to solve certain types of problems.

A common example that can be solved by a Java program but not by any regular expression is determining whether a string of parentheses is correctly matched.

The idea, of course, is not that either tool is 'better' or 'worse', but simply that Turing-complete programming languages can solve problems that non-Turing-complete languages can't, at the expense of being 'more dangerous', because you can't a-priori guarantee how much time they'll take to terminate (if at all!) or how much memory they'll require.
>> Winter Olympics locations rarely end up as tourist destinations

Whistler. But then again it was a huge destination before the olympics too.
If your laptop and your NUC are on a local area network, the latency doesn't have to be so bad.

I have an Intel NUC and I bought a Thunderbolt 3<->10gbps Ethernet adapter. Then I bought another adapter to plug into my MacBook Pro and a 10gbps desktop switch to connect them.
Then I guess EU should do the same.

Americans on YouTube should pay taxes in EU on EU ad views or YouTube should leave EU.

But I think in practice EU is thinking more in direction of simply taxing global profits of tech giants.
> Now that is why if I ever have to send my CV to someone it will only be a PDF version.

Make sure it's digitally signed and locked. I've had recruiters do hacky edits to plain pdfs before.
Why stop there? I run a Hades Canyon NUC that costs about as much as a laptop and is strapped to the back of one of my monitors. It's by far the most stable development machine I've ever used and comes with more resources than average machines of the same cost.
Planning to quit to the travel after the pandemic ?
Similar setup but use a Lenovo P330 Intel i7-8700 picked up on ebay £500 wih two year warranty https://www.lenovo.com/gb/en/workstations/p-series/ThinkStat...
Can anyone recommend resources to learn more about different approaches to distributed trust systems?
That first link seems to claim it's an (expired?) IETF draft on its way to become a RFC.
I think we literally treat our pet dogs with more dignity and compassion than we do our relatives in terms of end-of-life care and decisions.

I watched my grandfather decline over several years before finally dying of Alzheimers/related. His wife had a much longer and mostly happy time in the assisted living facility, followed by a relatively quick period of dying subsequent to a fall and complications from it.

Her experience was 1000x more preferable in my estimation. His experience was agonizing for all involved, perhaps most distressingly for him. I don't know when the right time is to decide "today is the last day" for a family member (or yourself), but I'm quite sure that the answer should not be "at the latest possible date that modern medicine can enable".
I gave mine up (NUC10 i7) because it was so terribly noisy. Switched to a Lenovo t14s which I don't notice during work.
Bats are eaten in China. Half cooked bat could transmit the disease.
If every file upload creates a new upload number (which is a common design) and the upload numbers are not exposed to the client then changes and deletions work without any special effort. I guess this is the case the author is talking about.
For such critical services, it would be nice to have some security evaluation, if external security audits were made etc.
The Russians didn't stop at the moon though:

https://en.wikipedia.org/wiki/Venera

They didn't have much luck with their Mars missions unfortunately:

https://en.wikipedia.org/wiki/Mars_program

Also, the Chinese manned space program was essentially bootstrapped by Russia:

https://en.wikipedia.org/wiki/Shenzhou_program
HBO Chernobyl makes it very clear that the 3 men survived for many years after the accident and that at the time the show was made 2 were still alive.

https://www.youtube.com/watch?v=OHrVlyU3suk&t=132s

Edit: Everyone at the time probably thought that they were being sent to their deaths so they were staggeringly brave - but that's not how things turned out.
Tell your colleagues that you’ve read their past instagrams then. You only do this bs here because it’s anonymous.
Have you seen Projector? That seems to be their alternative to VS Code's remote development stuff.
AFAIK this misses the point. If a EU citizen is contracted by a US company, but living in the EU they are not subject to US income tax at all, but only to their own state's - and also this might not be legal if the US corp has a EU subsidiary. (If they live in the US they are taxed by the US first and their home country second, but taxes paid in the US are being deducted from the taxes they have to pay in their home country. And, if they are contracted with a EU based subsidiary then they are taxed in the EU only, obviously.)
As a Visible customer, I can say the speeds are downgraded. It used to be that if you made it down to 5Mbps, you'd have to call them and your speed will go back up to ~25Mbps. The last few calls have resulted in no speed increases. Time of day doesn't matter so I don't believe their congestion story. They do allow for tethering one device. It's only $40/month and works out well if you just need a slow connection at some location.
Exactly! I can cite 5+ women here in Poland who I know that all have thyroid related issues. Not blood related to each other but born close to each other. As far as I can tell no one is humping their cousin...

My mum died when she was 36 because she had spent a couple of years working in a battery production factory in LT. I remember visiting her too! The amount of cancer, the locations of it and the aggressiveness of the growths found in her pointed to the simple fact that she was exposed to incredibly harsh chemicals. But it could be blamed on X, Y, Z if need be but this is the reality of it.

Cousin marriages and cancer? Wow.
> My anecdote is as valid as your anecdote

In this case, technically true is not the best kind of true.

If we generalized both of your anecdata to either

- health insurance and housing got cheaper for everybody, or
- health insurance and housing got more expensive for everybody

which would be more accurate?

> If I look back more than 20 years instead, to when I was in college, I can see that college has gotten cheaper

Again, that is not generally the case. In fact, the growth in education costs has substantially exceeded the inflation in most other sectors
I use an Intel NUC as my main home computer. I bought a fanless case [1] and VESA-mounted it to the back of a 4K screen.

It has a good SSD, 64GiB RAM and Kubuntu.

I had to buy a heatsink for the SSD to avoid it overheating without any fans around.

> every time I try to use [Linux] on desktop … - I get a frustration since it has all the similar issues I was facing many years ago, which require some time to fix and I am way too lazy for that already

I don't understand this. He fixed the CPU scaling issue, and there don't seem to be any others.

[1] http://www.akasa.com.tw/update.php?tpl=product/product.list....
Nonsense. Entertaining a crowd is nothing like entertaining a grand master. A 1400 USCF player could organize a chess tournament as a company social event.

Guitar is a performance art. Mediocre people are entertaining. Chess (and skiing) mostly isn't.
Facebook and Twitter algorithms incentivize 'people to get enraged'
> This is quite a significant revision to your previous statement that there’s nothing about a data center that makes it more secure than your house.

I said there was nothing magical about data centers security, a point I stand with.

It's all about proper storage (encryption) and physical security. Obviously, the physical security of an AWS data center will be tighter that your typical SME but in a way which is of no significance to storing backups.

> This attitude that your data isn’t very important

You are once again missing the point.

It's not that your data isn't important. It's that storing it encrypted in a sensible place (and to be clear by that I just mean not lying around - a drawer in an office or your server room seems perfectly adequate to me) is secure enough.

The benefits of having easily available backups by far trump the utterly far fetched idea that someone might break into your office to steal your encrypted backups.
Yep that's the one. Hilarious concept.
Do we have evidence that ingesting infected tissue can transmit the disease? I thought the disease spread via inhalation of viral particles?
Got a replacement fan from Ebay from a seller in China, replacing the fan was a little bit harder than the youtube tutorials but it worked in the end.

I used my nuc as a server 24/7 for an year before the fan started failing and now it works just as fine as before.
money is scarcity+value. I think this is the best definition I can think of
This. I can do programming problems in Java, but I definitely can't lead a team doing a Java project. I don't what Gradle/Maven/etc really are. I don't have years of experience with how libraries, the API request pipeline, middleware, etc work. I don't know little tricks / nuanaces, like the fact that Visual Studio has to be restarted for local code to pick up new environment variables, why String and string are the same thing, etc, etc, etc.
Some facilities get exceptions to fire policy and require employees to go through training of sorts. Diablo Canyon Nuclear Power Plant is one place I visited that did not have emergency egress. No badge? Call the guards, that is the only way out.
I've been using spacemacs for a while, haven't looked into doom. Mind telling me why you decided to switch?
Recruiter++
A bug that affects my teams once every few years is a developer will create a file named "A.txt" check it into Git, realize it should be "a.txt" and rename it, and then basically everything will shit the bed and you waste a day figuring out why nothing is working.

A related bug is a developer will make a webpage called /a/ but link to /A/ and then the link will be broken in production. At this point, I have seen this same bug enough times to be able to fix it reasonably quickly, but it definitely wastes time for the team.
Yeah, much that you miss out in history - I wasn't aware of this: https://en.wikipedia.org/wiki/British_expedition_to_Tibet

"The British expedition to Tibet, also known as the British invasion of Tibet"
I agree with the library compatibility issues for typescript, I've felt that pain before, but it is getting better by the day with more adoption.

I've always held the belief that the major flaw of Typescript was that it is preceded by Javascript. This caused fragmentation. If the web was Typescript first, I believe it would have been quite the "nirvana". But then again, Rome wasn't built in a day...
Serve the Home has been reviewing these and other tiny computers: https://www.servethehome.com/introducing-project-tinyminimic...

Lots of power in very small space is available now.
That would make sense. On the contrary, though, I quite admire whitepapers’ use of FP and would like to learn it someday. But my understanding is that there are already quite a few languages devoted to that, and Rust’s focus is something different. After all, if you have the same goals as another language, you just may end up re-creating the same language with different syntax. That said, it would be nice if someday Rust could be as convenient to write FP in as say Lisp or Haskell.
YouTube makes money from Spanish YouTube Premium subscribers and Spanish companies buying ad slots. Spanish YouTubers make money from YouTube.
A 'self' reproducing or 'self' continuing process, via some kind of recursion -- reproduction, cloning or otherwise

Is that at all okay???

Note, I say 'self', since just as a cloud is transitory, so too, we live on food and can't divide us from it

Please note, I'm not saying this is right, I'm just having fun stabbing in the dark
The best reason for me is simple: There are more and more jobs popping up asking for TS.
Stimulus checks are a refundable tax credit, ie a tax refund. They cannot be taxed, but in some cases they can be seized by the IRS.
> "I don't want to die." Gives one a lot to think about.

Doesn't seem poignant, I think this is sad. In a previous comment I said, "In America we have an odd relationship with the inevitable. Sometimes people get a terminal diagnosis, and sometimes they fight it. ..." [0]

Fighting the inevitable is not a noble way to go. Sometimes people can forestall their passing for a few weeks, months or years, but the reaper comes for us all. There are a lot of hucksters who steal with the promise of giving us a little more time...

[0] https://news.ycombinator.com/item?id=20224523

Children should be exposed to the wisdom of this quote, maybe from Tecumseh, maybe from some other native American:

"So live your life that the fear of death can never enter your heart. Trouble no one about their religion; respect others in their view, and demand that they respect yours. Love your life, perfect your life, beautify all things in your life. Seek to make your life long and its purpose in the service of your people. Prepare a noble death song for the day when you go over the great divide. Always give a word or a sign of salute when meeting or passing a friend, even a stranger, when in a lonely place. Show respect to all people and grovel to none.

"When you arise in the morning give thanks for the food and for the joy of living. If you see no reason for giving thanks, the fault lies only in yourself. Abuse no one and no thing, for abuse turns the wise ones to fools and robs the spirit of its vision.

"When it comes your time to die, be not like those whose hearts are filled with the fear of death, so that when their time comes they weep and pray for a little more time to live their lives over again in a different way. Sing your death song and die like a hero going home.” [1]

Whether or not there's a divide to go over, I think it important to not fight the inevitable. Make the most of the time you have, but don't fear the reaper [2].

[1] https://nativeheritageproject.com/2013/11/17/tecumseh-die-li...

[2] https://www.youtube.com/watch?v=PVn6b9QQZeM - "The song, written and sung by lead guitarist Donald "Buck Dharma" Roeser, deals with eternal love and the inevitability of death." https://en.wikipedia.org/wiki/(Don%27t_Fear)_The_Reaper
Last time I applied for job through a headhunter (2010), they ran my LaTeX resume through an automated .doc converter that destroyed all the formatting and then didn't even attempt to fix any of it. Somehow I still managed to get some interviews, and when I saw the printout on the interviewer's desk I shrieked in horror and handed him one the original paper copies that I'd luckily had the foresight to bring with me.
A factor to consider is the radiation from mining and pollution of coal, the primary energy fuel used by Poland as a replacement for nuclear. Radon and coal ash is directly linked with thyroid carcinoma.
There are actually a number of data models that the relational model doesn't handle well, and it's unclear if it's really even the best model. Back when I was in database research most of our projects focused on domains where the relational model was not a good fit. Some examples of unnatural mappings to the relational model include:

- Documents
- Spatio-temporal
- Graphs
- K/V
- Trees
- CRDTS
- Images
- Arrays

I'm sure there are plenty of others but those come to mind first. Most DB researchers I know would argue that if any database model is equivalent to the lambda calculus it would be graph theoretic model, because all other models can be expressed by graphs, but other models cannot universally express the graph model.
I've got a bundle of NUCs. I love and hate them. I have mostly replaced them with Raspberry Pis, which are cheaper and have a number of other advantages.

The problems I've had are: over time, the fan decouples from the processor and the machine runs super hot. Ubuntu always enables wifi power saving,w hich causes huge ssh latency problems. The SD card won't boot. The cheaper ones are slow, to get good performance you have to spend at least $500.

One interesting note: although they come with 19V power supply, they work fine on 12V.
Show HN: Enterprise-grade security simplified for developers
Thanks for sharing this interesting story. Part of my family immigrated from Indonesia due to those riots, but I was unaware up until today of the details covered by the Wikipedia article you linked.

I remember during the 2000s and 2010s that WalMart in the USA earned a reputation for it's inventories primarily consisting of Chinese-made goods. I'm not sure if that reputation goes all the way back to 1998, but it makes me wonder if WalMart was especially targeted by the anti-Chinese element of the Indonesian riots because it.
> Wouldn't HKTs help us abstract over function/types more easily, including closures?

In the sense that HKTs are a higher level abstraction, sure. More later.

> Aren't GATs a special case of HKTs?

My understanding is that GATs can get similar things done to HKTs for some stuff that Rust cares about, but that doesn't give them a subtyping relationship. Haskell has both higher kinded types and type families. That being said, my copy of Pierce is gathering dust.

> If Rust somehow had HKTs and "real" monads, we could have a do-notation instead of the Try trait+operator and Future trait+async+await, right?

It depends on what you mean by "somehow." That is, even if Rust had a monad trait, that does not mean that Try and Future could both implement it. This is because, in Haskell, these things have the same signatures. In Rust, they do not have the same signature. For reference:

pub trait Iterator {
type Item;
pub fn next(&mut self) -> Option<Self::Item>;
}

pub trait Future {
type Output;
pub fn poll(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Self::Output>;
}

While they are both traits, both with something returning their associated type:

1. Iterator returns Option, while Future returns something like it. These do have the same shape in the end though, so maybe this is surmountable. (Though then you have backwards compat issues)

2. poll takes a Pin'd mutable reference to self, whereas iterator does not

3. Future takes an extra argument

These are real, practical problems that would need to be sorted, and it's not clear how, or even if it's possible to, sort them. Yes, if you handwave "they're sort of the same thing at a high enough level of abstraction!", sure, in theory, this could be done. But it is very unclear how, or if it is even possible to, get there.
Yep, recruiters like other middlemen make most money with volume not price/quality. It's not the size of the deal it's the constant flow of deals which makes them money.

For them to pay lots of attention on a single deal it has to be rather large, so that's why head hunters exist for top CxO type personnel, but not really for rank and file positions.
It's OK, Americans don't realize they lost that one to Canada. We torched the white house!

1-0 for the good guys! Ca-na-da! Ca-na-da!

I'll show myself out.
I used D510MO as desktop during 2 years.

It was the best thing I have done, but you have to be able to use your own lightweight tools; NUCs are too weak for for regular setups.

Also you need a passive case and streacom stopped making those.
Five ways to be a better mentor
All people lie: deceit is part of being human. Robert L. Trivers has much to say about this. See for example Trivers' book "Deceit and Self-Deception: Fooling Yourself the Better to Fool Others".

https://www.amazon.com/Deceit-Self-Deception-Fooling-Yoursel...
To be honest, this gives me a little schadenfreude. OVH is the most notorious host that refuses to act on abuse complaints for phishing sites.
I’m not sure this guy even read the book or blog. The conversations weren’t simply “Bonnie come here...i wish I was more true to myself...”. They told stories of their regrets. As they were preparing to meet their end, I imagine one way to give themselves closure was to get things off their chest, or to help others avoid similar mistakes.
I think you give people too much credit. Anecdotally, I can't tell you the last time I went even on a short trip (fewer than five miles) without seeing many people checking phones/scrolling. I think folks are going to be much more cavalier when they've got an "autopilot".
sustained chemical nonequilibrium.
CVE-2020-29653: Stealing Froxlor login credentials using dangling markup
so, how does this look 4 years later?
I have tried to raise those issues in the stabilization issue (I know, quite late in the game), but it simply got shut down by the linked comment with a clear message that further discussion be it in an issue on in a new RFC will be pointless.

Also please note that the article is not mine.
would be useful then to show a gif or a screenshot to highlight this point and how it can help.
Agreed, but I get the feeling that many people here are fervent believers that adtech doesn't work/shouldn't exist, etc... so they tend to gloss over just how important monetization is.

There is nothing with the distributive power and monetization potential like YouTube.
Listening back to mixes over a car stereo system is a pretty common practice, but that's more for making sure a mix translates to common listening scenarios and less to do with road noise.
Towards Maintainable Elixir: Boundaries
Why does unix show paths as strings? It's a lie.

65 ≠ 'A'.
EU is very much interested in collecting tax from tech giants.

We may simply impose tax on their global profits after some system of dividing them fairly.

Fair Taxation of the Digital Economy: https://ec.europa.eu/taxation_customs/business/company-tax/f...
3-9 months seems long for the average American in terms of travel, but it really isn't long enough to gain a social foothold and enough understanding in the local language to feel a certain connectedness to the place. I absolutely think any travel abroad does broaden one's horizons, but perhaps not to the extent that it's touted in pop culture.
I served in the US Peace Corps for two years, and the experience utterly shattered the person I was before, and re-formed me into someone far more understanding, compassionate, empathetic, etc. But that type of experience is highly focused with a great emphasis on cultural integration and language-learning.
Top comment being a dunk on the GDPR by an ex Ad-Tech employee is peak HN.