skysight-inc/HackerNews huggingface dataset:
Rewriting isn't the solution to everything, unless the code is really small and well-contained.

High-profile security bugs were found in programs written in C# and Java and every other "safe" language out there.

The unknown-unknowns are often far worse than what you currently have. Check the Uber Swift rewrite horror that was posted last week, and that was a super tiny app compared to even the smallest Office app.

Another critical factor is: C++ is currently the only true "portable" language out there, that can be compiled into Windows/Mac/iOS/Android and everything else that exists or will come up in the future. Nothing else comes even close in terms of native platform support. And its completely unrealistic to have copies with different languages for each platform like "small" apps do like Uber or Facebook. We're talking about business logic that if it isn't exactly the same everywhere (with its bugs), people can lose billions of dollars.

Even if Rust can compile into all of those platforms, I assure you, there will be dozens of very serious compiler bugs that will be uncovered over time if an app the size of Office gets rewritten into it. A good number of those will be of serious security consequences. Hell, back in the day, Excel had its own C++ compiler because of compiler bugs that couldn't be fixed on time!
The Nürnberg trials went after a few high ranking Nazis and the "Entnazifizierung" (removal of nazis from official offices) only went after the very hard cases.

There were still thousands of nazis everywhere in government institutions like courts and police. The German term "Altnazi" (old nazi) describes nazis that were able to fly under the radar and still do their jobs until retirement.
The lightning network is a decentralized protocol for transferring BTC, it's not even remotely comparable.
Well Rails was never not scalable in literal sense. It was just the cost of scaling being expensive; comparatively speaking when people say Rails not able to scale. And for most if not all SaaS that should never be much of a problem. Because you are getting revenue per user, and generally speaking the cost percentage of user / app / server resources is so small, that is a rounding error in grand scheme of things.

What doesn't work quite as well is when the app is operating a freemium / ad based model. Where a large volume of traffic are required before you start generating revenue.
I love that these new techniques come out to make web dev simple again. I however think Phoenix Liveview is still the best from all the alternatives I have seen so far and that is mainly because Elixir as a language seems to be very stable and suited for having a lot of websocket connections open at the same time.

It seems easier to accomplish this with Liveview and perhaps Alpine.js for displaying stuff like modals etc. It's a really good way to build applications I think for places that need a server roundtrip anyway which is most of the stuff in a modern app.

I write a SPA app for work in javascript and about 90% of the issues that occurs are mainly state issues where the state differs or is in a bad state for some reason. State management is very hard to do right and I think solutions like these simplyfies it a lot!

I urge people to check out Elixir and Phoenix Liveview which I think is the "original gangsta" when it comes to sending small updates over websockets and if you try it I will guarantee you will be blown away of the speed of which you can develop web apps as a solo dev.
This is a live shot of companies buying legislation via lobbyists. Just another day at work for the Oligarchs.
> Peppering is a token that is not in the database of passwords that needs to be applied for the password to be correct.

Well, typically a server only cares about verifying the user (still) knows a password.

A typical server (today) does not have a way to reconstruct the plain password, only a way to check if any given string matches.

A password manager, typically does have a way to supply the password.

Peppers and salts are typically manipulated by the server system, plain passwords are typically managed by the password manager.

In this case the password manager never sees the hocrux, and cannot leak it. A server will typically leak a pepper to anyone with access to ram (or access to a hw enclave, which is expected to be more difficult).
It certainly appears to me that it is being discussed widely. I see this discussion all the time.

Really you are talking about societal norms. Sometimes I agree with those norms, and sometimes I don’t. I think the norm that gays should be ostracized was wrong, and I’m happy to see how much this is changing. I think the norm that racism shouldn’t be tolerated is right, and I’m happy when it is upheld.
Link Shortener for Teachers
I prefere true HTML/CSS over React Native or Flutter because when it is time to integrate the visual prototype of your client, good luke trying to personalize native component that those solutions offer you.
I searched "swim-floaty" on DuckDuckGo, just in case it was a dialect thing, and amusingly this article is the first result, and seemingly the only one in the page that uses this exact phrasing.
> They don't keep out adware.

