skysight-inc/HackerNews huggingface dataset:
This script is too much boilerplate and opiniated for me. I maintain a snippet with the most important settings for safe and robust shell script execution: https://gitlab.com/-/snippets/1968838 I'm now thinking of adding the trap cleanup boilerplate to my snippet as well, as it tends to get overlooked too often.
>We wouldn't lose much if advertising would just be forbidden.

We would lose the current ad industry and just replace it with some other form of it.

You can't get rid odd advertising, because the existence of the product itself is already advertising. Let's imagine that advertising were banned. How could a car manufacturer still advertise their cars? Put bigger logos on them and sell lots of cheaper models for a while. That way the city will be full of your vehicles and any time someone sees a car they'll think of your cars. Same goes for Coca-Cola and other brands. In that case they just need to take up more shelf-space.
Dn't be sorry, I'm glad you explained that. I've been involved in some hiring and my workplace isn't equipped at all to deal with those questions properly...
They only share data with partners at the direction of users and only to provide specific services, and use for marketing is banned. That privacy policy?
Apple's alledged* plans. Apple would be just monopolizing the tracking market on the background for this.
I'm starting to think that there's some truth to OP's accusations. The fan on my MacBook has had a tendency to spin like crazy and it's been quite unresponsive at times for it's spec and age. When this post came out, I went for it and deleted it all and it's been acting surprisingly more responsive. Doing a conference-call used to kick of the fan after about a minute or so, the fan doesn't make a sound at all now. I've put in an order for an M1, but I think dropping Chrome (Canary in my case) could have been a worthwhile solution.

To add to my suspicion.
A month or so ago, I was running Big Sur beta and was asked to give a system service from Google, admin access and restart. That in turn broke my Mac, so I had to spend hours to get back up and running. Why does the service require admin-access? Why did it require me to restart my computer?
Enforcement doesn't have to be perfect to benefit society. Once it was illegal to advertise drugs to the public. After it was legalized suddenly drug company budgets were overtaken by marketing, instead of R&D. In my opinion that was a net loss for society.
Mastering SQL Window Functions
Ooh, I have not thought about Kate since I was running Red Hat in like 2003.
> huge market for itself in the EU, but a EU company can't?

Yes, because that US company was already big in the first place thanks to its foothold in the US (a single-language market). The same thing was starting to happen with AliExpress just before the pandemic but I'm not so sure how things stand right now (politics-wise, mostly).

It's pretty hard close to impossible to become a "google" or "facebook" in the local German or French markets big enough to conquer the rest of the continent. Spotify and the rest of the similar European products have had the success that they encountered precisely because they focused on an international (i.e. English-speaking) market first.
Really minimal template, that works well for all scenarios and doesn't cause unexpected behaviour (like changing IFS does):

#!/usr/bin/env bash

set -eEu -o pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

reference all relative things with dir first:

"$DIR/relativestuff.sh"
I've found that the few times I afforded myself a sleeping cabin with proper mattress, I slept fine or even excellently. Couchettes are more of a mixed bag. YMMV.
lol. I don't understand the obsession with gold. Sure it is expensive. But it is just gaudy, ugly to decorate anything and everything in gold/gold color.

If you're being a jerk showing off your wealth, at least have some taste. The saudi king's display of wealth is tasteless at best.
Shouldn't the tracking be opt-in? It's a shame that GDPR was not extended to electronic devices.
Thanks for the reference, added that to my Tsundoku.
This is an excellent way of using your (hopefully) already existing testing and CI infrastructure to change a social problem into a technical problem. As we all know, technical problems are by far the easier of the two. :)

We used this technique to great effect at my previous day job, though under the more neutral name of "ratchet".
Ask HN: Why the negativity about all non-free products or services?
It is a number of weeks HNers have been going to fully fledged war (made of flagging or nitpicking and downplaying comments) against any non-free product or service that gets on the frontpage!? Why? How do these brigades think makers and doers have to sustain their startups? There is an underlying rage at global level that needs to be addressed, imho, because it is not healthy to innovators (people going against the tide, you know... not dark or gray masters only aiming at the booty). This is not a meta-thread bashing the community, it is an attempt to make both parties, creators and users, agree a new common ground for 2021 and beyond.
You might like this article: https://limitlesscuriosity.com/modesty-kills-excellence/

