skysight-inc/HackerNews huggingface dataset:
> People should really stop complaining about the dongle situation.

You're not really refuting anything below, just essentially saying to people: you know, I know better than you, you don't really need these things (the same thing Apple is saying).

> Just about any portable device can be bought with USB-C or wireless. For fixed desk hardware (keyboard, mouse, monitor, ethernet) you should use a TB dock anyway.

Never had a need for a dock before...

> Yes, if you do presentations you probably need a dongle for the projector, but that has always been a mess anyway (VGA, HDMI, DP, DVI, it's never the same connection as your laptop).

I dunno, HDMI is pretty standard these days.

> Yes, if you use a camera you'll need an external SD card reader, but you'll need that for many other computers too.

No my current MBP, though, which is the point here.
Apple doesn’t sell any wired mice or keyboards AFAICT.
I'm saddened that you are going through this now, it is a hard time.
It's easier to fine them 1.3 million for the next offense after this fine for the first. And so on.
>I found the Magsafe adapter cords would fray, corrode, and blacken pretty easily, becoming a fire hazard. Every Macbook I owned, I would need at least one replacement over a 3 year period.

That wasn't a fundamental problem with the MagSafe connector, but yet another symptom of Apple's detrimental obsession with aesthetics. The cable (like all Apple cables in recent years) had inadequate strain relief. Apple knew this, but decided that frayed and burned cables were preferable to an ugly strain relief boot. The problems with Apple cables are easily prevented with a few inches of electrical tape or a couple of pieces of heatshrink tubing to provide a satisfactory level of strain relief.

https://www.theatlantic.com/technology/archive/2012/07/why-a...

https://support.apple.com/en-gb/HT201600
An alternate interpretation: most people who use slack use it for work.
Oh for *'s sake. Companies and institutions are desperate to justify their AI investment any way they can.

They would have gotten a perfectly good estimate by taking some photos of the crowd at different density areas over the day and doing some good old-fashioned sampling and extrapolation. Something that could be done by primary school students (and is done, remember counting cars or sampling insects on field days?).

Just because you can, doesn't mean you should.
Shodan is amazing. Creepy too. I used to spend hours trawling video feeds on there. Fascinating.
Unfortunately the people who will and are suffering from this, are the ones who did not cause these problems in the first place.
Near-instant sleep/wake, best trackpad, Exceptional battery life, good weight/thinness balance for the power, industry-leading I/O performance with their SSD (which were PCIe years before the mainstream), very fast external ports (USB-C now) which can drive RAID disk arrays, fast flash drives, even eGPUs.

After the hardware, the software:
it's a GUI that just works with minimal fuss, supports most mainstream software, and also works with all the *nix stuff from Linux and BSD.

AND I can dual boot to Linux, Free/Open BSD, or Windows

AND I can run VMware or Parallels or the native Mac hypervisor (Docker)

I've seriously given consideration to the Surface Book Performance Base and the Dell XPS 15, but there are a lot of tradeoffs that keep me coming back to Apple's choices. The touchbar is not very useful to me but it's a minor thing. The keyboard I've been lucky (for 2 years).
I watched the trailer for opus magnum, and it basically looks identical to SpaceChem, just on a hex grid with better graphics?
> Magsafe wasn't that great (comes off too easily)

THAT IS THE ENTIRE GENIUS POINT!
UK low emission car sales down 5% YoY for June
Opening up the Internet to commerce was our Original Sin.
Every ~400 years or so.
I found my problematic quick look plugin by running ```qlmanage -m plugins``` and doing a hack binary search where possible. I identified 3rd party plugins, assumed the problem was there, then disabled half of them by temporarily removing the associated apps. It only took a few iterations over a couple of days of casual use to pinpoint the culprit and the problem has not returned.
Solution Architecture Part 5: Designing a Solution and Estimating Resources
Yes, sorry, that’s more or less what I mean. I was thinking of getting a few dozen 4-6 foot tall trees to start. But I really need to do a lot of research here and consult some people who are educated in this domain.
Money made in one place goes to shareholders and profiteers somewhere else.
Is there any way to financially support the project? I have only been able to find a couple of Patreon pages of people working on specific libraries I haven't been using personally.
Nestle creates wrapper that degrades in the sea within six months
I avoided the Touchbar MBP for having no physical feedback and no escape key.

Yet I know multiple developers who consider it „quite nice, actually“.

So I’m wondering: do you really own a Touchbar MbP or do you just have an opinion.
See this discussion https://news.ycombinator.com/item?id=20353148
Well the G3 when it shipped it was pretty competitive if not faster, the G4 still was pretty good in some benchmarks but the Intel / AMD post Athlon fight broke loose by then so by the time Apple switched to the Core architecture they were pretty far behind in performance unless you were using 2 or 3 hand picked Photoshop filters all day.
I imagine EdwardDiego is referencing the economic gains made by not spending the funds to appropriately prepare for the disastor...
> Consequently politicians are not bought

There's zero chance of this being true, even despite strict campaign contribution regulations. Arguably, it makes buying politicans more effective because corrupt people can easily skirt the rules "i.e. getting groups of people to donate on your behalf", etc.

Of course corrupt people will always try to skirt the rules and rig the game in their favour, so the harder you can make it the better. And strict campaign contribution rules are definitely better than not having them there, but to suggest that no Norwegian poltiicans are bought is absurd to the point of naivete.
> First the new group manager was not shaking hands with him, not communicating with him properly etc.

Yeah - and for an American this is just the weirdest thing ever. I struggle with this a lot and have been told to not equate it with racism - but what the hell is it otherwise?
Notice that in a free market economy people who want to retain privacy wouldn't provide their address to the bank in the first place. And banking services would be safer and cheaper.

But thanks to the overreaching governments, banks must collect that info.

And because government bureaucracy can only grow bigger, instead of eliminating Stalinist data gathering (privacy by design doesn't apply in this case!), the morons impose additional laws, workloads and costs on top of an already heavily regulated sector.

Finally, when TSHTF it is the guilty party and root cause of these problems that fines those who can't (or justifiably won't) cope with their nonsense.
Sorry. I eat crustaceans, which are basically sea insects. But, crickets? Yew.

That said, I've seen some insects that are traditionally eaten. I seem to remember a kind of big, fat, white grub that is eaten in Mexico? Pictures I saw looked quite appetising.

But, crickets? Yew. They're like cockroaches with little violins. No thanks.
People should really stop defending the dongle situation ...

My 4K monitor bought in 2016 doesn't have a USB C input so I need to purchase a $20+ USB-C to HDMI or DP cable if I want to use a monitor?

My iPhone SE bought in 2016 uses Lightning so I have to buy a $20+ Lightning to USB C cable to charge that as well? I guess I should throw out all of the other Lightning to USB-not-C cables I've had to purchase over the years?

My Apple USB keyboard bought in 2016 also uses USB-not-C so I guess I have to buy an adapter for that too?

Meanwhile my 2013 MBP is perfectly capable of connecting to a monitor and keyboard and charging a phone without paying for add-ons.

On top of that you suggest we "should" be using a $200+ TB dock anyway?

How about Apple doesn't require users to buy $300+ of adapters to use their latest laptop with modern peripherals?
I've been gradually moving over to all USB-C peripherals, and the experience is great. It's an ergonomic connector, and it's nice not to have a bunch of separate subtypes for different applications (normal, micro, that weird long one etc.). The main problem has been lack of support for USB-C in peripheral manufacturers.

For instance, in the last couple years I purchased a high-end E-Reader and a pair of noise-canceling headphones, and neither of them had USB-C as an option (the headphones do as of the most recent iteraation, but oh well). Also it's impossible to find a Thunderbolt over USB-C external SSD which has a small form-factor and isn't obscenely expensive.

I'm ready to move into the USB-C-only future, but the ecosystem still isn't quite there yet.
Mm I would bet (from experience) that's it senior leaders in non tech (and some tech) companies still view the internet as something that is exactly like the old way of doing things.

A lot of places see the website as just like a print media poster site to outsourced to the lowest cost provider and don't realise that it is now a core competence.
> They got rid of Magsafe and the rest of the useful ports and added USB-C not because of the warm and fuzzy feeling it gives nerds, but because it streamlines factory production and makes the laptop thinner.

A “former apple fan” should surely remember the hand-wringing over the iMac USB switch too. And Lightning?

Apple has always pushed almost-there technologies with benefits over legacy tech, this isn’t about “shareholder value”.
I'm don't follow.

Let's take bug species Foo. We have two Foos. One has DNA trait Y the other DNA trait Z. Zs are more prone to be trapped. Ys are less.

Over time Zs die off. And Ys prevail. Therefore, over time the traps will capture less Foos.

You're (falsely?) thinking in terms of traditional evolution. But natural selection is not the same thing. I'm suggesting that - at least in theory - natural selection can be used to explain why they are catching less insects.
I have always dreamed of creating a country dropdown that was not in alphabetical order and contained historical countries/territories/empires that don't exist anymore. This is even better though.
>Actually, I'm charging money for a custom CMS with an admin panel that comes out of the box with 34 unique widgets which can be dropped in any page or blog post.

Wordpress is also a CMS with an admin panel and tens of thousands of plugins, many of which provide widgets that can also be dropped in any page or blog post. And I can get it for free and see the source code myself and judge its quality. Where can I do the same for WarpKnot?

I'm not saying this is a bad product, just that the market has already decided that PHP based CMS's aren't worth spending money on in most cases.
MaybeUninit<T> is very welcome considering mem::uninitialized turned out to be such a mistake. I only tried using it once which dissuaded me from trying again, which was probably for the best.

I'm still looking forward to const generics and a more usable const fn. In a way it's a shame Rust doesn't have a purely constant function in the interim. But a hybrid function will be more versatile once it allows some form of looping.

The last thing on my wishlist is extern types (aka opaque types aka void *). The current workaround using a pointer to a [i8; 0] type relies on LLVM's particular handling of such pointers and always looks weird in rust.
What about https://matomo.org or https://github.com/parkr/ping ?
I never had any cords fray ever on any product I ever owned.

Except for basically every single Apple product I ever got that had one of those stupid white cords no matter how gently I treated it. I've never bought anything Apple related from somewhere other than Apple and have been buying Apple products since the first iPod with the physical moveable wheel.

I think within the last few years they finally changed how they made the cords. My replacement Apple brick for my Macbook pro still looks filthy after a couple years of use, but has surprisingly not started fraying.
Outsource implies that it was once an in-house operation, but I don't think this was ever true.

However, allowing mergers until there are only one or two companies which can make strategically important things means you have painted yourself into a corner. You can bet that these companies will be well aware that they are immortal, and behave in ways which exploit this. You will not get the efficiencies often ascribed to private enterprise.
If it was a slightly balanced article which pointed out some of problems in the IT industry with regards to Indians, i would have fully endorsed it and added my opinions on it, but it turned into essentially a one dimensional attack backed by Quora quotes.
There are two firsts here:

1) The first fine by the Romanian supervisory authority; and

