skysight-inc/HackerNews huggingface dataset:
~/notes/ folder for org-mode notes (and other text based notes)

~/notes/journal.org dumpster for my personal day-to-day. from random quotes, to bizarre thoughts i had, and even code snippets (e.g. extract all image links from a page is one that i seem to keep going back to...)

~/notes/journal.work.org same thing as journal.org but for work related stuff. the layout is slightly different: it's a flat structure where each headline is top level (the personal journal is tree-like with year->month->day style nesting). it contains mostly technical details, notes on tasks and various bugs/TODOs.

~/code/qqj/ for my personal repos. i usually keep a "journal.org" style file in each private repo, detailing my work, thoughts, possible directions, snippets i found useful/interesting etc.

~/code/<company name> for work repos

~/code/ everything that is not personal or work related goes straight under "code". if i'm learning a new language i'll create a ~/code/<lang> dir and clone into it various repos to experiment with and learn from.

~/sync/ is like a dropbox dir that is synced across all machines. only the must have stuff that is lightweight.

~/cloud/ for cloud backup (exists on this machine only, not synced to other machines)

~/devon/ for devonthink databases (they are also synced to ~/cloud/ via devonthinks internal sync thing). most of my files i save in devon databases (i usually have two open: one for work and one for personal stuff, like interesting articles i find etc. but whenever i'm working on a personal project that requires extensive research and document collection i open a database for it. most of the documents are webpage captures in pdf format, pdf files (like papers and articles), and images. if it's text-based it's most likely under ~/notes/.

~/Downloads/ is for... downloads and pretty much everything else that is transient in nature. it's a big dumpster i clear out every month or two. every time i clean it i also empty the trash (before deleting current generation of Downloads). it's not automated because i like reviewing what i've been up to, and seeing how bad my adhd was this month :)

~/tmp/ is for files that can be deleted at any time (so... super transient files i guess). i'm not using /tmp/ because i want control over when they are deleted.

~/muhmusic is for offline music :) although i barely use it these days

~/ also contains a bunch of other directories that are synced to cloud backup, like a lecture series i downloaded from youtube. i prefer to have "big" meaningful collections like a lecture series under home dir because i'm much more likely to notice them when doing random stuff, and look into them.
The Kernels for all major operating systems are written in C; C is also used for the majority of embedded devices which perform the small miracles around you. C is everywhere.
Cynical or sarcastic jokes are arguably the opposite of blunt. They're a way to acknowledge or broach a subject which the person, and most often the group, is uncomfortable or incapable of articulating more clearly. For example, because they're being forced to do the impossible, or because the character, cause, or resolution of an issue is poorly understood.

People from cultures where sarcasm isn't common don't understand this nuance and seem to find this kind of dialogue abrasive and unconstructive. Perhaps the sentiment is that if you can't articulate it clearly, then the issue is non-existent, for better or worse, or you're just being lazy and unhelpful.
According to Wikipedia https://en.wikipedia.org/wiki/LiMux the politicians decided last month to go back to Linux.

Apparently Ballmer visited Munich a lot trying to persuade the politicians to stay/switch back to Windows, even moving Microsoft's German HQ to the city.
> Principia is released on every new moon with whatever features and bug fixes are ready at the time. This ensures relatively timely improvements and bug fixes.

This may be the funniest/best way to say "we have a roughly monthly release cadence" that I've ever seen.
> Yes, obviously the president is held to a different standard

In a sane world, this would mean that the President is held to a higher standard because of his position. Now you're using it to mean the opposite.
Police may be outnumbered but the US already called in the military in many cities.
Actually what you're doing here is closer to cherry-picking, since you've found a handful of examples compared to the dozens in the link.
When looking at Linux support I start with the Linux Vendor Firmware Service [1]. If the model I’m looking at isn’t supported then it’s off my list. You’ll notice that not all Thinkpads are supported [2].

The E, L and Yoga series are not supported but the T, P and X series are.