Android, like all google products, is adware.
I remember long ago there was a service called Napster, that could distribute pirated songs "peer-to-peer". I wonder if it could be used again instead of the "platforms", because Napster network wasn't owned by anyone and nobody profited from it, so there is nobody to sue here.
Falco: Lock Down Kubernetes from the Linux Kernel on Up
>For me, nothing is even remotely close to be able to replace whiteboard, brown paper and marker pens.

Reminds me of an interview of David Fattal, where the journalist asked him about how he got the idea of the holographic 3D screen:
"My [...] colleagues go directly to tablets to work on mathematical computing software like Matlab or Simulink, where computations are guided. Due to that, they sometimes lack intuition. With my pen and paper, I work anywhere." (La Recherche, 2015/03, translated)
Here I understand "anywhere" as both physically, and in the conceptual/mental space.

>Some times, to be able to discuss your problem space you need to remove all distractions.

And also all constraints/guidances.
A colleague did this at a job of mine, I honestly found it obnoxious and presumptuous, this idea that it’s on me to consciously change my behavior to work with them instead of on them to deal with the tiny inconveniences and pet peeves that come from collaboration with someone. Maybe it helped and coworkers aren’t your friends so who cares as long as it does but beware if you do this that I don’t think everyone will appreciate it.
I use an iPad with an Apple Pencil. This so far has been the closest to a whiteboard.
Using studies like this irks me. Science doesn't just stop there.

When citing a study like this, it would be wonderful to see something like "Based on this research, we expect to the economy grow by X additional dollars in this area, using methods XYZ" If the legislation fails to achieve the actual result with a proposed amount of time, then it gets scrapped.