2) The first fine for breach of Article 25.

That's why I chose first Art. 25 fine as the original submission title.
The wireless keyboards and touchpads have a Lightning-to-USB-A cord, which can be plugged into the computer directly. Primarily for charging, but if you charge off the computer it'll use the wire instead of Bluetooth for typing.
It should be noted, when Safari deletes an extracted archive, it isn’t deleting it; it’s putting the archive in the Trash. You can just turn around and fish it back out. That’s one of the Trash’s roles in macOS: to serve as a place for the OS to put things that you probably don’t want, “but if you do, here’s an opportunity to grab them before they’re gone.” (I’m honestly surprised that every time you Cmd+C, the previous contents of the clipboard don’t end up as a file in the Trash. It’d be perfectly in line with the metaphor they’re going for.)

——

Also, fun bonus fact re: checksumming:

Apple uses the https://en.m.wikipedia.org/wiki/Xar_(archiver) file format for their own software downloads (e.g. App Store downloads; and developer-tools packages from the Apple developer website; and downloading Safari extensions, before those were rolled into the App Store; etc.). Despite Apple being seemingly the sole user of .xar, it’s not an Apple-specific format; rather, it’s developed by OpenDarwin. So you can use it too (for, at least, your macOS-targeted downloads), if you like.

A .xar file contains embedded checksums (both for the archival representations of each file, and for their extracted representations); when Safari auto-unpacks a .xar, the .xar unpacker (Archive Utility?) verifies those checksums as it does so. IIRC, if the verification fails, the extraction stops, what has been extracted so far is deleted, and the user is told the archive is broken and asked whether they want to keep it or move it to the Trash.

