skysight-inc/HackerNews huggingface dataset:
He turned a speaker amplifier into a speaker amplifier.

He just pluged in the speaker cables into a different speaker.
Started with a speaker and amp all in one box, and a speaker needing an amp. Ended up with a speaker and separate amp in bits on the table, and, if he screws the sonos box back together, a speaker that now needs an amp.

He is now wondering about building a box for this amp. ;)

I would recomend he put the bits back in the box they came in!

Pretty pointless. I've dont the opposite "hack" of mounting amps inside passive speakers, saves on untidy cables.

If you want an external amp for your speaker. Well, go buy one: when you buy it, they will tell you the numbers :)
It is shocking as that puts the salary way below that of London/UK and close to senior dev salaries in est europe. Hence my serious question wether way will go up, if not in the short term at least medium term.
RateYourMusic (you can see "top" charts of any genre rated by users of the site collectively, or find user-made lists) and 4chan's /mu/ board (chart threads). There's a lot of new stuff on Bandcamp that's worth checking out, but it means you miss out on older stuff and the things that define genres.

Example: top rated neo-soul albums by RYM users https://rateyourmusic.com/customchart?page=1&chart_type=top&...

Note that on every album you'll find some user-made lists along the side, which can point you to more esoteric/obscure recommendations.

As for obtaining it, you can either buy it from Amazon/ebay/wherever, search Discogs marketplace or pirate it (Soulseek, RED).
I used to say DCPP (for others I suppose BitTorrent), but it requires connections, effort, and nowadays streaming is hype, and it works.

If you want to spend minimal effort the suggestions by Spotify (just keep on playing, or select one of the 6 lists) can be good. Also, if you like an artist on Spotify, you see on the right some related artists.

YouTube has this feature as well, but make no mistake: YouTube Autoplay is garbage compared to Spotify's. Why? YouTube's too broad, and it spams you. For Spotify you get locked in a subset of genres based on your playlist. I share Spotify with my family (partner and daughter). We all have different preferences, and this is reflected in different lists.

Do note that Spotify saves everything you do there (as was in the news the other day). As does YouTube. If you desire privacy, use an offline solution.
I know nothing about how Electron works but from that line what I read is that, even though Electron has a sandbox, it was disabled at build time for that application.
Platforms can be decentralized. Look at WordPress. You can host it anywhere.

ActivityPub let's you build federated interconnected social networks, an interoperable solution like email.
The article says China's deployment plans are being derailed by cost and popular attitudes towards nuclear. The cost of new tech in turn is mostly driven by the chicken-and-egg problem of deployment. So you have to solve deployment, which means you have to change attitudes.
Competition pushing price down to a near-zero cost base? like the $1 microcontroller you can buy today.
Then the accounts were not closed, simple as that.

IMHO, this is criminal.
In the article he talks about the longer flag names. But the commands themselves are inscrutable. 'xargs?' 'cut?' in neither case can you accurately infer from the name what it does. definitely a good pattern to just name things what they do.
Has anyone seen good coverage of WeWork as an investment?

All my favorite finance meme accounts are tearing this to shreds too.

The only people I’ve heard be excited are the WeWork employees, and you can practically never get the employees to have a counter view on this even if they don’t get stock. I dont mean in like “I dont want to rock the boat” way, but more in an common ignorance of personal finance let alone investing way. They also arent really the investing class, so far they dont really understand the memes aside from the comments like “is this company run by Congress?” Not WeWork specific they just arent investors or financial professionals.

What do the “members” think? Is there any “yes I cant wait to align my interests with my favorite coworking space by investing in their future growth” sentiment? Im just not around those people so I dont know

WSJ and Bloomberg have been ripping on this for over a year, and now with the S-1 out Hackernews and finmeme accounts are ripping it too

Think they’ll retract the S-1 and stay private?
Woodstock needed a poster and Arnold Skolnick delivered a cultural icon
Taste Kid (recently rebranded as Taste Dive) https://www.tastedive.com
We make dependencies, so staying small is more important for us than for end-users.
What you describe sounds beyond the scope of the article. This is a news article from a daily news operation, not an investigation.

