skysight-inc/HackerNews huggingface dataset:
Ask HN: Self-hosted alternative to Google Play Music?
Do you know any reliable self hosted solution to be used as Google Music alternative (since it is going to be shut down this year https://blog.youtube/news-and-events/youtube-music-will-replace-google-play-music-end-2020/ )?

I don't like the new Youtube Music service, so I'd like to give a try to some self hosted solution. Features requested:

- player in browser, Android app (support of streaming and downloading for offline listening), keep ID3 and other info, server must run on Linux

NextCloud and a synchronized folder on multiple devices is one way to go. Any others?

Thank you :)
I have worked much more with CadSoft EAGLE, not much with KiCad. I mentioned its name for more choice, but at this point it doesn't matter. The only thing that matters is to avoid analysis paralysis and searching for the optimal path to learning. Which means avoid any debate on the right soldering iron, the right software, the right board, etc. and just pick any single one and get started.

You can go down the rabbit hole and consume hours upon hours on YouTube videos delving into details on whether this soldering station is best, or this multimeter is best. Pick one that doesn't suck because at some threshold of quality/brand, the differences only matter to those who are advanced enough that a particular capability matters most. It's like optimizing to shave off a millisecond by reducing drag: sure it matters to Formula I drivers, but not to me at my level.

Jump both feet in, experiment, get a bunch of components, and build stuff. When you get into these forums, you'll hear about things and read conversations that recommend designs, or other resources such as books/blogs/courses, and you'll absorb a bit by osmosis. Then you make something with these resources to consolidate knowledge.

You can also follow a couple of channels or Twitter accounts. Even if you don't always understand, familiarizing yourself so you can act on things later is useful:

- https://www.youtube.com/user/EEVblog

- https://www.youtube.com/user/TheAmpHour

- https://www.youtube.com/channel/UCcs0ZkP_as4PpHDhFcmCHyA

- https://www.youtube.com/user/BTCInstrumentation/videos (more instrumentation, from Tony Kuphaldt)

- https://www.youtube.com/channel/UCivA7_KLKWo43tFcCkFvydw (Ben Krasnow)
Not his creepy traits per se, but certainly Paolo's ego impeded Arcosanti's development. Typical Founder's Syndrome: a general unwillingness to take on external ideas and relinquish control. When challenged, he would often tell people to get their own mesa and build their own arcology. This was always said with a smile and a laugh, but also, he meant it.

This was a huge problem. If there's any one thing which defines "what a city is", it's that it arises from a multiplicity of visions, not from a singular ideal. And Arcosanti needed multiple visions, because Soleri's vision was certainly incomplete. His understanding of economics, for example, was not just naive, but nonexistent.

Source: I lived at Arcosanti for 5 years in the mid 90s, and knew Paolo well.

Edit: but perhaps you're right, and there's some root psychological defect which manifests as both egotism and sexual abuse.
The Shah was ousted by Iranians and the new regime was put into place by Iranians. The revolution was expressly anti-American from the beginning. I don't deny foreign influence in the upheaval process, but certainly the US did not choose to replace the Shah with Khomeini.

So, I don't understand your objection.

It seems like a "butterfly effect" argument, where you are saying that anything done by one group of political actors is the cause of all subsequent events in that political sphere. I disagree with this; if we say that all subsequent events were caused by all preceding events, that may be true in some sense I suppose, but it needlessly blurs the definition of "causality" to the point where the word becomes altogether useless.

On the other hand, there's a little bit of a "dream deferred" tone to what you're saying -- as though delaying the downfall of the monarchy only led to a more reactionary, less goal-oriented revolution later down the road. Maybe so, as not all of the revolutionary groups belonged to the same political ideology as Khomeini...but the new government was definitely chosen by the Iranian people.
I'd argue that, at least in Sao Paulo, favelas are the result of overly strict zoning and building codes.
If you look at the pictures, the canals are not enclosed, it's a roof with large openings between the panels as well as on the side.
Key point is ByteDance as a whole (I haven’t been able to find anything to indicate that TikTok itself is profitable), which happens to be a privately held company. ByteDance’s CEO have also gone on record saying they had a “weak” implementation of Xi Jinping Thought, and promised that ByteDance would “further deepen cooperation” with the Chinese Communist Party to better promote its policies.
There are multiple 4G licenses in India. Jio just has a majority in market share.
> trad-cath-leninist vs pinetree-eco-fash