A neat thing about .xar extraction, is that it seemingly tags the extracted files with an xattr declaring that they’ve already been checksummed. Apple ships applications like “Install macOS Whatever.app” as a .xar containing an .app bundle containing several mountable .dmg files; normally those .dmg files would do their own checksumming when they mount, but since they came out of a .xar, they know they’ve already been checksummed recently, so they just skip the internal checksumming step. (I think this is one of the main reasons Apple chose to move to .xar; they wanted to be able to make the macOS Installer run faster, by having it not have to do any checksums of its support .dmg files during install.)

So that’s the deeper answer to your question: ultimately, Apple expects people who want archives with checksums, to use .xar or a format like .xar, that does checksumming during extraction.
Samba 4.11 Aims to Be Scalable to 100k Users
Great work, however I think RN will always remain a tool for experiments and toys. I now had to migrate two RN projects to native because of the many issues we encountered. The promise of "write JS, deploy anywhere easily" will never be true given how complex both iOS and Android deployment is.

Plus, javascript.
I vaguely recall Blendle. And checking, they want ~€2 per article, which is way too much. Consider that a digital subscription to The NY Times costs $250-$500 per year.[0] That's 365 days, with numerous articles published per day. But for argument sake, divide by 5000. That's just $0.05-$0.10 per article.