It touches on something similar.
Village idiot here. I will save this pearl of progressive-marxist thought to show to my fellow village idiots how exactly we are seen by the self-appointed, "educated" elite who want us to surrender our rights at their feet.
Show HN: My GPG setup for developing and more
Ruby 3 supports transforming hash keys using a hash argument
You can navigate documents, and change where you're editing using a mouse.
Brilliant. It's a really good compliment to strangling certain parts of a large code base.

As always the key is getting the information to the right people at the right time, and making it more difficult to make the wrong choices then the right choices.
The why is it opt-out?
>Likewise everyone old enough to have a sex drive has seen enough publicity with barely-clad attractive women to know the ruse.

Clearly not, for the simple fact that they do it anyway. It works, else you wouldn't see it in ads.
I asked a similar question on StackOverflow recently.

https://stackoverflow.com/questions/64049757/are-swiftui-com...
Most adtech players are legit and don't rely on such practices, illegal in many countries.

Of course some smaller one will still try to do it, don't get me wrong.
The post-Fascist futurists had a lot going for them as well - especially the Soviets, who basically created the foundation for modern electronic music.

https://www.youtube.com/watch?v=jTj1TtXHKG0

https://www.youtube.com/watch?v=VTiSkiUw7dA&list=OLAK5uy_lx_...

(side note: I lament being born too late to ever experience real subculture...)
whitelist triggered
I asked myself a similar question for web analytics a year ago [1]: how to provide a service without having access to the underlying data. It requires shifting the processing onto the client side, so it limits what you can do, but it's best for privacy, and security (since the data never leaves the native app or browser).

[1] https://chiffre.io
In the UK, the advertising regulator is supposed to handle this; see https://www.asa.org.uk/type/broadcast/code_section/10.html

Mild amusement can be had from the example cases in the sex section: https://www.asa.org.uk/advice-online/offence-sexism.html