I'm intrigued and baffled by this. Would you so kind as to expand it into something I can at least google?

I mean - I think I can guess the meaning but I might be wildly wrong so I'm not going to try without some further elucidation from yourself.
I'm not knowing how much of this things are true, but isn't it ironic that AMD has more benefits from SMT because they have less pipeline optimizations (and similar), but exactly this pipeline optimizations (and similar) seem to be at least partially at fault for some of the Specter style attacks and make it harder to put more cores into the system (as this additional optimizations are likely need more silicon space...).

Sometimes I'm wondering if the best (but software side maybe impractical) design for (non Threadripper level) consumer PC's would be something along the line of.

- 1 single non SMT core with most advanced pipeline optimizations and highest clock speed which only always runs one thread pinned to it (many consumers tend to only run one "costy" applications with need for highest performance at the same time, e.g. a game main event loop).

- around this 4+ SMT enabled cores which are (mostly/reasonably) specter save and have less max. clock speed (other open applications, other threads from the current game, should be good enough for most applications)

- 1+ very low power cores which might have another arch (for the background maintenance tasks of the OS and programs like e.g. update jobs, slow long polling, always-on/connected features etc.)

- 1+ crypto core with integrated hardware security module, used to thinks like signing AES keys and similar (e.g. setup but not run TLS)

Through it's probably unrealistic as e.g. thermal regulations for high speed threads is optimized by "bouncing" the logical thread between cores and software
tends to not want to do things like write the background maintenance code for a different arch then the rest of the software, well phone OS probably could force this. Microsoft + Intel kinda can't.
I think the idea is to consolidate effort to a single C#-to-native path that is not proprietary.

I agree the the Users of Unity may or not see gains in the short term
> Maintenance was conducted on the warehouse door just hours before the blast on Tuesday, he added.

This looks like a key piece of evidence. Warehouse door maintenance could have caused the fire seen at the start of the videos of the incident.

Until more evidence is revealed I think “warehouse with 2750 tons of ammonium nitrate caught fire” is a good hypothesis.

Coulda, shoulda, and speculating about motivations can come later.
I've had some success with jellyfin running on a $5 a month digital ocean machine. Very easy to set up and configure. Decent admin panel and it has an android app that has worked fine for me so far.
Wow 263 comments ... interesting to see what hackers really care about)
Water isn't a problem there. They've got wells tapping into the Agua Fria river, which is half a mile away. Its subsurface flow makes it the third largest river in the state.
Ah, my bad. I have `12.10.6 (833223f2a7f)`. Time to pull, as it really hogged my RAM. The pattern is that it will periodically consume much more resources.

Thanks for the heads-up.
Scoped packages are still failing to install for us, so "was Down" in the title is unfortunately still a bit premature
what's the difference between /tool.cfg and /tool/tool.cfg?

if your project is a hodgepodge of tooling the problem is the hodgepodge of tooling in your project, maybe you need to nest modules or to split libraries, instead of changing everyone else sane defaults because modern hip toolchains can't handle dependents and nested subprojects without stepping on each other toes or requiring the full lib in a single place
> with Google doing some specific android work for them.

Probably something involving VoLTE.
Well, the "less readable code"—ie, the goddamn mess that a lot of game code is, slapped together barely under deadline by staffs working 80 or more hours a week—is part of why AAA games like GTA have so many massive bugs requiring patches immediately after release.

But then, you brought up GTA and games, which aren't even apples and oranges with a website. Websites—even the Twitter website—don't require GPUs or dedicated memory, they don't have the advantage of pulling everything from the local hard drive, and yet they actually work as designed, not merely in a low-resolution, low-effects mode on computers more than a couple years old.