[1] https://fwupd.org/

[2] https://fwupd.org/lvfs/search?&value=thinkpad
Obama: 'No Excuse' for Violence
I'm curious about this as well. From what I remember chromium does what you suggest to verify what is rendered down to the pixel: https://developers.google.com/web/updates/2020/02/chromium-c...
> I don’t see why this is so hard for people to understand.

probably because they waited until everyone was using the platform before enforcing those rules?
I agree that legalization alone cannot solve the problems. A lot of the harm is caused by current approaches, including policing itself. A lot of the motivation to use is due to poverty, and a ton of users are self-medicating for mental health issues. Policing, mental health care and poverty all need to be addressed in order for these problems to go away. Harm reduction practices (like safe injection sites, availability of counseling and addition services) in conjunction with legalization are components of a sane drug policy.
That’s how I understand it. What disadvantaged groups would be using Zoom for free that law enforcement would want to target? Protest organizers maybe?
Brown dwarf stars can be relatively cool and can have atmospheres, so you could aerobrake around those.
Removing PostgreSQL bottlenecks caused by high traffic
This and cash bail are the two most obvious ones. 1/3 of incarcerated people on any given night are unconvicted people who just couldn't afford the bail.

This gives police an enormous amount of power to coerce people. It's also deeply un-American because people are supposed to be innocent until proven guilty. And then on top of that, it's serves no practical purpose as the vast majority of released people show up for their court dates.
Don’t be a dick.
As I understand it, it follows because HSBC and has a major US presence and is therefore subject to US banking restrictions. It makes sense if you consider that the money from the sale, once it enters the HSBC system could easily flow back to the US.

There's also the matter that it was American equipment being sold and Huawei would have also needed to lie to the US government when the equipment was exported.

This is more difficult to get a foreign government to extradite for since there is a doctrine (at least in Canada, but I believe also in other western countries) that it would have needed to be a crime in Canada for the offence to be extraditable (Canada did not have Iran sanctions at the time).

Thus, the extradition case so far has focused on the fraud of misrepresenting oneself to the bank. Certainly a crime in Canada.
Chiming back in to say that, while everything you're saying is correct (i.e. Python was not a ubiquitous language until "relatively" recently), it doesn't change the point: the best packaging solutions, done right, need to be done early in a language's history.

To illustrate the point with an example, you could invent cargo for python yesterday or in 2005, but it wouldn't have solved the problem, because you would still have decades-worth of third-party libraries that wouldn't comply to py-cargo's packaging requirements.

In contexts like these, it's the package manager with the fewest hard-asks (i.e. pip, or npm for node) that wins.

Go, for example, endured major controversies over migrating away from GOPATH-managed-with-third-party-dep-managers to go modules. Even though `go mod` would have been the best solution to start with from scratch, inertia and breaking changes are a real thing.
Red, green, and blue have been scaled by .2126, .7152, and .0722, which add up to 1.0 exactly (even in single-precision float), and if those values really were all in [0,255] range, the maximum value that could be produced by this math is only 254, due to rounding.

I think what's happening here is that the image is in a format that's holding those original red, green, and blue values in a format that can hold values outside logical [0,1].

Update: sorry, the comment below me doesn't seem to have a 'respond' link so I'll just edit one in here. I totally agree with you it's good practice to document your invariants in code, but in practice it would result in the same thing... an unhandled failure with nothing better to do than crash the process. In a way (if you squint) indexing into an array of size 256 is itself documenting the invariant that the index is less than 256. It's just that the invariant itself is wrong.
So I take it your view is that it would be very difficult - if not impossible - to ever archive most communications of blackhats regarding exploits?
KSP is already heavily CPU-bound, so I wonder if part of the reason they've avoided implementing n-body in the game is that it would crater framerates and simulation speed.
I wouldn’t completely agree with that. From most sources, Bloomberg wanted to run even in 2016, and did a lot of work on that front, till the end when he somehow changed tack to “not split the vote”.