It sounds like what you're looking for is long-form in-depth analysis. You're not going to get that from the news section of the BBC web site. That's not what it's for.

What you desire would be found in another part of the BBC, or a reputable magazine, or a book, or a documentary.
I think it's good practice to always use long arguments in (bash) scripts, for the same reason that a variable named `userLastName` is better than one named `str2`.

Because you mentioned it, PowerShell has a similar readability issue with positional parameters `Set-Content $file $text` vs `Set-Content -Path $file -Value $text`. In many cases the use and order is obvious, but it's not always (and will vary by person), and inconsistent style in code also makes it harder to read.

There's no silver bullet for this stuff. You have to be aware of context and future maintainers: If the vast majority of your code is bash and all maintainers are highly skilled in it, go nuts. If most of your product is in another language and you just have some ancillary install or build scripts in bash/PowerShell/whatever, you should assume people looking at it are closer to the beginner level, and it's better to make things as readable as possible.
bandcamp. it's turned into a bit of a community, and you can rest assured that sales go to the releasing entity (8% bandcamp fee.) as well as not shunting sales into low-return streaming.

I use it both for my musical releases and for finding new music across the spectrum.

The entities putting music on there are largely the ones making it, not some corporate entities that don't have time for fans... (itunes, spotify, all the other corporate rarified sales channels that require consolidators for even underground labels, and never deign to directly work with lowly artists LOL)
For me it was a promise that headphones (can't remember where I found this but I think it's still on github) should have compelled... But I never got to make it work...
So I find new songs when watching series or even on YouTube.

For me the best is Radio Paradise (free eclectic radio on the internet) it's more "old" stuff than new stuff but I discovered so much quality music (and still discover new things)
Can you help me understand the problem? These things seem like corner cases that you could just Not Do(TM) and then you don’t have to worry about it.

What am I missing, when do these gotchas become an actual problem for you as a developer?

I’m not sure I’ve used any technology that was free of footguns, and JSON appears to have fewer of them than the average programming language or library.
+1

I tried to switch to FF on multiple occasions, but it's a CPU hog on MacBook. Why is this issue ignored for so long?
In Cambodia, the Chinese have invested heavily in Shihanoukville, which the government there have boasted about before. But all the casinos and hotels they built are Chinese-language, staffed by Chinese people, and serving Chinese customers. The local Khmer people cannot get jobs there, and have been pushed out of the town.

In Bali, Chinese tour operators package Chinese-owned hotels and Chinese-owned restaurants for Chinese citizens to enjoy. They make a mess of the beauty spots and don't spend any money on local businesses. The Balinese are furious but can't do anything about it.

In Thailand, the story is much the same. Chinese business profit, the local economy doesn't.

Learning Mandarin doesn't help - the Chinese tourists don't appear to want to have any contact with the locals.

Western tourists may be rude, ignorant, drunken and disrespectable, but they have always been a good source of income.

In Australia, there are Chinese mines entirely staffed with Chinese workers, flown there direct from China. The local population get zero economic benefit. The state governments get royalty payments for the mine (that every mining operation has to pay).

I don't think the article is biased. I think it understates the situation.
Insecure code led to CapitalOne breach
di.fm
>C++ on Windows makes heavy use of reference counting (which is a GC algorithm from CS point of view), via COM/UWP.

Not sure if Ref counting is a good example here, as there is no runtime monitoring the object graph hierarchy and of course Rust it’s self uses ref counting in many situations.
Spotify.

Their “Discover more artists.” / “Fans also like.” feature has provided me with quite a few interesting bands I didn’t know before.

Their curated genre playlists are fantastic as well.

I mostly listen to progressive metal / progressive rock and occasionally some electronic music, too.

Their algorithms and curated content work well even for those not-exactly-mainstream genres.
In 2002, I opened an credit card account with Wells Fargo. I went to the local wells fargo to pay the monthly due on the due-by date. In the next billing cycle, I was charged $25 for late payment. That's when I decided to close accounts with them.
Belatedly...