0) https://dannysullivan.com/new-york-times-subscription-3480
I think the mere fact that I split my time between the Bay Area and rural Oregon, yet never feel compelled to shop an Walmart comes close to disproving the physical retail monopoly argument. The nearest town to my house in Orgeon has a Dollar General, but it also has two local convenience stores that sell some staple groceries. Prices are high enough that I usually drive down to the nearest city, where I have nearly all the same retail options I have in the Bay Area (and more, if I need anything resembling farm supplies).
How do people see removing Magsafe as a downgrade? My wife's Air has a Magsafe and the damn thing just keeps falling off.

My new Air's charger has none of those problems. And if the cable gets torn, I can just plug in another.

Even better, I can charge my other devices from the same cable. Right now, I'm charging my OnePlus phone with the same cable.

This was definitely one case where Apple actually practiced some pragmatism
I wonder whether this one might be equivalent to a known infinite product for pi or pi/4 or something. The ratios between successive convergents are all of the form (a_n+k_n)/a_n where k_n is 1, 1, 3, 3, 15, 15, 105, 105, 315, 315, ... -- i.e., the least common multiples of odd numbers up to n. [EDITED to add:] This should make you think of the Wallis product formula for pi/4, though this doesn't seem to be the Wallis product in disguise.

Clearly these k_n divide n!, so maybe the right way to say this is that the conjecture seems to be equivalent to 4/pi = product (a_n+n!)/a_n where (a_n) = (4,130,2464,45448,882528,18410640,...) ... though I don't know what that sequence _is_, haven't shown that it has a nice form, etc. None of (a_n), (a_n+n!), (a_n+n!/2) seems to occur in OEIS or to be a subsequence of anything in OEIS.
My dad's family lived in Cannon Beach when the tsunami of '64 hit. It innundated downtown, destroying some buildings, and tore others off their foundations. My dad was home when the house floated away...

And that was caused by a quake in Alaska.
It really makes me appreciate how valuable it is to have a physical mute button on every device which makes sound. Especially when it gets hung for a few seconds, and I have to manually mute from the task bar using the cursor.
Nobody wants to be woken up at 4 AM, a monitoring journey
Show HN: Draft – If Hacker News and Medium Had a Child
Hi guys !