And while I wouldn't point out the Twitter home page as remotely fast for a web site, have you actually even looked at it recently? It shows a lot more than just a few tweets and avatars. It's got images, embedded video, etc.
Taking a public health approach to tackling serious violent crime: case studies
Security is provided by a firewall. But a lot of IoT botnet stuff comes from people opening inbound connections to their cameras/NASs/etc so they can access them from elsewhere. These are hosts where the network security has been deliberately disabled. The large address space of v6 at least reduces the odds of someone finding the device -- an insecure, unexploited device is better than an insecure exploited one.

You could sort of consider the 64 bit host ID to be a cookie, stored in DNS, that has to be provided by the client to connect to the server. Viewed like this, the IP itself would be considered a layer of security, since it forces the client to know the correct DNS name (or spend a lot of time guessing) to connect.
https://www.theguardian.com/news/2018/nov/08/the-making-of-a...

> According to Wikipedia only 4% of fentanyl overdoses result from fentanyl obtained by prescription.

Then why are they manufacturing the other 96% of fentanyl? This is not produced in backyards labs, these are made in professional labs.
Here in the UK it is currently illegal to invite people at home and people are welcome to call the police if they see a neighbour do just that.

At some point if governments do not put restrictions in place and enforce them, and if people cannot be bothered to follow them or to be reasonable then there is little we can do...
Guess I should offer: I lived at Arcosanti for 5 years, and knew Soleri well. AMA!
Google Cloud's Expanding Enterprise Footprint
I don't think that wrist-key is an extreme (never seen it actually, but I still think this solution is a cautious one).

For me an extreme measure would be to modify my motherboard in a way that I could connect RAM to my wrist and tear it away when necessary.
I love Rust, but a few drawbacks made me choose Golang over it:

- Compilation Time
- IDE experience: I have yet to find a good IDE that works like Goland does for Golang, this anyways is due to the compile time :(
- Non-static binaries by default
- Too verbose (compared to Go)
- CLIs are not that easy to write compared to Golang, but this might be due to the fact that I have yet to find a similar library to alexflint's go-args for Rust
- Lifetimes: I'm too stupid to understand them properly, and I get frustrated when I think I understood them and then I spend half of my development time to fix an ownership issue

Again, I _love_ Rust language, but I very much hate its compiler, and thus my general development experience. If RLS and the Rust compiler were as fast as Go's one, I guess that the whole experience would be much better for me. Additionally there isn't really an IDE for Rust that works like Goland for Go :(

I have to admit that I'm much faster at writing Go CLIs (and I wrote a lot of CLIs in the past couple of months), but I might be biased for the reasons explained above that didn't let me enjoy that much programming in Rust.

For a private project of my own, composed of three libraries, I spent most of my time fighting with the borrowing system and the verbosity of the language itself (like `pub field` rather than Go's `Field`) or the whole `json:"fieldName"` annotations that Golang uses.

Last, but not least, I can cross compile Go projects from my Linux computer targeting Windows without any cross compiler toolchain, and the resulting binaries are static. This is a feature I love!

I would very much like to have somebody providing me with tips on how to improve my Rust experience
not a security expert but a commonly heard phrase is 'depends on your threat model' :)
That is a side effect of prohibition.
Status Updates:
https://status.npmjs.org/incidents/cksjqc1w11v5?u=33mgrqjjqd...
You seem to be insinuating that Jio is the only telecom that was given special all-India spectrum. And that is false. All the spectrum was offloaded in public auctions were everyone participated and bought spectrum.

Jio is not the only telecom in India with 4g spectrum or services. I personally use Airtel, and I get 4g everywhere I go without issues.

>I'm super curious what technical reasons mandate that there can be only one 4G license in a country with 1.4 billion people.

The confusion you have seems to stem from the fact that Jio advertises itself as India's only full 4g network. What that means is that the greenfield network build by Jio only uses and supports 4g networks and not the older 2g and 3g networks. So in other words, the Jio network is 4g exclusive for it's customers.

The older telecom are older and still operate old 2g and 3g networks so they cannot market themselves that way
https://gilligan.fandom.com/wiki/Splashdown
One comment:

>I can say as a Lead Devops Engineer...Also get your butts off of SVN… or at least consider git if you’re on Perforce… just please… you’ll thank me later.

You can smell his bullshit from far away :)
How Did It Happen? America’s Unique Failure to Control the Virus
Can anyone confirm that the yarnpkg registry is (partly) down?
Seems to be available on the Australian site (albeit shipped from the US). I usually just find something else to buy to reach the $49 free shipping threshold.

https://www.amazon.com.au/Working-Public-Making-Maintenance-...
Which is why an apocalypse bunker is a pretty stupid idea. The reality is that everyone does subsistence farming again.
Query selectors are slow, yes, but its because they have to parse a string. Other DOM methods don't have a string parsing step. You cannot optimize access to the DOM if there is a string parsing step that must occur first.

That barrier to efficiency is greatly magnified by the complexity of the query string, the size of the dynamically rendered page, and the number of query strings. If not for that string parsing step why would query selectors be any different from any other DOM access instruction computationally?
I never thought I’d write this, but we have officially entered a golden age for C++ JSON utils. They are everywhere, and springing up right and left. It is a great time to be alive.
does this means that attacking the starting king position will always put the king in check of the very first board? but, he can't really escape that
"To prevent Ulbricht from encrypting or deleting files on the laptop he was using to run the site as he was arrested, two agents pretended to be quarreling lovers. When they had sufficiently distracted him, according to Joshuah Bearman of Wired, a third agent grabbed the laptop while Ulbricht was distracted by the apparent lovers' fight and handed it to agent Thomas Kiernan. Kiernan then inserted a flash drive in one of the laptop's USB ports, with software that copied key files."

https://en.wikipedia.org/wiki/Ross_Ulbricht
Interesting project, I'm sure this is useful for people at risk.

Somewhat related, I'm wondering about the physical security of computers. There is an attack where they open your PC, take out the ram, and freeze it immediately so the bits don't decay and they can extract your encryption keys.

All BIOSes have an option for cassis intrusion detection, but I've never seen a case that has the necessary cable. Has anybody here set up a chassis intrusion kill switch that erases the RAM/shuts down the PC etc. if the case is opened improperly? Can you buy anything like this on the market?
I hope my son goes in a wildly different direction. I'd love to have an tech-bubble escape hatch. Something in the humanities, philosophy. The things that actually matter.. It's tiring to see dumb plumber work being praised like it is God's work. You are just hooking up some logic and some in and outputs. It is completely devoid of meaning and depth.
First Uno Platform Course Published
GitLab has a dark theme though
Gigabytes per second can be a worrying statistic. It suggests that benchmarks would be parsing massive json files rather than the small ones that real-world applications deal with.

However this library maintains roughly constant throughput for both small (eg 300 byte) and large documents, if it’s benchmarks are accurate.
Some valid registry urls seems to be broken, for example:
https://registry.yarnpkg.com/@styled-system/css/-/css-5.1.5....
How’s jobs to be done much different from people just talking about what should the key features of our app be?

One big benefit of personas is towards bringing the ideal customer into the room when making decisions. Comments from those involved in building the software along the lines ‘well I wouldn’t use that feature’, shift to ‘well what would Anne want?’. Without personas embedded bias of the product team remain unaddressed and undifferentiated.
i wonder if it's better to FFI into this library when using node.js, rather than using JSON.parse()
Just a heads up, this site is impossible to read on mobile.
You can also look at this from another angle. I bought today $5 iTunes code using a Lightning wallet, which is the new payment layer over bitcoin, think of it as Bitcoin 2.0. 1 second confirmation time and 20 cents fee (compared to 10+minutes wait and $3 fee with Bitcoin 1.0). The seller didn't need my name and address. Nobody knew about my purchase, and I didn't need nobody's permission to trade.
This is why Bitcoin is going to $1m, and not because of what TSA agents say.
Why bother with Mac? I've just built a Xeon E5-2640 using a Chinese X79 motherboard. NMVe, proper Radeon RX580 GPU - in an open build test bench frame. All in all, something like $250 on eBay for everything. Runs the games I like well and looks great on the table, especially with two big red LED fans in front. :-)
I dont understand. Is USB just always insecure because of hardware?
In a similar vein, there's antijiggler[1] which only locks the PC when a new device is connected.

[1] http://www.codefromthe70s.org/antijiggler.aspx
Download Number Book
Download number book
National Crime Agency: Brit teen accused of Twitter hack hasn't been arrested
Nice analogy. Although it's very unlikely that PHP will ever be as highly regarded as are C and Unix today.
We learned to improve Kubernetes CronJobs at Scale
ConvertKit: Major Fumble and Recovery (July 2020 Update)
There is also just "lab"[1].

[1] https://github.com/zaquestion/lab
Not watching / reading news and not getting involved in political discussions online helped me a great deal!
Factor analysis and Cluster analysis on Countries Classification
Seems like a lot of code for what should be, on Linux anyway, a simple udev rule?

echo 'RUN+=/root/usb-changed.sh' > /etc/udev/rules.d/usb-changed.rules

Then just put whatever you want to be ran in /root/usb-changed.sh.
How about a bluetooth dongle in your pocket? Less visible, and unless there hostiles know about it, they will separate you from the computer.

A phone could work. An apparent car key would be better. Best would be a piece of clothing, like a belt.
Since switching to git, I'm increasingly of the mind that clean) belongs to the source control (`git clean') rather than the build. After all, the source control knows what files belong to a bare checkout of the project and which have shown up since you got your grubby little paws on the code!

