skysight-inc/HackerNews huggingface dataset:
maybe we're both right.

i was wrong, you can't connect directly over LAN to an iPad. i was thinking of a different use case with ATV -- somewhere around 2018 you could install MDM profiles over LAN instead of USB.

but you can still do it wirelessly, if you have an ATV. use airplay to project the iPad screen to the ATV. pair your mac with the ATV. after pairing, your mac can record over LAN from the ATV, where you are projecting your iPad. tried it just now and it works with the slight deficit that you get a TV-sized image, with borders, instead of the iPad-sized image.

from Apple docs, it seems like any generation ATV will work, so if you're doing this just for iPad screen sharing, it may still be worth the effort if you pick up a 3rd gen ATV for $30 on ebay. some apple cables cost more than that!
I used OpenSSL to make a Certificate Authority
Hey -- I'm the founder of Pavlok. When trying to quit a habit for good, you follow the aversion protocol -- You enable the Aversion mode. 5 minutes a day of intentionally doing the habit, while the device zaps.

This creates an aversion, similar to getting so sick from drinking a type of alcohol that you don't want to do it again.

If you decide to not use it, of course it can't work. However, the vast majority of users who complete the 5 day protocol register no desire or craving for the old habit, even a year later. You can read some more studies on our device specifically, and aversion in general, at pavlok.com/science.
So they likely have this external company that monitor actively for job seeking websites? Do you know what was the specific website was she on?

Honestly I still don't understand exactly how they came to this conclusion and let her go like that? Was she given a chance to defend herself? Like you could easily say that you were helping your friend to look for a job or clicked on some link sent by someone else?

It seems really ridiculous to me to scan for this information and then fire someone based on that.

I'm really very liberal about what I do on my work computer, I just couldn't fathom they would fire me over something like that.
I used to be able to turn off Websockets in Firefox (still can with Icecat), why was this feature removed?
I wouldn't really consider this a paradox. It is a failure mode of the idealization you made in saying that wires and capacitors have zero resistance and inductance.

Even if you work by your idealization, saying wires have zero resistance means that every piece of connected conductor in the circuit is at the same potential (in the absence of a magnetic field) so saying you have two connected capacitors charged to different potentials is already violating your assumption.

You can find similar edge cases in almost every situation and field of study where you try to simplify things with an approximation, and most of them aren't called paradoxes.
For anyone wondering, here is the fast answer: it's about $152k a month.
what's your reccomendation ?
Good observation!
It's a non ideal behavior of a cap, and some dielectric types have it worse than others. I once made a sample-and-hold for a data acquisition system, and must have tried every type of cap in the bin until I found one that resulted in the least amount of correlation between subsequent readings. I think it was a polypropylene type. Mica was the worst. I don't think I tested an electrolytic.
> Am I wired incorrectly? :)

Doubtful. Reminds me of when Grover was accused of saying a bad word.

https://youtu.be/HfwF5cuAMsk
How not to be commonplace writer
TripleByte Public Profiles Response Email
Show HN: HAProxy back end controller/scaler, supports AWS ASG and Consul
Oh man I'm so sorry. The difference between using io.inspect like this and not is a the difference between "huge pain, worst ever" and "best concurrent debugging feature ever". IO in erlang is atomic, so in concurrent systems IO output will never be interrupted by IO output from another thread, which is not generally true in other systems (c, c++, rust, go). It makes a HUGE difference.
roughly speaking I guess there is a 1/(0,5^16) of that happening. I wrote the code back in 2018. I don't fully remember it. I just decided to share on itchio yesterday.
Ammon Bartram Apology Email for Triplebyte Profiles
Windups, a typewriter effect lib for React
Hackaday's FPGA Bootcamp
Cool, another product to buy.
Looks like the Pagure Git forge could be a good candidate for running as a distributed service on top of IPFS or something similar:

https://pagure.io/pagure