While he did officially make a late entry in the race, started throwing a lot of money and research power quite early. It just so happened that the American public looks at more factors than just a lot of money.
Here's what I understand and seen of Unions:
Unions were made to protect workers because they were being overworked and in many cases, forced to work in horrible conditions where they could potentially die.

What the average engineer has to worry about: being over worked, emotionally abused or fired for any reason (at will employment).

Really good engineers/devs are pampered by tech companies. They will never get overworked or emotionally abused because their managers will do everything they can to make them stay.

Average / mediocre engineers get pushed out because they are compared to the productive ones, and will then begin their job hunt all over again, while the company goes and tries to roll the dice in finding another uber productive engineer.

Because you have this divide of pampered workers and forced out workers, I don't see a case where you can unify the two parts to be on the same page. The better engineers don't have any incentives to form / become a union while the average engineer has no leverage.
70% goes to the creator, 30% goes to Google (meaning that the YouTuber will get $1.40 from a $2.00 "applause")

Source: https://www.socialmediatoday.com/news/youtube-tests-new-appl...
Don't disagree, but the poster asked what he/she could do. Also, it won't work without the help from minorities.
https://archive.md/fsE8w
N&R's "Learn The Bash Shell" is as good as it gets. I scanned it with my SV600 if you want a PDF copy.
Hmm, yes I confess I'm not fully understanding. A left swipe from the lock screen to me seems both fast and non-fiddly.

You don't need to touch the home button at all. Just hold your phone up (the screen will turn on if you have "Raise to Wake" on -- usually on by default). Then swipe left from the right edge. That's it.
`[citation needed]`
>but if you end it tomorrow, it won't solve a single one of these systemic issues.

Why not? The war on drugs is absolutely unenforceable - that leads to police picking and choosing what to enforce which amplifies systemic biases they have. You cannot enforce drug laws accountably, not least because it is largely racist in origin and as such targeted at specific minority groups - let alone practicalities

There's a fantastic Vice interview of an British ex-undercover drugs officer: He summarizes most of his career as having been spent ruining the lives of poor people around him and his crowning achievement being a bust that (in the words of one of his colleagues apparently) "interrupted the illegal drug trade in stoke for upwards of 20 minutes"
That could just mean having control away from "Critical bug in Windows, install these patches right now!" to "Critical bug found on the kernel, here's the diff patch that you can analyze so you can be sure it won't break other things."...
Bad policing or bad police is a consequence of bad governance.

Bad local policing is the consequence of bad local governance.

It seems that the urban cores with the most problems are under complete control by a combination of democratic politicians or democratic socialists. In many cases, they control the county and state of the cities with the most problems.

Why won't democratic constituencies hold their own politicians accountable?

edit-to-add:

I expected the insta-downvotes, but why is no one addressing the issue?

It would take one local election cycle in most urban cores to start fixing the police. Or, at least one police contract negotiation, assuming progressives already control the local government (e.g., Seattle, San Francisco, Minneapolis, and many more).

Why is the blame directed toward those who have little if any influence in the governance of local police in urban cores?
https://git.eeqj.de/sneak/hacks/src/branch/master/homedir.ma...

Some usage described in my blog post that first referenced it:

https://sneak.berlin/20191011/stupid-unix-tricks/

PS: How do I contact you? Send me an email.
It's not silly. A source that has been often shown to fabricate evidence and post straight up lies doesn't belong on HN. Many of their videos, including the "undercover interviews" with Twitter and Google have all been shown to have been edited/cut to completely change what the person was talking about or trying to say.

Nothing coming from PV can ever again be taken with a single grain of salt.
> with public servants being taught how to file bug reports and whatnot.

Uh oh.
Agreed. Value Creation is a better word. Idea world is to have everyone getting rid off the necessary of repetitive work (of course he can still do it if he wants) and everyone is motivated to create value, in one way or another, and people generally don't say things like "Hey because I build rockets/control banks I should have a much more lucrative life than the rest of you guys".