We are a team of four engineering student in Paris that tried to create a more active and slower experience for news reading.

We read Hacker News and Medium daily and got inspired by their user experiences. We think that combined, they could benefit from each other.

So we built Draft, a community-driven news app. Here are the main functionalities :

- You can post articles you liked by submitting their links.

- The articles in the feed are ordered by the community, you can up-vote the ones you found interesting.

- Each article has a "Discussion Space" where you can share your thoughts and questions using an easy and complete Rich-Text editor.

- Don't hesitate to put images or links to any other resources for further reading on the subject !

We found the amount of information on HN and Reddit to be kind of overwhelming sometimes, and that doesn't push you to take your time and profoundly think about the news we are reading.

That's why Draft news feed works on a week time frame, where its more like a daily time frame on those apps. We tried to create a simple design so we can focus on what really matters. Also in this purpose, we don't use push notifications.

We think of Draft to be complementary more than an alternative to HN and Reddit.

The app is available on iOS & Android :

https://apps.apple.com/us/app/draft-community-driven-news/id...

https://play.google.com/store/apps/details?id=com.draft.andr...

Feel free to give us any advices or feedback !
Status of rust-analyzer: Achievements and Open Collective
MacBook Air Refresh and 2020 BBP to Reportedly Use a New Scissor Switch Keyboard
these microbenchmarks doesn't say anything about real world use cases... but anyway, here are the latest results:

https://www.techempower.com/benchmarks/#section=data-r17&hw=...

c#, rust, go, c++, java, c, nim.. all tied at 7M.

again, this doesn't mean anything useful.
It's not that easy. I can easily find out which school, which school board and college you graduated from. If you are not a graduate of an IIT, I will conclude that you are subhuman. (By I, I mean a general recruiter.) None of this needs names or addresses.
NeoVictorian Computing
And later came RAR
In Vim+ctags, jump to definition is just "Ctrl+[". I use it a lot because it's so much faster than searching.
this is at the top of the front page right now!

https://news.ycombinator.com/item?id=20353148
Why is that important exactly? I would think that the gross margins don't matter much at all. If your net margin is -1%, who cares if your gross is 22%?
Have you ever tripped over a cable with the Magsafe connector while attached to your laptop? It comes off, like it's supposed to. What about the USB-C connectors? The laptop comes off the desk.
And I'm not even sure if that's the problem. My assumption is "move fast and break things" is not in their vocabulary.

I'm going to assume even the smallest change to improve things requires a few months of meetings before its implemented. This quickly depresses anyone even halfway good at their job and they leave.
I've worked for a bunch of companies (i'm a us citizen), and I've never had this problem. These days it actually seems like companies ONLY want to hire Citizens or GC holders. Pretty much everywhere i applied to when i wanted to change jobs this year asked if i was a Citizen/GC Holder. I know a h1b guy whose company got bought out and they fired all the H1B's, the guy sent out like 300 resumes before finally getting 1 interview and he told me it will take him 20/30 years to get his GreenCard. From what i know about him, life as a H1B is essentially a slavish like existence.
Nah, first they came for the pornography.

Bans on adult content are almost universal on mainstream services. Somehow this is never considered censorship by the tech community. It’s only when they start to ban other content that anyone cares.
Interesting. Sounds like a French Canadian speaking English.
This post is a good example of the kind of arrogance you find on this site- it's fittingly the top post as of right now. Yes, economics is not a "hard science" and that's OK. Neither are plenty of other respectable fields such as history, sociology, etc. It's disingenuous and arrogant to proclaim that any field that is not a hard science is akin to reading tea leaves.
Also they dropped nvidia so I can't train models on the GPU. I'm switching to PC + ubuntu for by next laptop.
>If it’s “you can drop in, have a look around, maybe get a coffee in the cafe, chat with a semi-knowledgeable associate, crack a book open and sample a few pages before buying”, then you’ve got a fighting chance.

The key part of that being "before buying." Many people will literally just browse and use the free wi-fi and some will read entire books and magazines in the store without buying anything.