This is because Pagure stores not just code but also all the project metadata (issues, PRs, Wiki pages, etc.).¨

In comparison most other git forges, including the big ones (GitHub/GitLab) store all project metadata in a central database, so if you want to move or even backup/restore a project you need to do a complicated export/import process.

In comparison on Pagure you can just clone the repo and get all the project data with it. Then just put it on another Pagure instance - done.

Should not be hard to adapt this system to be backed by a distributed system from below.
Its like with all expenses, set an upper limit and require documentation. Or make it fixed bonus for everybody.
I remember that during the Falklands war one British fighter ran out of fuel and landed in Brazil. The Brazilians returned the plane, but without one of its missiles - it turns out that it was equipped with an American missile (officially, the US was not involved - Brazil itself gave some help to Argentina too).
Edit: found a source, it was a Shrike missile https://en.wikipedia.org/wiki/Operation_Black_Buck#Black_Buc...
Corporate middle management is starting to learn how to control workers in a distributed environment. It's catching on in corporate America, but people probably won't like the results.
Selenium to the rescue!
To each their own. JRE is the only podcast I watch. You miss detail on his show if you can’t see the discussion. The episodes with Elon Musk come to mind. Seeing his facial expressions and reactions is more powerful than just hearing it. And, obviously, seeing him smoke a blunt was surreal and not something you can capture in an audio feed.

My point was that you could enjoy JRE the way you wanted to. Now you’ll have to enjoy it the way Spotify tells you to. As far as I know his episodes will be pulled off other platforms in September.
> Anyway, loyalty in the sense that as long we're in a contractual relationship my employer can expect me to do good work, professionalism, confidentiality (a huge thing in finance), that I don't fib expense claims and that I don't steal the office supplies, among some examples.

I completely agree with that points. It is a matter of principle to behave professionally, not just for the company but for my own self esteem.

But, some experiences make me think twice before renounce to my rights. Many years ago, I was in a company that used to force employees to work on weekends. I had enough negotiation power to reject working on weekends. For me, it was not a problem. Weekend work was paid and I had no other responsibilities. But, my and other "top" colleagues rejection helped others to have the possibility to stand for their own rights.

I guess that I see the situation tinted by that perspective. If I renounce to a right, to say not to work on weekends, I may damage others that may end losing their right unwillingly. Some time later, I left the company for something better, thou. In my twenty five years of working for all kinds of companies, I have seen many different situations.

Japan and vacation days is a more general example. Even if employees have right to vacation days, it is difficult to take them when nobody else is doing so. As each employee renounces to their right to take vacations, they force the rest to do the same as it becomes a social stigma. To the extend, that for me, to renounce to your own vacation days becomes damaging to everybody else even done in good faith.

> Maybe it's just me, but I believe in transactional fairness. As long I feel well treated I just don't see the point of trying to squeeze every last inch of advantage from my vis-a-vis.

So, maybe you have been lucky enough, or smart enough to not work for companies that have abused their position. I guess that I would be of your same opinion if I had the same experience. By default, I agree that employers and employees need to collaborate to maximize the benefits of the partnership.

> Maybe one of the best examples I can give you is Amazon. Or the fact that I never bought anything since their book dealing days, when they suddenly pulled their privacy bait and switch. I wouldn't give them my business, even if it's cheaper. As it turns out that's not such a bad attitude to have.

I completely relate to your actions. And, to avoid rewarding the wrong behavior is important and a good value to live for.
Why Not Program Right?
Well, no, in this test program memcpy is declared as having no arguments and it has to be called with no arguments. It's perfectly consistent, unless memcpy is so magical that some specific undefined behaviour is allowed (not likely).

The actual test comes later: the real memcpy with three arguments, if it exists, is mislinked into the test executable; if memcpy cannot be found linking fails.

The test program would hopefully crash badly in case it is actually run, but the test is not about memcpy behaviour or about what the parameters of memcpy are.
Gse v0.50.0 is released, Go High-performance word segmentation, Huge updated
I think the feedback is generally fair — the comment as a whole was definitely lacking a lot of nuance and did not explain itself well in context.