git clean has options to only clean ignored files, which generally does what you want. I could see there being weird situations where a file is .PRECIOUS (in make's terms) or where you have a file that's ignored but not a product of the build (a developer-specific config file?) where this doesn't work, but I haven't run into that yet, and it's freeing to not have to maintain a free target by hand.
Laravel routes to postman collection generator
Free Online Programming and Computer Science Courses You Can Start This August
I've had the same problem for a few hours now. I'm not able to deploy any of my projects.
It is simply dumb. The CIA certainly didn't want Khomeini in power, but him being elected is certainly a direct consequence of the CIA toppling their democracy.
I love contexts. They're a simple solution to a complicated problem. They take up space in the functions signatures but they're sooo easy to read and to use.

I really hope they'll stay.
The white, middle-class Pinterest moms who believe Plandemic
A chorded keyboard would also map well to gamepads

https://en.wikipedia.org/wiki/Chorded_keyboard
UK Councils can demolish contaminated buildings under powers to stop coronavirus
I guess it depends in your use-case. Looks like this was primarily made for large JSON files and not the typical small JSON payloads you encounter with HTTP bodies and the like. On top of that JSON.parse() is pretty heavily optimized already. Profiling is key.
I never understood the appeal of Hackintosh. Linux has a hard enough time getting touchpad, display, suspend/resume, etc working on regular PC laptops. Does any of that stuff have hope for working well on reasonably modern MacBooks? Maybe this is more for reviving a 10+ year old Apple computer with Ubuntu? I understand that it's kind of fun and interesting but I feel like you're just punishing yourself if your goal is to actually try to use it day-to-day. Just get a Dell.

edit: I now realize this is for running macOS on PC hardware. I remember that I had a coworker back in like 2008 that booted his Dell Mini 10v Netbook with Mac OS X and it was fun to look at but comically non-functional. But he forced himself to use it..
This breaks Google Maps.
If library authors make esm as a thin wrapper over cjs, won't it hinder tree shaking.

And for tools that want end to end esm, like vite. Won't it cause degradation in behaviour?
Iran remains under embargo by the US to this day. It significantly impacts everything that goes on in that country.

US policy continues to be a huge factor shaping Iran. That isn't "history."

Acting like that's "history" is kind of like acting like the issues that Black Americans have currently has nothing at all to do with the fact that their ancestors came to this country as slaves and we continue to have racist policies in place, many of which were intentionally and consciously racist at the time that they were created. And we keep failing to really overturn them.

(For example: https://news.ycombinator.com/item?id=24059608)
Nodejs does cache the results of require(), but that doesn't help with this problem. Example: https://repl.it/repls/SwiftOlivedrabBrace