Our legal system is missing a feedback loop - adding complexity is cheap (and profitable if you're a politician) but removing it expensive and there's generally not any reason to without SIGNIFICANT public outcry (marijuana legalization, for instance).
Oscar Health Preps for IPO with SEC Filing
This is a fair point, yet I don't think it's good to disparage what's technically true here.

There are people attempting to take advantage of the fact that Android remains free and open source, and they need support. Perhaps I should have included that in my comment above.

It's not obvious to me that a legal solution would be better.
Isn't this an option in the developer settings?
I really enjoyed doing this interview
"We have to pass the bill so that you can find out what is in it" - Nancy Pelosi (referring to the Affordable Care Act)
I recently switched from Droidcam to Filmiic Pro (~$20), and it's pretty good.

Filmic Pro supports clean HDMI out from the rear facing cameras on iPhones and some Android phones. You do need a capture card, but if you have a Camlink or the no-name $20 USB capture card that EposVox did a positive review on, you're good to go.

On Android (I have a P20 Pro), I use a USB-C HDMI dongle meant for a Nintendo Switch, but it works with my phone plus it lets me charge the phone while using it.

Filmic also has a "remote" app (~$3, iirc) so if you have an extra mobile device, you can control the camera app remotely (since the phone you're using as a camera has its screen is pointing away from you).
Calling them subhuman makes the implication that a human would be above such acts - and by implication that the person making those claims would be above such acts and protects the person from self-reflection.

It is dangerous to ever consider another person less than human.
Anonymous Tokens for private contact tracing
It certainly makes sense for the U.S. government to act against large-scale, commercial, copyright-infrigning streaming services. These estimations of the impact to the U.S. economy that online piracy represents have always struck me as highly dubious, however.

$30 billion per year? For context, that’s roughly equivalent to the combined revenues of Netflix and YouTube for 2019.

Is there really another Netflix + YouTube sized subscriber base out there that would be willing to pay for these services if only some of the same content weren't available for free? Seems unlikely.
plantUML meets doxygen would be interesting.

I was involved in a very large system a decade ago that used robodoc. Robodoc has less features than doxygen but worked across more languages.

Swagger.io is a nice system although limited exclusively to REST APIs.

Anyway the examples above rendered extremely quickly even in 2010 and you could scaffold out entire ideas more or less in real time to get a whiteboard-ish experience assuming everyone on a conference call had a web browser window open.
I would bet that the marginal cost of that movie is actually higher than the cents it costs to produce that bag of M&M's. Even if the marginal cost of movies is 0 the cost of a bag of M&M is so low it might as well be 0. Does that now justify stealing the bag of M&M? No.

That does not even matter since looking at marginal cost of a movie makes no sense. Do you want to see movies? If yes then pay for them, if no then simply don't watch them. Justifying stealing isn't the way to go.
Congress passes CASE act, includes small-claims copyright tribunal
While there are those who will write about the broader failings of the MIT Media Lab, and there is much to be written about, it's important to take a minute to recognize just how prescient and important this choice is. Newman's work on space suit design is something I'm familiar with and have followed for quite some time, there is - simply put - nothing out there like her work. https://www.nasa.gov/pdf/617047main_45s_building_future_spac... (Submitted to HN here, https://news.ycombinator.com/item?id=21620979 )

She also helped design the weird idea variant of dynamic/static loading on an astronaut's body to reduce bone loss, https://www.nasa.gov/directorates/spacetech/strg/2012_nstrf_... http://web.mit.edu/aeroastro/www/people/dnewman/pdf2/WaldieN... The GCLS did not work out. But it was far more interesting than the rougher Roscosmos variant. (https://en.wikipedia.org/wiki/Pingvin_exercise_suit)

I believe that Prof. Newman is the right choice for the Media Lab, because she has Gotten Stuff Done. Stuff that has flown in space and has made meaningful contributions to her field. She's an excellent choice.
Introduction to Lens – The Kubernetes IDE
Taking precautions can always backfire but would you argue that the status quo is preferable to taking those precautions in this case?
Dawkins doesn't call crystal structures alive, but he does mention them as a potential hypothetical source for life.

http://www.bbc.co.uk/earth/story/20160823-the-idea-that-life...

> Cairns-Smith found a more eager audience in science journalists and the popular press. Other scientists showed interest, too: the evolutionary biologist and writer Richard Dawkins discussed the crystals-as-genes hypothesis in his 1986 book The Blind Watchmaker.

[...]

> His aim was to find a system much simpler than modern life, but which had some of the crucial properties of a living system. He found an answer in an unlikely place: clays.
I've used it wired via USB to Windows, and it was usable for live conferencing.
What do you mean uranium in ceramics? I have a decorative piece of uranium glass behind me - Light it up with a UV light and it glows. Is that considered dangerous now?
I’m working on this right now. My theory is that having every cluster object defined in git (but with clever use of third party helm charts to reduce maintenance burden) is the way to go.

Our cluster configuration is public[1] and I’m almost done with a blog post going over all the different choices you can make wrt the surrounding monitoring/etc infrastructure on a Kubernetes cluster.

[1] https://github.com/ocf/kubernetes
Can someone try to explain the purpose of console hacks and gaming company internal old documentation leaks?

Reading these chat conversations and tweets they seemed to be important for building up some individuals‘ ego. Anything else?
It seems general-purpose computers are unfit for the task.
It depends!

JSF really is meant for quickly building internal applications that don't have to withstand "web scale" loads. It's focused on churning out data driven applications quickly. Add something like Bootsfaces or Primefaces and you can produce these things in very little time. Thats not to say you couldn't use JSF to make a "Web Scale" project, but you would have to dive into your server pretty far to carefully watch state management and session creation. Not impossible, but just probably not its primary purpose.

For external facing applications that need to withstand a "web scale" load, Eclipse Krazo (aka MVC spec 1.2) and JSP are what you're looking for. These things are lightning fast and give you a lot of control over session creation by default. Render times are usually under a few ms. This is probably the fastest and least resource intensive stack available (no benchmark provided, take it for what you paid for the comment).
If you're looking for better lighting, I recommend this lamp (or similar design): https://www.amazon.com/PHIVE-Architect-Bright-Drafting-Brigh...

I have it placed directly above my web cam. Since it's a line of LEDs, it doesn't cast hard shadows.
That's arguing only critically examining one side.

How many theories and case studies are there documenting how a company failed to execute something it's never done before, and has no competency at?
It sounds like something that's nearly impossible to study.

You can't ask people. Very few people will admit "I pirated this because I didn't feel like paying for it like I normally would." People always find ways to justify their actions, so every response would just be some variation of "I pirated this because the legal options are too inconvenient that I normally wouldn't bother so I didn't hurt anyone."

And you never will be able to totally eliminate piracy nor will you be able to definitively attribute gains or losses to changes in piracy. Maybe the quality of the content changed, maybe the economy had a downturn, maybe an advertising campaign was really effective, etc.
Isn't it the best yardstick possible?

Your view assumes that those with dying regrets lack much critical analysis. That they espouse these regrets without having critically considered the alternatives. That no one has said to them 'oh you had a comfortable life, quit complaining' or 'if you hadn't worked, you wouldn't have had such a comfortable retirement'.

I suspect they have been told this over and over. And I suspect that they have thought critically about those regrets.

I guess I'm concerned about your quick dismissal of their potential wisdom.
tldr content marketing for Hey (email web app), carries DHH signature + cargo cult + magic, many social media bots/DHH fanboys upvoting comments + a second submission + silencing other opinions

Edit: As I predicted, I've got my downvotes by DHH's social media team haha.
Shameless plug: We're making good software defined cameras at huddly.com. "Plain" uvc, so it works on your favorite os.
Which is really weird we do this since 80% of tasks fall within sane defaults territory.

My last employer had something like 10 hits every 5 minutes. Somehow we needed the entire Kube ecosystem for that.

I’ve been storing good JSON templates in Dynamodb and iterating on code to query and deploy. Building up a collection that lets me deploy to AWS or GCP with one tool, editing fields I want to edit per setup.

Working with just my code and validating outputs is way less.

On the one hand everyone is all “write less code, it’s too complicated.” while ignoring ops tooling always ends up a fiasco of DSLs and templating hell.
A few things: Vector operations were controlled by a VL (vector length) register, so the length (simd "width") was dynamic. On the Cray-2/-3, you could set the length to zero, and turn vector operations into no-ops. So vectorization of a loop with an unknown length generated a "strip-mined" loop in which each iteration performed 1-64 (later 128) iterations, and there was no epilogue problem as with SIMD. The last proprietary vector ISA from Cray had a "compute VL" instruction that attempted to smooth out the lengths of the final iterations.

The Cray-1 line could "chain" the results of one vector operation into operand(s) of another without waiting for the first to complete. (On the Cray-1, the later operation had to issue at the exact "chain slot" cycle at which the first result element appeared, so scheduling was fun; on the X-MP and later, "flexible chaining" was possible). Scheduling vector code involved grouping operations into "chimes" that would run as parallel chained operations, and so long as you could pack more vector instructions into a chime without causing synchronization due to register use or blocking on a functional unit busy, you won. Getting a 3-chime loop down to 2 chimes was fun puzzle solving, and if the loop used (say) the floating adder twice, you knew you could stop optimizing.

The Cray-2 didn't chain, but the Cray-3 had "tailgating", which was kind of the opposite -- a new vector result could start writing to a vector register that was in use as an operand without having to wait for that operand use to complete.

It helps to think about these vector machines as being pipelined (which they were). A single chime sequence was basically flowing data from memory to functional units and back to memory without really needing to use the vector registers per se for anything unless an interrupt arrived in the middle of the sequence.
I was fully remote before COVID, and the best solution I have come up with so far is iPad + Apple Pencil + Google Jamboard. I can open it on my PC and screen share from there into meetings or with others than don’t use Jamboard.
Indeed. I've found that what works best for me is to use an account with my subreddits subscribed to. This way, I don't get tempted to go to the home page.
You are pretty far off with "most business owners". Maybe you could claim "most" of the passive shareholders of public companies do nothing for that money but that is a very small minority of "business owners". Most businesses are small businesses and most small business owners bust their ass to make a decent living.
It's not keeping a copy of the DOM server-side..

That's not how it works, at all.
Add to the list everything going in the Smash community right now, which has spilled over into other communities that support the Smash community. Nintendo is more or less cancelling events because people still like Smash Bros Melee.
Orchestration systems like Kubernetes, Amazon ECS, and (formerly, it’s pretty dead) Mesos run on a cluster of systems and coordinate over the network. What they’re coordinating is running your containerized services, for example your API server, micro services, etc. So you can tell the orchestration service “run 5 copies of this and listen externally on port 9000. When a request comes in on external_ip:9000, redirect it to one of the 5 service instances.” They will also restart your services if they die, keep stdout/stderr logs, and so forth. You can have very complex setups but most will never need more than what I’ve just described.

The main difference between the different orch. tools is how they pipe the data between Outside and the service cluster. Mesos didn’t help you, you had to build your own service discovery. ECS uses Amazon load balancers and some custom black-box daemons. Kubernetes famously uses a complex mesh of “ingress controllers” and kernel iptables/ipfw spoofing. All take their configurations in some form of JSON or YAML.
Most projectors don’t and it’s wonderful. So many smart TVs get loaded up with ads because you are essentially a captive audience tied to a very expensive purchase. Throw a Roku or Apple TV on there and you’ll get the same thing with far less premature obsolescence
https://archive.vn/WXjUC
NATO being busy with even a starving Russia in coming few years, will mean a near certain move from China in the East.

For America, it's uncertain what's more bad, giving China East Asia, or Western Europe to Russia.

Russia with West Europe will still be the same starving Russia, with even more depleted stocks of military hardware.

China with complete reign in the region means them being few years from building a blue water navy, and transoceanic landing force.
You also have the non-zero risk of the site shutting down. Predict-It's been around a long time now, but I still wouldn't wire them more than I could afford to totally lose. 4% on what I can afford to lose really isn't worth the hassle.
Do you have a link? Tried searching but found many options, but none that fits your description. Thanks!
Hard to say - but personally I think it's a positive that they went with an MIT^3. The Media Lab has many issues, but one of them is that it deliberately set itself aside from the main campus, and that attitude was part of what got them into this mess. You would also need to be an MIT insider to manage the byzantine way everybody does things there, and get moving quickly - an external person wouldn't have a chance on that score.

More interestingly, I hope this is also a signal that Space is back on the agenda in the US.
I'm applying for jobs currently and I really cannot bring myself to join some company if their stated goal for the next couple person-decades of engineering is to work really hard to get data out of an RDBMS into a bunch of different key-value stores so they can rent overpriced commodity hardware to talk to the key-value stores instead of buying slightly more expensive hardware (I mean more expensive per machine, but less expensive per web site) to host the RDMBS and skipping all the work. For their low-traffic web site. And these jobs are a surprisingly high portion of backend positions out there.
But both sides aren't to blame. The law at hand was proposed by Thom Tillis, a Republican from North Carolina.
They're terribly customer-unfriendly in general.

You can't even get refunds in their online store, period.

Once bought a game by accident, realized it wouldn't work (local-only party game, thought it was online), immediately requested a refund, and they flatly refused the refund because it was already downloaded and they claim the contract has been fulfilled.

Even if they're legally in the right (remains to be seen, they're currently being sued over this exact thing by a German watchdog), it felt very hostile and I'm not ever buying from them again.
They are bluffing. Keep negotiating until you get what you want.
We must give the flat-earthers the same exact airtime, down to the minute. Because reasons.
Ah yes, the US military, famously upstanding and honourable. Not at all responsible for atrocity after atrocity after atrocity.