The key thesis for me is that this was the local optimum for British control of the tea trade, and I would say Asia writ large. Controlling the source of opium in a local-ish way gave them an easier time moving it to China, while also allowing them to extract additional wealth from their previous conquests in Asia. In a meta sense, it may be very inefficient, but I’m less convinced that from a British perspective it was at all sub-optimal. Their input costs were primarily capitalistic: Ships, guns, bribes.

This is where the marvel comes from, the magnitude with which Europe successfully extracted grand value out of Asia (Just as it had previously done with Africa, South America, and North America to varying degrees). Upon reflection, it is so extractive that it seems slightly misleading to even levy it in discussion as trade.
It’s really not good enough, it’s ok to admit it. Nobody likes CMake, it just somehow won the makefile generator wars. Having to a learn shitty, esoteric language to compile my code Is not something that makes me more productive.
Do you still have notifications turned on for messages? Turn those off, mute most channels, and get control of your communications. Same for email. You don’t need to be distracted every few minutes. Take a break once and hour or two and check for high priority messages. Once a day you can catch up on secondary priority messages. delete or ignore the rest. Your job title is not slack reader or email reader.
I've been playing with org-mode as the basis for a literate programming workflow. So far, the results have been nice, though tangling is slow. (For that, I wrote little tool to do the tangling for me, including following the noweb references. Combined with inotifywait, this gives me tangle-on-save.)

The most detailed org LP example I have is at

https://raw.githubusercontent.com/reindeereffect/reindeereff...

the tangled products are at

https://github.com/reindeereffect/reindeereffect.github.io/t...

and the "woven" HTML is at

https://reindeereffect.github.io/2020/05/05/index.html

Sometime in the near future I'll split the LP tools off from the rest of my configuration so that others can use them more easily, if they're so inclined.
LabCorps has been selling at-home collection kits according to this May 12 article:

https://news.yahoo.com/labcorp-expands-availability-home-sam...

If the scientists who have been combing through the documentation were baffled, and Nature News found it baffling enough to report on it, I'm going to need at least an appeal to authority of some sort to dismiss their views on this. Nature News is extremely reliable on these things, and does not do clickbait.
Seconding this; Minecraft was absolutely my door in to server management, Java for building my own mods, and creative collaboration in an online world. Many fond memories, and it's hard to imagine I would have the career I do today without that game.
This is silly. It's just another contributing factor of total compensation and cost of living.
If you're creating a real dedicated space then that can be justified. If it's to the point where you have to buy a new house/apartment with an extra room then I'd rather just have a real office space instead, especially as an employer.
Bizarre writing, too. I can't stand when writers enjoy their owner "clever" writing more than the storyline.
Anything involving code samples, I pretty much reach for github flavor markdown. I came across asciidoc as well recently. I've never encountered any org mode in the wild (no emacs users on any of my recent projects).
Ask HN: Suggestions for books/papers related to server perf optimization
Yes, one h is hidden inside m... Ending up with energy = something * h^2 actually makes the relationship show the same face as the one for capacitors, where energy = something * v^2.
>It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much – the wheel, New York, wars, and so on – whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man – for precisely the same reasons.

-HG2G, Douglas Adams
Okay, as someone who has used the ESP32 before (but not the STM32), I'm genuinely curious as to why you're stating this as an assertion. What exactly is it about the ESP32 that makes it unfriendly or difficult?