I'd love to hear your war stories. Glory years.

Some of us are still pissed that Autodesk tubed Generic CADD.

As for arrogance... You probably didn't work with Bentley Systems or their MicroStation. As a long time AutoCAD nerd, I made the switch for a gig (1993), because it's the work that matters, right?

Huge mistake.

As a kid, it was a cold shower introduction to the arrogance of the phenomenon of the willfully ignorant. I was invited to participate on their product steering committee. Big honor, right? Total waste. I don't think the Bentleys ever used, or watch someone use, their products for real work.
There is >10x as much fed debt as M0 cash... it’ll cause inflation.
>Calling them "the war media" is almost as inflammatory as what you're accusing them off.

Call the nytimes and ask them where the WMD are, maybe they know...
Yes, FastAPI [0] takes a similar approach. The problem here is that the single-source-of-truth for your contract is not OpenAPI, but rather your Flask implementation, with the OpenAPI being a documentation artefact; this is problematic for two reasons:

1. Just like any other documentation, it is difficult to verify that the documentation is actually correct and does not diverge from he underlying implementation. This is a lesser issue, as it can be mitigated with good integration testing practices.

2. The bigger issue, for me, is that any clients depends on the service implementation. In practice, it is very common to build clients -- especially complex ones like React or mobile UI -- alongside the service development, and if the spec is defined first both can be done in parallel. With the above approach you either need to a) wait for the service implementation to be complete before you can start implementing the client, or b) base the client on an OpenAPI spec which might potentially differ from the one your framework will generate based on the implementation.

I have recently worked on a project which had that same issue, and our initial solution was to build tests which would compare the generated OpenAPI with the design specification, but that turned to be extremely complex when we started running into all of the edge cases.

The alternative was to treat OpenAPI as the single-source-of-truth, using it to generate routes and execute validation over requests and responses. The first attempt used Connexion [1], which proved to be a bit too incomplete for our needs, so we implemented an alternative framework [2] (which includes a basic client-side support as well).

[0] https://fastapi.tiangolo.com/

[1] https://connexion.readthedocs.io

[2] https://github.com/berislavlopac/pyotr (still under heavy construction)
Stop listening to music. It's bad for you.
App Store Ethics
I think it's good that more private businesses are using kana-based writing (including more widespread furigana usage), but I don't consider the problem being fixed until the mandatory teaching of kanji in compulsory education stops, and maybe I just don't know but there's no sign of that happening.
SomaFM's Bagel Radio, Soundcloud, Youtube
It's basically a modern ponzi scheme as I see it. The VCs make money at the expense of people who buy post-IPO.
Check out the Odd Lots podcast episode: The Bullish Case for WeWork. Personally, I don't see it -- but capital is so cheap and WW brand so strong that they may be able to pull a rabbit out in a downturn.
some smear vasilene over all the horizontal surfaces so no drugs can happen easily.
Boomkat’s new/rec’d filters, Bandcamp, Resident Advisor, Aquarium Drunkard
I have seen many articles go to 1,500 or more comments at NY Times. Is it usual for The NY Times to close their comments section after only 18 or so hours and just 230~ comments?
On r/listentothis - I made a browser extension that highlights my favorite genres https://github.com/alexadam/ListenToThis-Highlight, but I have to update it because it doesn't work with the new reddit changes
I've used FTP for many years, and I still use it to manage the file system of my blog, which is running on a cheap VPS. I doubt, though, that even 1 in 100 non-technical Internet users knows what it is. There are several good clients available. I think you can even still use Windows Explorer. I can't think of a strong argument for Google to maintain support in Chrome.
It's clearly a misstep on Apple's part, but I think their intentions were at least clearly benign. Note that Apple do not link your Siri information to your Apple ID, they do not use it for any other purpose than improving Siri, they keep it only for 6 months and you can delete it (and change your identifier) at any time.