If we look at history, most of the stuffs that improve human civilization were indeed funded by "VC" of the time, but the core motive is not to earn profit, but to solve problems and satisfy personal interest. Now if you can remove VC from the picture, you pretty much get a society in which everyone is automatically doing things that are beneficial to the collective. Anyone who wants to just be super lazy will get bored easily and will start doing things sooner or later, especially when all of his friends are creating value.

Sounds familiar somehow.
This remains an issue in Canada with regard to cannabis, now that it is legalized. And we still have a thriving black market in cigarettes, due to high taxes.
This equation changes when the police are militarized. In the wake of the War on Terror, it is now a common occurrence for police departments around the US to purchase excess or outdated equipment from the military. They are allowed to use chemical warfare against civilians in ways that wouldn't be allowed in actual combat. They have electrical equipment that can track or jam civilians' phones. They have literal tanks. The list goes on and on. Even if civilians outnumber the police, there would be a mass slaughter of civilians if it came to all out combat.
Altering depth of field is a huge part of giving a photo a unique composition. In 2012, you simply could not achieve those effects on a phone. So, this teacher was probably well aware of how hobbled her students with only phones were creatively, even if she wouldn't say it out loud for the sake of ensuring enrollment in her course.
There are two extremes: (a) hiding evidence that helps defendants; (b) prosecutorial discretion to help their allies by not pressing charges. One may get disbarred for(a); however, no one gets disbarred for (b).
The boundary condition is that at some arbitrary point god smacks you and tells you to knock it off
Automated newsletters is better known as spam.
Game streaming (like Twitch) is an extremely common use case for OBS, and it's a great demonstration of what's possible. A lot of streamers will broadcast a composite of their screen, their webcam (often with green-screen masking), a feed of their chat, and various other graphics. All of this is pretty straightforward to do with OBS, and would be a significant effort to build otherwise.
It's not black and white. And I am not offering e2e as THE solution to privacy and freedom, but as a part of it and an important metric of whether a solution is actually working right. Just because encryption does not protect me from EVERYTHING, like physical surveillance, that does not mean we should abandon it - THAT is black and white thinking.

Having the law being able to access encrypted communications at any time will trample at the examples I brought up, which are examples that came up with zero effort, no matter what you try to put into your proposed solution - if the goal is to prevent crime, and there are available solutions out there that allow for e2e communication, the goal does not stand. You can't have a corporation banned from e2e, but allow any random dude spin up a secure communication platform without any keys compromised - what are you even banning then.

It amazes me that "corrupt politicians" is shrugged off just like that, while corrupt officials of any kind is exactly what everyone need defenses against with ANY means. In China, they are in the process of legislating exactly what you propose - no private encryption key to be withheld from the law, and yes, you did not misunderstand, it's at the scale this implies, total control and ability to observe over all traffic and restive data at any time - even forgetting all that is happening now, that leaves little unattended by law there.

Now, what, China is a "bad example"? An "exception"? I'd say this attitude coming from governments is the norm around most the world. Where people are at real risk from what say say over the net.

Out of all such countries, let's take China. Do you believe China should reverse its course and allow encrypted communication for its citizens? Based on your words and thoughts, I say you would answer "no". It's doing exactly what you propose after all - now, the only tiny step to totally suit your proposal is to use their powers for "good"! Right? And they indeed using it for good, according to their own legislation.

Because, if you nonetheless said "yes, China should allow e2e in favour of its citizen's rights", you would in essence be saying that "Freedom loving Western countries" should give the law total access to any information (they will always do it only when needed, of course!), but the same countries should pressure "totalitarian regiments" to maintain their citizens rights including encryption. That's contradictory, at least by thinking about it only for a bit.