(FWIW, all my ESP32 development has been in C with FreeRTOS. I'm not one of those people who insists on shoving the Arduino stack onto everything.)
Compilation units are required to declare all standard library functions they call. They usually do so by including the compiler's header files rather than doing more work and risk errors with explicit declarations.
i'm glad somebody else felt this way. i was having so much trouble focusing i was worried i'd forgotten how to read
When working as CTO of an eBay company I had to fight to remove all phones from developers, it didn't make any sense they had a phone, but policy was back then, everyone needs to have a phone (sure this changed).
I remember feeling surprised (although I shouldn't have been!) when I learned that ancient Rome had their own historians studying ancient history, but who didn't consider themselves to be ancient history.
Show HN: Config – safe your config files by making them immutable
All china had to do was buy top of the line warships from Britain in exchange for tea.

But there doesn't seem to an intelligence service worth it's salt in the imperial palace at the time.

Didn't china learn to get it's navy together after the largest pirate empire in the history of the world forced it to capitulate? So the woman that ran it could retire.
> What Linux distro and/or window manager is going to get me multi-monitor HiDPI support with good keyboard-only navigation?

Try sway. There isnt as much documentation online as I'd like, but the included man pages are good.
I think you just proved my point.
On RIOT we’ve put quite some work into implementing the peripheral APIs on the esp8266/esp32 just like on any other supported platform.
So no matter if you are on stm32, esp* or ATmega, you can run the same code.
Easy Reverse Mode Automatic Differentiation in C#
First Floating Ocean Hybrid Platform to Generate Power from Waves Wind and Solar
That's 35min a day you don't have to spend. That's 2.5 hours a week.
Watch cyclists charge Tesla Model X with human power
Maybe you met the wrong people, from my PoV the BSD peoples like the BSD2/MIT/ISC/FreeBSD-License, but have no problem too import the CDDL the Apache or the GPLx (at least in the pkg), whatever works. On the other hand with Linux, CDDL absolutely NOT acceptable (hi Linus) but ultra-proprietary Firmware-Blobs are ok.

Some zealotry experience from a Linux foundation guy?

https://news.ycombinator.com/item?id=22005181
Microship.com: The Library of Technomadics
This is the reason I live in Delaware. I moved from NYC to Delaware with no intention of staying. But because of a lot of the stuff you mentioned I decided to stay. I'm able to be in Philly in a little more than 20 minutes, back to NYC in 2 hours and DC in 2 hours. The COL is just right and plus I'm near family.
The Pleasure Principle
Here's the main website: https://github.com/seleniumbase/SeleniumBase
Wasn't able to get it to load any .pp files for charts.
Smart vendors will learn what their customers (the hospital) liabilities is, and handle it for them, and charge them money for it. (To go a step further, the vendor could offer insurance on it, or make it part of the sales contract.)

Stripe does this for PCI. You sign up, use their toolkit, and then PCI is just handled for you. There are some no-code solutions using Stripe as the backend. That is not be a legal transfer of liability, but it's a level of exposure that the lawyers are comfortable with.

Also importantly; HIPAA is not PCI and not all regulations are created equal. Clicking a few buttons to setup a website, and then clicking a few more, in order to accept money and take credit cards is a far cry from setting up the IT infrastructure for an entire hospital.
Linux-based. How is SONiC positioned vs. Cumulus ?
Depends on your application and requirements.
This might be something to consider keep an eye on
So I'm not the only one. At least once a week for 4 years I have tried fiddling with my notification settings in several different slack projects because they're not functioning how they're supposed to (not how I have set them up).

I just gave up eventually.
From what I understand, no. The initial purpose of getting podcast is not for advertising, but every minute someone spends listening to a podcast is a minute they are not spending listening to music that Spotify has to pay the music industry. They won’t embed advertising in third party podcast - for now.

It’s assumed that the second phase is to allow podcasters to embed ads to allow them to monetize their podcasts, but it will be opt in.
The incentives are aligned for Google to do this. I'd like to believe that they don't.

Can you point to anything that might convince skeptical non-Googlers that Google does not do this?
Your thoughts on private journaling instead? It frees that stuff from your head and it doesn't need to be anywhere close to as polished as preparing the stuff for an audience. So you have a TON of time to do more. I liken it to personal programming projects. Working out the logic is the constant. The wasted time in preparing it for others is code optimization and readability, testing testing testing, etc.
If anything, these new things added to C# only make me want to use F# to a greater degree. The reasoning is simple: clearly these things are good (or at least acceptable) ideas since C# adopts them, but C# makes it more complicated to use them.

Put another way: if I'm going to use these features anyway (hint: now that they're in C#, I am) why wouldn't I do it in the language designed around them, rather than the one where they are bolted on?

When C# didn't have these features, there was ironically more reason to use C# because then these idioms could be argued to not be accepted by the community to the same degree.
But often the technology is to blame at the root. Smartphones, for example, are a management problem because you need to ask employees to put them away and get to work. But they’re now needed for things like punching in, receiving important messages, updating information, filling out checklists, etc. So you can’t just ban them anymore.

It’s not that the employees want to be stuck on their phones, they’re just that good at captivating attention.

Similarly, some sort of online conversation is useful to employees and employers, but the technology can reward unproductive behavior and make productive behavior hard.
Shameless plug: the Cisco 8000 series [1] recently got support for SONiC [2].

Right now, I believe it’s limited to fixed systems, but work is ongoing to get SONiC running on the distributed chassis. Exciting stuff!

[1]: https://www.cisco.com/c/en/us/products/routers/8000-series-r...

[2]: https://blogs.cisco.com/sp/cisco-goes-sonic-on-cisco-8000
They were not meaningfully capitalist in the first place.

An Communist don't just 'take over' a huge amount of things, happened to get to that point.

To draw a straight line between these two things is just reading history knowing the result and then declaring it deterministic.

Any potentially history of China would have run into their own weakness eventually, no matter what Britain did, modern ideas would invade the country, no matter what Britain did Japan was rising already, no matter what Britain did, WW2 would have happened anyway. There is no alternative history where China remains idyllic pre-modern empire in the modern world.

And the 100 year timeline doesn't really add up, after the Communist Party took over they were not exactly powerful and absolutely destroyed the country without outside influence for while, only when they eventually embraced modern capitalistic principles did they truly emerge from their weakness.
I once interviewed fresh out of college for a tech job at a big shop. When the interviewer got to the puzzle questions, they prefaced with ‘And be honest if you’ve heard it before. We want to get one you haven’t heard.’

Seven puzzles later of me saying, “yes, I’ve heard that one” and giving an short description indicating that I understood the solution, the interviewer became visibly upset/annoyed.

And so when they asked the 8th question I suddenly ‘didn’t know this one.’ The interviewer was delighted. Of course I did know it already but pretended to work my way through it.

Got the offer, didn’t take it because that interviewer would’ve been my boss’ boss.
The counter-example to this I’ve historically used is that great merchants and explorers were often taking on loans or loan—like contracts to finance their trade and exploration. This seems like a place where capital requirements and devices are useful in abstract of industrial systems. The Medici Bank is probably the easiest reference point to draw on, as a financing organisation as early as the 1400s.

Which pieces of the system described above don’t match up with capitalism?
this was my same impression, I really wanted to see the evolution but it felt too frustrating to play and I just gave up at generation 4.
It's important to distinguish between what Chinese people wanted and what the administration wanted. The imperial administration's pursuit of mercantilist policy didn't mean that "The British could offer little in return that Chinese merchants wanted to buy." as the article incorrectly states.

China had been purchasing opium abroad from other countries for several centuries. The importation of opium was banned in the 1700s, but opium was still legal for sale in China. The effect was that foreigners were barred from participating in the business. Chinese merchants smuggled British opium into China and sold it as Chinese opium.

Chinese people definitely wanted British opium and Chinese merchants definitely wanted to sell it to them. If opium had been illegal, you might have a point; but it was legal for sale in China until 1799.
You could make a feature request!

For a service that's probably being marketed a lot at schools, that sounds like a perfect feature for the classroom and you could use it, as well :)