But they definitely should let people choose whether their data is stored to help improve Siri, and whether it will be managed by humans.
How to Block Ads in Chrome for iOS (2018)
JSON schema validation requires a JSON parser so not sure how this helps in the context.
Especially given that Toronto is not that much cheaper than SF, Seattle or Vancouver. It's certainly not half as cheap as SF.
Yeah it's not physically possible when you control its issue and redemption. It's like American Airlines defaulting on it's AAdvantage miles.
https://hypem.com/ - its a website that aggregates new music from music blogs.
The problem they have is that you can’t save this business by clapping louder. Either it starts generating profits or it’ll go out of business. I am just personally surprised that Adam Neumann isn’t getting the kind of negativity Elizabeth Holmes got. Perhaps after it goes down, who knows, but his activity has been sufficiently shady that it should be drawing more fire.
Think they’ll retract the S-1 and stay private?

It's not clear what that would mean for SoftBank but it can't be good. All VC funds are looking for an exit, Vision Fund is no different.
I work in a Wework office and wouldn't touch Wework as an investment with a ten mile pole. It's just an office. A bit more expensive than other coworking spaces. There literally nothing special about it, except that it never turned a profit.

I like that they at least pretend to care about the environment. I'd like it better if they actually did things to lower the energy use of their buildings.
> Not the best context to suggest XML superiority

where was it insinuated XML is superior? It was a very reasonable response.
The entire hiring process is an act of discrimination. What's the alternative? Hire everybody that applies?
The bank informed Mr. Einaudi that it was closing all 13 of the checking accounts it provided his roofing company, CRV Construction, for a reason it called “confidential.”