There's a correlation between these things. Any power given is sure to be abused. If that is not prevented and pushed back, it will not stop but worsen. Trying to find a formula to give absolute power and restrict it at the same time is just fooling around, it's the core assumptions that matter. Unless you really think that some governments are somehow immune to becoming corrupt ant totalitarian when meeting no resistance - their people must be saints indeed! - in which case, I am sorry to say, but I can only chuckle.
defund, demilitarize, disband
Postgres uses separate processes under the hood and thus shared memory to combine results.
What happens when multiple people are looking at it from different directions, as if it was a table?
Many countries are currently ditching Windows in favor of home grown distros due to distrust of Microsoft. Notable examples:

Currently transitioning:

- Astra Linux (Russia) https://www.zdnet.com/article/russian-military-moves-closer-...

- Kylin Linux? (China) https://www.techradar.com/news/china-to-ditch-all-windows-pc...

- South Korea https://www.zdnet.com/article/south-koreas-government-explor...

Already transitioned:

- Red Star OS (DPRK) https://www.pcworld.com/article/2862737/meet-red-star-os-the...

- Nova (Cuba) https://www.omgubuntu.co.uk/2017/07/nova-os-new-release-scre...
I wonder if a "dispatcher" model might be interesting for this, like an old style minicab/police service. Then people could use squawk-scanners for the channels they want to listen into.

It could get annoying if its on all day, SOMA FM provides an interesting police scanner with audio mix which is an oddly relaxing soundtrack
https://somafm.com/scanner/

Are you going to add some jargon, the stuff that made CB radio kooky back in the day?
Bot test proves Jack ain’t lying–Twitter treats Trump differently
https://www.forbes.com/sites/paulmonckton/2019/11/30/google-...
Are you in one of the countries facing export restrictions?
It's true you can't always connect to prod backend db.
Sometimes it's possible if you have a QA or DEV environment you can load it with prod data and test with that.
The Next Wave: A new personnal finance newsletter
Hello everyone, I just started a weekly newsletter about personnal finance and investment (mainly stocks and commodities, but also crypto and startups to some extent). The idea is to build a community around the topic and start investing (small) together. I'd be glad to have your feedback, questions and suggestions
> But when he was running things he basically did nothing to improve the situation although the issues with police were well known.

How can you be so spectacularly uninformed to say this?

Many other responses have pointed out the multitude of actions Obama took, yet you believe Obama "did nothing" simply because you did not put the slightest effort into finding out what he did or didn't do, and what maybe he tried to do but was blocked by Congress or courts or other government actors.

I really believe our democracy is failing in large part because of people like yourself believing farcical claims without doing the slightest bit of research or investigation to determine basic facts.
This parallels the debate between vinyl enthusiasts and digital music consumers. Vinyl enthusiasts swear it's better, but most people don't want to spend hundreds of dollars and hours of time researching and tweaking settings.

Coming from someone who would've been a musician pre-digital era, I think 95% as good is good enough for most folks, they don't need the real thing or the luxury good by a expert artist if it'll cost them 10X the money for an incremental improvement.
Thankfully, it's because a lof of politicians have read Socrates, and taken his lesson to heart; that majority rule is indeed dictatorial, and so we should strive to also let the minorities be heard. That doesn't mean it is always fair, though. Sometimes it also leads to minorities gaining dictatorial rights when they shouldn't.
If you’re going to go “there” don’t pass up on the name of the islands themselves.
Anecdotally, this is one reason Bernie did better than expected in the 2016 primaries.
Isn’t that the “rule of law” conservatives? You know? The “pull yourself up by your bootstraps” people? Or is it not? Maybe political parties aren’t singular entities and are actually a collection of people. Of which there’s crazies in all of them.
Ask HN: Is Google Drive your drive or their publishing platform you maintain?
According to Google Drive’s policies, distributing what Google deems to be “misleading content related to civic and democratic processes,” “misleading content related to harmful health practices,” “manipulated media” is prohibited with possible exceptions when the content is used in an “educational, documentary, scientific, or artistic context.”