(I note that vaunted free speech zone America is actually more restrictive in what sexual material can be shown on TV or even marketed; there isn't a US "Babestation" TV channel, is there?)
One problem with AirBnBs and sometimes hotels is that they're not really set up to receive new visitors early in the morning, even if you only want to drop off your bags.

As for sleeping quality on the train: I'm looking forward to the new one-person ÖBB cabins.
I have tried requesting personal data from one company. They quickly said they didn't have anything associated with me; I believe it's just identified by an id that I don't know and that isn't linked directly to myself.

I wouldn't be surprised if they did not link email addresses (and other user-accessible identifiers such as a phone number) anymore just to avoid having to give you your data if you request it.
> Walter's disassembler

> WalterBright

Was it your disassembler?
> Telegram also has an electron desktop app

Telegram Desktop is a Qt app. Not that it offers E2E so not really comparable to Signal imo.
All happy families are alike; each unhappy family is unhappy in its own way.

https://en.wikipedia.org/wiki/Anna_Karenina_principle
> Intercontinental and cross continental travel are a bit harder to replace with low carbon alternatives.

But much of it is either for leisure or can be replaced by videoconferencing while saving money.

Regarding leisure, it might feel great to do fast intercontinental travel. But realistically, it is not something which will make you a happy person. Most people who are living today could not afford that luxury and are still living a happy life. Maybe even happier than the average American if their culture is a bit less materialistic.

In the light that it is going to devastate our planet, travel for leisure is not necessary at all.
people who write newspaper articles, etc.. still need to get paid

They sure do. But seeing the majority out there does want to see ads or doesn't care about seing them, it's not like they won't get paid at all.
And indeed that majority won't pay for content but there are others who do, and it's not impossible to make a living out of it: there are proper independent online-only news channels out there with no ads and paid by their subscribers (plus a bunch of government subsidies usually).

just like a la carte TV, I think we'd find out that is much more expensive than we know.

Assuming you mean Netflix and the likes: that is actually way cheaper now than what 'a la carte' used to be for me. 20 years ago when I wanted to choose what I looked at on a screen, I'd be looking at DVD rental because there wasn't much of an alternative here. Or maybe even not an alternative at all, don't remember exactly, but there was just cable TV and apart from standard channels you could get some extra (a porn channel, a sports channel), but that's still not 'a la carte'. Anyway: I easily paid twice what Netflix costs me now per month, every week.
This one actually sounds useful for european tech, if applied correctly, and might even benefit tech overall.
I once heard a lecture by Prof. Roy Baumeister of University of Queensland in which he described attempts to cure depression by improving the self-esteem of depressed individuals. The researchers thought that perhaps if the patients had a more accurate view of themselves, they would have a more positive mental state.

Unfortunately, they found that it was the non-depressed individuals who had an inaccurate view of their abilities and station in life! The depressed individuals seemed to view themselves quite accurately. So apparently, a bias towards evaluating yourself more positively seemed to play a role in inculcating positive mental states.

He said that instead of the much touted self-esteem, he now thought that perhaps we should focus on control and self-discipline. Overall an interesting idea, I thought.
...You believe them?
Here, a “shitlist” tracks existing uses of deprecated behavior within a large code base. It prevents new uses of deprecated behavior without disrupting legacy code. This is a temporary measure used to facilitate refactoring large code bases.
> You start to remember that the people using your web site aren't on the latest whiz-bank iPhone 16.

A long time ago, when I worked in video/TV production we had the regular gamut of high spec reference monitors (Barco, Sony, LG) and we also had a lot of $99 walmart specials. It was explained to me the editors and VFX had to make it look good on the cheap TV because that's where the video was going to be seen 99% of the time.
Ultimately the effect of these lavish displays of wealth is a transfer of that wealth outside of the kingdom.
Reco – Compile a regex ahead of time to code
There isn't a clear cause and effect between smoking a single cigarette and developing cancer, or even between smoking a single cigarette and addiction. For a long time, tobacco companies used such equivocation to avoid regulation of their industry.

Instead, we look at the total effect (and often the intended effect) of multiple small changes, and decide whether they are a net positive for society.
Lmao no it doesn't.

Your salary is simply the amount of money you have convinced a company to pay you. You could waste 3 years making 100k a year only to deliver a failed project that resulted in 0 revenue.
> I'm just like everybody else man, an average playa with above average potential

De La Soul -- The Grind Date

https://genius.com/De-la-soul-the-grind-date-lyrics
Shitlist driven migration/refactor, maybe. If it's development it means you're always deprecating something and that's a significant organizational smell.
Trump appointed the lone dissenter on the commission
Depends how friendly the administration is to encryption. A lot has happened since March 2017.

https://www.politico.com/story/2019/06/27/trump-officials-we...

https://www.eff.org/deeplinks/2020/10/urgent-earn-it-act-int...

http://cyberlaw.stanford.edu/blog/2020/06/there%E2%80%99s-no...

The US and cryptography have never really gotten along.

https://en.wikipedia.org/wiki/Crypto_Wars
It’s pretty cool that from the very first step that they are introducing how to use accessibility modifiers to improve support for voice over.
You hit the nail on the head

All developers could benefit from direct interaction with the actual users

It's amazing the disconnect between the two groups. And it's not because someone is wrong, just that they have a different perspective of how to use something
TikTok expands Community Guidelines, rolls out new ‘well-being’ features
Why is a different method any less "yikes" for govt action attempting essentially the same goal?
The weather is a big part of it. If you were to live outside, coastal California weather over Texas weather is a no brainer
> https://youtu.be/08IC1AZTxls?t=2941

Yes, apple talking about apple...
Lets see the facts, here mozilla is asking apple to commit what apple is advocating for all these years.

> "In 2019, Mozilla called on Apple to increase user privacy by automatically resetting the Identifier for Advertisers (IDFA) on iPhones."

It's 2021 very soon
> It is up to the rest of society to develop a proper culture

Just as the environmentalists say that you can't really throw things away because there is no "away", increasingly there is no "rest of society" that exists completely outside online culture. Especially in the year we've all been quarantined inside.
I'm not referring to verification for card fraud, I'm saying the card networks could sell it to anyone that wants to verify a human is on the other end. Like an alternative to Captcha.
>In other tissues, muscle action drives the fluid back to the circulatory system.

Could one of the effects of massage be something similar?
Competition doesn't even arise in the US now, it's monopolies and rent extractors all the way. If some of them are forced to break up or be outright outlawed, that should be enough of a carrot for local competitors.
Building a Chat App with React Native and Gifted Chat
>At least review sites would be something that a user would have to seek out, rather than having the information blasted into their field of attention at times the advertisers found strategically optimal.

This is the crux of the question. I don't consent to any of it, but just walking down the streets I'm targeted by an assault on my brain from every direction. Ditto picking up my phone or browsing the web (were it not for uBlock). It's not ethical.

As for review sites being shilled, mandate big disclaimers detailing sponsors (shill praising product X would have to have a big banner saying "this content paid for by X", as its already done in other contexts). Reputation would eventually form around trusted reviwers.
They’ll care if Apple tells them to care.

Sent from my iPhone
> Dating someone who plays games is not issue. Most young people of both genders play games.

True. But following a sport and being able to hold forth on it competently will allow you to start conversations and engage in connections with a much broader social circle than demonstrating your knowledge of vidya memes.
Hackernews seems to manage.
I would expect an IDE you have completion built in.

In Emacs you need to configure LSP, which is a non-trivial task.

I have no idea how Kate rates in that aspect, have never used it. Suprised to hear that it's still alive (but that doesn't mean negatively surprised).
Yes - it was late at night and I forgot the m :)
and Chinese iCloud with Chinese government...
Lambda Studios: A full-service software agency by Lambda School
Don't you think actors audition for parts ? Is that stressful ? Does preparation help ? 300k+ paying jobs will have demand. With that comes pressure.
You can check that here yourself - it is a carbon footprint calculator from the German Federal Environment Agency:

https://uba.co2-rechner.de/en_GB/

https://uba.co2-rechner.de/de_DE/start
Show HN: I made an interactive Jupyter Notebook about ciphers
Just started using this platform and decided I may as well share this and see what people think: https://github.com/TuanaCelik/BrilliantCiphers

This is an interactive Jupyter notebook that explains the relation between ciphers and the frequency of letters in an encrypted English text. You can launch the interactive notebook with binder (at bottom of Readme), and play around with the graphs and code. It takes a while to load the first time..

The idea was to design a course on ciphers for people with basic Python knowledge. Let me know what you think!
For lawyers the incentives are even worse, every time a unethical lawyer sends out frivolous claims someone has to pay a "good" lawyer to defend against them.
I've grown to dislike DSL's, especially when it comes to building software. The main problem is I don't spend much time in them so every time I need to make a change I'm back looking at unfamiliar code again. I'd much rather use the same language as the product and calling library functions or building an object model even if it is slightly more verbose.
I believe it's possible with a way bigger marketing/sales team, from all around Europe, so the product could be marketed all over Europe (and the world).

Basically, I think starting with just one language is a mistake - if you're aiming for the whole EU market, start with as many languages as you can.

Of course, that will be more expensive on a continent where funding is not easily available.

Some resellers, Wish and Joom for example, have ads in every European language, it's the same ad but with different text/voiceover. Seems to work pretty well for them.
This reasoning is just funny. You put your servers on the cloud because you do not want to be bothered with owning and maintaining them and next day you tell people to own and control their devices.
Guess what, many have more interesting stuff to do than tracking updates and tweaking configs.
At least where I live, the key is to have a modem that does not support the latest DOCSIS standard the ISP claims to have supported. They basically never get the implementation of the latest thing correct, so you don't want to wind up using it. I have the option to bring my own modem, so I just get a cheaper and slightly older modem and use that.