Citibank did that to two of my accounts. Good thing they weren't with Wells Fargo, or I probably would have gotten the same treatment. But I still get messages from Citibank about the phantom accounts and how I'm not maximizing their potential. Amazingly, I can still log in to the accounts online and see that they are closed.
Stop thinking (if you're smart)
and my own contribution from april of that same year. Doesn't seem to work anymore since autoplaying is now disabled by most browsers.

http://www.craftymind.com/blowing-up-html5-video-and-mapping...
Fukushima destroyed nuclear energy.

If the Japanese, with their image of professionalism, smartness, ultra advanced technology, and total dedication to their job failed so spectacularly to manage a plant, nobody will believe any safety promise anymore, at least in places where people are asked about it (ie: not China)

Now add the Chernobyl TV series on top, it will be replayed and memefied everywhere a plant is proposed.

Of course, this being HN, I welcome the incomming ban.
Its disingenuous to call it commercially-friendly. The vast majority of commercial users don't want to be subject to the terms of sharing their own code or modified versions of the GPL'd code, regardless of how 'fair' one thinks such an agreement is. Permissively licensed code allows commercial usage without the restrictions that commercial users actively avoid.
I wonder if they had the 'capacity paradox' in mind, where the more you can have, you more you will use. In the 50s energy usage were quite minuscule compared to today I think.
SoundCloud is still my go to. Repost feed is a bunch of noise, so typically I find an artist I like and go thru his "likes" and "comment" feed to explore from there.
If you're forgettable there is no cause because nobody's listening
No there are other areas where that is normal. You're talking very well run businesses with natural monopolies in industries with very low risks.
This is really cool! Video game preservation has been something on my mind recently, but I was interested in preserving the game play experience for some older and more esoteric games that haven't been recorded on youtube or twitch, along with some notes on the core mechanics so information about them isn't lost.
The really shocking thing to me is that nobody's camping outside the Google/Amazon/Microsoft/Ubisoft offices in Canada with offers of 50% pay increases.

These companies vetted these employees for free, seems like a pure arbitrage opportunity to me.
There are so many details that it gets confusing sometimes. A world in which Trump didn't randomly decide to use the nuclear deal as a campaign issue would certainly be a better world than this one. However, I thought they were painted in their true colors when they all, with the single exception of Tucker freaking Carlson, cried when Trump didn't kill a bunch of Iranians in response to losing an uncrewed drone.
I think creating libs is one reason, Iirc was not supported by shadow.
Crypto Trading Bots · A helpful guide for beginners (2019)
I don't read newspaper article comments, but it's possible that an anti-spam system kicked in. It's not like newspapers have people watching the comments on every article.
Good luck suddenly building thousands of 500MW reactors over the next ten to twenty years when currently zero are operational.
If you use spotify and like skipping through tracks and albums this is amazing:

https://discoverquickly.com/
That hardly ever works for me. It's either "here's another artist that's like these ones, only more mediocre" or completely crazy ones, like a playlist of the album Ilana (The Creator) by Mdou Moctar, a Berber electric guitarist, where Spotify recommendations are all for Tyler The Creator.
Yea, was a big fan of both games at the time.
I think the veterans and their families who fought and died so that the Falkland Islander's wish to remain British was respected would have a few choice words to say about the idea of selling the islands off.

I think any politician who suggested it would find themselves in a lot of trouble very quickly.
Seconded. I really like the auto generated playlists, all music that I like + each once in a while a new similar song that sometimes I don't even notice until I think to myself "hey what was that nice song?".
If by aio you mean Posix aio - on Linux it's implemented with user space threads and blocking I/O. Posix aio on BSD systems is implemented as kernel space thread (aio_write/etc are syscalls on BSD, and glibc functions on Linux).

If you mean io_submit, then yes, but in vast majority of cases, actual `io_submit` syscall will block, because of metadata updates, unaligned reads, etc ...
At the very end. It also uses the word "maybe" to equivocate on the subject, and describing it as a "nice enclosure" both minimizes the importance and avoids mentioning the very dangerous risks. The sentence assumes prior knowledge on the part of the reader, which even for a site like Make, isn't always the case. People without that knowledge, who weren't necessarily the intended audience, find their way to these sorts of tutorials as well.

That doesn't detract from the article's interestingness by any means, but pointing out at least some of the risks is the sort of thing that should happen more often in them. The off-hand way in which the enclosure was mentioned detracts a bit, in my mind, from an otherwise interesting article. Maybe I'm overthinking things a bit.
Youtube runs into islands. After a point, you are stuck in some domain of music and music starts repeating. Next time I sample a song, it very quickly progresses to songs I know and I'm back in that same island.

In my opinion, it needs a "discover" setting in autoplay where it amps up discovery and reduces chances of reaching songs I know.
True, but as parent, I realized that only very recently.
Coal is cheap and available in Poland why not use it? It is a bit hypocritical for Western European countries to move their industrial base to Poland first and then push for green energy as a mean to decrease competitiveness of Polish economy.

On the good side Poland is big time afforesting for the last 70 years from 20,8% in 1946 to 30% in 2020. Show me another country in Europe who did so much to sequester CO2 over last 70 years.

Also Poland and Czech Republic had decreased its CO2 production by 50% since 1990s - most in the world. Sure, EU money helped a lot but it was Polish jobs and life choices that paid for closing factories and reforming its post-communist dirty heavy industry, sewage treatment plants, agriculture etc.

https://data.worldbank.org/indicator/EN.ATM.CO2E.PC?location...

https://data.worldbank.org/indicator/EN.ATM.CO2E.PC?location...

So not all bad.

PS. Plans for Polish nuclear power plant in Żarnowiec had been abolished post Chernobyl. You never know..

And I wish Poland got rid of coal and better yet cars. But be realistic.
Remember that the book was written in the 80s, so some things have been adopted since then. One example is version control, which wasn't standard until the mid-2000s. A different example is that most other engineering disciplines require formal diagrams to be created and approved (houses require blueprints, and those typically need to be filed with the local city government) whereas most software companies often wing it with a quick description of what to build. FYI, in Sweden there's actually a museum dedicated to a ship that sank 1000 yards on its maiden voyage during a time when shipbuilders didn't use diagrams but were overseen by a master architect
Breach of fiduciary duty can be a criminal matter in addition to a civil one.