The prevailing issue is the way the US regulates ISPs leading to a lack of competition, giving them little incentive to do anything other than raise prices on a regular basis. While I have at least talked to technical support people who understand the concept of a cable modem being supported or not, there is no one available you can talk to who understands signal levels, etc. The only diagnostic they can perform is "does speedtest show the advertised speeds".

There is still some sort of issue with the cable modem getting "stuck" in a bad state. I have a USB controlled relay that is used each morning to interrupt the DC power to the cable modem. This basically fixes it. I'm not awake when the modem resets so it is a non issue to me.
Covid having impact on children's education
How to optimize your Google Business Page
Adding your business to Google My Business isn't sufficient. You should realize how to advance it completely, so you can get more leads for your business. Read this blog to know a few tips on optimizing Google My Business page efficiently.
> The integrator back-ported the patch (linked above) to L. It is literally only a few lines so this was straightforward. Some of the hardest problems take 1 or 2 lines to fix :)
I think you're correct. Most EU politicians did not work with technology a lot, they prefered travelling and having chats with cabernet and camembert.

Surely the pandemic forced them to use some more tech.
>You can't and shouldn't rely on your audio handler getting called on time via a timer in order to keep playback stable, especially not on a non latency sensitive use case

Why not? According to [1], using timers is how Windows, CoreAudio, and PulseAudio all work under the hood, and on Windows and in PulseAudio it replaced the previous interrupt-based implementations. On the app-end of the APIs, Windows' WASAPI code example uses Sleep polling [2], and PulseAudio's write callback is optional and VLC doesn't use it [3], foobar2000 has a polling-based output mode[4], Windows has specific APIs for audio thread scheduling [5], etc.

Is this a specific deficiency of Android?

[1] https://fedoraproject.org/wiki/Features/GlitchFreeAudio

[2] https://docs.microsoft.com/en-us/windows/win32/coreaudio/ren...

[3] http://www.videolan.org/developers/vlc/modules/audio_output/...

[4] http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Compon...

[5] https://docs.microsoft.com/en-us/windows/win32/procthread/mu...
> overpopulating an area

No place in America is even close to this
Impact of travel and circadian disruption on athletic performance
I don't even see the issue of preventing third-party apps from tracking you addressed on that page, and that is exactly my worry with these kinds of projects: It is not clear to me that they even know what the threat model is. They do not seem to focus at all on the largest issues facing modern phone app ecosystems.
I would gladly read your memoirs, great stories.
If you feel depressed buy a houseplant. Having something to take care of helps a surprising amount. I went through a really rough time last year and taking care of a plant I got at a friend's wedding helped me get through it.
> but I don't think

> makes me think

> Intuitively, I'd expect

Why do you think all these things?
I work on Debian or derivatives mostly and the oldest Debian LTS has 3.5.
The question isn't about current margin; the question is about long-term margin.

Running at a loss to build out market share, technology, branding and economies-of-scale is a standard startup strategy. Tesla is still in that stage.

The key question is whether things like the Gigafactory provide Tesla with unique economics and competitive advantage. If they do, Tesla will be able to have lower costs or more expensive products than GM. If not, it's overvalued.
Read to the end before screaming. I do this:

exec >>$log_file 2>&1
if ! flock --exclusive --nonblock 1
then
log "unable to get exclusive lock, aborting"
exit 1
fi

Which redirects standard output to a log file, then tries to get an exclusive lock on it. The lock is created by the flock subprocess, but continues to exist until the script exits and closes that file descriptor.

This means there can only be one process writing to a given log file at a time. For me, that is the right granularity of locking - i have several cron jobs running this script, but with different arguments, and writing to different log files.