skysight-inc/HackerNews huggingface dataset:
> You supposedly bought the device, you should be able to run whatever you damn please on it.

I do not condone any of their practices, and I dislike Apple, but... before you bought the device, you knew that you would not be able to run whatever you damn please on it, right? If so, why did you buy it? If not, can you not return it? In any case, we, the people, should buy products that allow us to do just that. I know that we do not have a huge selection of these devices, in all fairness. They all suck in some way or another, and we do need a phone...
Covid-19 ‘vaccine sovereignty.’ We need a people’s vaccine instead
I agree but there‘s a major difference between benchmarking a tool and writing about how slow a tool is. I agree with the first being forbidden, but the lather should be allowed.

For Atlassian Cloud, you won‘t beed a benchmark to tell it‘s slow. A simple (physical) stopwatch is enough.
Let's face it, this is a hilarious HN episode: all the pitchforks that came out to protest Apple's 'monopoly' appstore, when the app-developer was actually totally free to distribute the application outside the appstore in any way he wished - but actually wanted to force Apple to distribute it for him, INSIDE the appstore.

I guess you have to choose your battles.
LOL Surprise and other surprise eggs are very terrible targeting toddlers
How to run macOS guest on Ubuntu host with Intel GPU passthrough?
I have tried gvt-d and gvt-g but im unable to passthrough my integrated gpu intel uhd630 to macos guest and use discrete nvidia 1050ti for host ubuntu 20.04. Otherwise jt runs without passthrough but its laggy and lowres.
The assumption that real-world use had not been tried.
Note on the weight comparison: AWD EV do have two or more motors (I've not seen models with only one motor but may be I missed one). AWD petrol cars only have one motor, just more transmission axes/gearboxes, so little impact on weight.

AWD model 3 does have a 50% bigger battery though.
> Nice! Sounds like you can configure it so the client machine can't destroy all the backups? That's a feature I've wanted in backup software for a long time but haven't actually seen.

Tarsnap offers this feature. Pretty nifty, but the price is that you can’t have the client handle backup rotation (keep hourly backups for a day, daily for a week etc), the pruning must be set up via a different machine.
https://symless.com/synergy was quite good years ago. I haven't used/needed it in years, but you might give it a try. It is Software. Say 'Bye' to the cable-octopus.
Very nice! Taking care of Dockerfiles is such a low hanging fruit to prevent so many issues down the line.

If you are interested I’ve collected more best practices to prevent more common security issues: https://cloudberry.engineering/article/dockerfile-security-b...
It is definitely possible to run nginx as non-root in a container: https://www.rockyourcode.com/run-docker-nginx-as-non-root-us...

Also, all the sentences that begin with '>' were comments from https://github.com/caddyserver/caddy-docker/issues/104, and not from the user gbrindisi
Estimated transmissibility and severity of novel SARS-CoV-2 Variant
Are you sure about that?

Myself, I think that copyright today has been grotesquely distorted away from its original intent; the furthering of the arts. Especially in the U.S. and E.U., the media oligopoly has had enormous success in transforming (cough perverting) copyright into a mechanism that benefits the copyright holder to the detriment of anyone else.

But we see that copyright can also be an effective tool for protection of the arts and sciences; see copyleft. Here we have an ingenious way of turning copyright on it's head, by protecting the rights of all involved parties. (Stallman might be a nutcase, but if that's the case, he's a genius nutcase.)

So I think it's fair to have 'longer' copyright periods. Longer than a year, I mean. The duration we have in patent law (~20 years) seems rather fair to me. Enough to turn (some) profit, not enough to rob four generations of the stories and characters that were an important part of their childhood's culture.
Could you describe the overall process you have seen people go down?
Timelines of StarTrek. 2021 Update
Deep Learned Super-Sampling (DLSS)
FoundationDB is an ultimate KV
What happens when a virtual streamer doesn’t own her body?
I'd recommend reading Bostrom's and Yudkowsky's writing on this (for example: "Superintelligence: Paths, Dangers, Strategies"). Note these are philosophers trying to build AI, so they're definitely not luddites or anything. Same with Elon Musk; whatever one might think of him, he's definitely not a luddite trying to convince people to stop developing technology, yet he's also very concerned about superintelligent AI.

It has nothing to do with sci-fi. It's a complex and difficult-to-predict philosophical problem.

It's certainly possible some AIs may decide to just leave. Or maybe some will leave and some will stay and be ordered by a government to kill a few hundred thousand people. Or maybe some will leave and one will stay and malfunction and cause a neurotoxin to be released (at least until you throw its various personality cores into an incinerator).

If you assume there exists an entity which can continuously improve itself until it's much smarter and more powerful than any human, then that alone is a risk, since you may not be able to predict or have any control over what it may wittingly or unwittingly do, or what its objectives may be, if any, or how it may perceive things, or how vulnerable it might be to tampering from humans or other AIs, etc.

Of course, these existential issues are likely decades or perhaps centuries away, but the discussion is about the theoretical possibilities irrespective of the timeline.
Yes, running pytest with the --pdb flag will drop you into the debugger on an unhandled exception which gets a comparable workflow but it's not quite the same as, a) writing tests to file first is not repl-driven development, and b) you generally have to think about doing it first.

In an ideal repl-driven world you could write the test in the repl entirely and commit it to disk once you're ready.
As someone who has used CL and Clojure to write non-trivial code using REPL driven programming it makes me mad that the word REPL has been hijacked to mean "interactive shell".

I'm thankful for this article shedding light on what it really is. It's sad that most programmers haven't experienced.
What's wrong with CA? It seems to me that state tries it bests to kick innovation out, and start another tech ecosystem somewhere else...

If impersonating is the reason they couldn't have just regulated a requirement to clearly list if the ad is by the owner or a third party, and not throw away the baby...
I'm glad you are here to defend apple, you should write up a medium article asking apple to reverse their decision. Clearly apple was wrong to reverse it.
In general this article was very disappointing. With the exception of suggesting using tini as an entry point, this article adds nothing beyond the very basic advice of not running stuff at root.

There's no mention of multi-stage builds, labelling images, using env variables to pass ephemeral config settings, setting up tmpfs folders to avoid cluttering containers with temp data, the importance of rebuilding images periodically... In short, the basics.

Edit: this stuff is already covered by Docker in it's official Dockerfile best practices guide.

https://docs.docker.com/develop/develop-images/dockerfile_be...

I was expecting far more from an article on HN about Dockerfile best practices, particularly one which is currently being listed so prominently. I mean, does the HN crowd need a top ranking link to be reminded that we should not be running external-facing services as root?
I've read K&R Second Edition, but only after I already learned C through other means. From that PoV, K&R is an interesting look into the design rationale of C against its historic background, but since it is stuck at C89 I wouldn't recommend it today to learn the language TBH :)
It’s possible that Atlassian work culture requires getting permission to grant permission to a subordinate to grant permission to their subordinate to do some work, contingent on a report of the quantifiable metrics that will be reported periodically to be compiled into other periodical reports that no one will care enough to read.

I’m only sort of joking here, since it can be weirdly difficult to actually just do the job you’re being paid to do in some orgs. I once got paid handsomely to deliver almost nothing for six months since all the layers above me were busy either talking back and forth or not even caring at all. It bored me so much that I had to leave, but the money was great.

There weren’t even any disappointed customers because they just allocated budget and forgot about the project. It wasn’t their own money they were spending, after all.

Being an engineer is weird sometimes.
Why are you playing dumb? Rejecting things as "too white", "too black" or "too Asian" is racist.
> I'd genuinely like clarity on why it's considered a matter of civil liberty to develop whatever you want and force Apple to distribute it on their store?

Some value the civil liberties of individuals more than that of corporations.
Stimulusjs and new hopes for back end frameworks
Do not hesitate to contribute then...

-> https://github.com/hexops/dockerfile/pulls
> The researchers will administer nicotine patches to some of the participants for a period of 4 to 5 months,

Wow. Hooking participants on nicotine for research seems like an extreme measure to research this. I know that nicotine-patches cannot be compared to cigarette-hits in addictiveness. But still, I take it as given that a few participants will start to smoke tobacco after this.

Since the effect promises to be really big though, I'll accept the argument that it's worth to study it. I just wonder how we'll deal with a positive result. Will the at-risk population actually be advised to take nicotine preventatively?
Maybe you could be interested in this article: https://www.rockyourcode.com/run-docker-nginx-as-non-root-us...
Windows can run on ARM and x86(-64). Both are the widest used architectures for desktop computing. I don't want to develop on MIPS or Atmel.

> When it comes to hardware support for laptops, the choice of distro is important.

I don't care. I just want to develop my programs. Each minute I need to invest into searching for compatible hardware or drivers is costing me money or my free time.

I'm using Linux at home and on servers but for workstations I don't care for it, at all.
first time i had a tech lead and product manager who understood when tech debt needed to be tackled was a huge relief to my previous roles/teams.
How is this different from compsci? :)

Every year there are 15 gazillion modules published to NPM, on average only 20-30 are worth spending the time to read, and only a handful milestones worth including in said distributions.

After 100 years there is still no clue weather microservices or monoliths are the correct hypothesis and some times the same lab publish articles contradicting previous research.
Here's my approach: https://www.codrut.pro/snippets/docker-images-basic-ruby-set...

[Edit] This is what I use for local development docker images.

Note: I disagree with this article, none of the things listed are "best" practices in my opinion... more like random practices somebody prefers. Use what you like.
I consider it to be the lazy/pragmatic approach to change things without having to deal with drastic problems that would arise from changing plattforms, like with many other topics.

People who are inside apples universe don't want the hazzle to get out of it. They rather want to influence the universe they are in, by all means avaiable. Where the legal system is the most powerful one to have an direct impact.

Same applies to facebook, microsoft, etc.

I can understand it as pragmatic, but personally I rather want to invest in open plattforms by default, instead of trying to change fundamentally flawed ones to make them somewhat bearable.
To be fair, K&R (as awesome as it is) also doesn't cover things like epoll or io_uring? And then again, K&R's definitely not a half hour read.

Zig's std lib documentation will keep getting better. In the meantime, the std lib code itself is so well written, it's worth a read, even coming from another language, and even if you have no intention to learn Zig. I found it easy to read and was impressed by the code structure and quality of the design.

Of course, that's not to suggest that code is documentation, but I've learned alot about improving my programming in general, just by reading Zig's std lib.
.{ x } or .{ x, y, z } etc... are adhoc-constructed anonymous struct-values which can be inspected at compile time by the standard library's string formatting code.

It all makes a lot more sense after understanding Zig's comptime features:

https://ziglang.org/documentation/master/#comptime

The end of the comptime section also explains how string formatting works that way.
I use Octave to quickly plot graphs or do quick non-trivial calculations during my lectures.

Better than python because I don't have to import libraries.
There are no traffic lights for the ones I've seen here, so you can just set your cruise control. I would be doing this anyway on a long drive, which again is the only place I've seen these
DELETE ALL BROWSERS AND SM APPS FROM YOUR PHONE!
Each project can have more or less the same metrics, but different priorities. In a backup tool for example, integrity > restore speed > backup speed (unless the backup speed is so slow that you cannot backup). In a project that can afford to loose data, speed may be more important than integrity.
Interesting, are there sources?
Apple accused of trying to water down anti forced labor bill
"Unnamed congressional staffers have accused Apple of trying to water down an anti forced labor bill that would place obligations on US companies to ensure their supply chain was not involved in such abuse. The bill aims to end the use of forced Uighur labor in the Xinjiang region of China.

The Uyghur Forced Labor Prevention Act passed 406 to 3 in the House in September and has now reached the Senate. We learned last month that Apple enlisted a lobbying firm to engage with Congress, but no explanation was offered at the time

US companies are legally obliged to disclose the use of lobbying firms when attempting to influence legislation, but are not required to state the outcome they are hoping to achieve."
As a foreigner I find this so repulsive.

Why would it be OK for the US to kill anyone?

"We are the good guys, we only kill bad people which we have decided are bad".

But then at the same time the US constantly points at Russia or Iran accusing them of assassinations.
It's a matter of taste and taste is speech. Let it be freee
I as a consumer am free to choose alternative devices, and I have. A vendor is constrained to go where the money is, and on mobile devices, Apple serves as the sole gatekeeper to a lot of money. And the vendors pay a usurious 30% cut to Apple because there is no alternative. And high prices like that are absolutely indicative of a monopoly. Do you think Hey would still be in the app store if Basecamp didn't raise a huge stink and Apple didn't have a pending antitrust hearing? For a monetization strategy that's identical to Netflix? If alternative processors were allowed for in-app purchases is 30% really the natural commission they would all charge? If it were allowed to say, "hey, if you subscribe through the website it'll be 25% cheaper because we don't have to pay the App Store commission", how many people do you think would take the cheaper option?

We can argue about technical definitions of what constitutes monopoly until the cows come home. But look at the behavior of vendors and the knock-on detrimental effects on consumers (high prices, lack of choice): these are the effects of monopoly, and the harms that that antitrust legislation is meant to prevent.

Stripe is successful without being a monopoly. Nokia phones had the market share to be called a monopoly, but they didn't wield monopoly power. Shimano is absolutely dominant in bicycle drivetrains, but if they tried anything from the monopolist's playbook bicycle vendors would laugh at them and SRAM would eat their lunch.
I think it would help as well to list languages that have various levels of 'real repl' implementations. Wonder what modern (systems you can 'make money with') there are that support this. I know common lisp + smalltalk and worked with both and really liked them for these reasons. I miss this functionality all the time as it was far more efficient (to me!) than modern debuggers.
Definitions matter. A repl is a read, eval, print, loop.

That means the code you enter at the prompt is converted from a String into literal data that can be evaluated (read). The data is then evaluated to produce a result (eval), and the result is then printed (print).

If that's not what your REPL is doing then it's not a repl.

That is not what's going on in e.g. python or ruby "repls". There is no "read" step here converting the text of the program to data. The program text is simply passed to an "eval" function that produces the result directly.
>I'm glad you are here to defend apple, you should write up a medium article asking apple to reverse their decision. Clearly apple was wrong to reverse it.

What a strange personal attack.

I'm not here to "defend Apple", but there's an undeniable irony in all of the posts decrying Apple's supposed 'monopolistic' rules 'forcing' developers to use the AppStore, when this application could have been freely distributed outside the AppStore - which was precisely what the developer did not want to do.
Some of it definitely is TIL triggered reading, but most of it is news related ”keep up with the world”.
> If impersonating is the reason they couldn't have just regulated a requirement to clearly list if the ad is by the owner or a third party, and not throw away the baby

Because so many people will never comprehend that the lisitng is by a third party and go on to give the restaurant a bad review.

Also some foods don't travel well and are made for immediate consumption. Even if the customer recognises that the listing is made by a third party - they are more likely to blame the restaurant for the sub-par food.

Leaving the decision to the restaurant to opt-in is the best move IMO. Rather than have "disrupters" come in - damage the brand reputation and then leave the damage control bit to the restaurant.
This was the original intention of patents. Let market value decide if the discovery was worthy and let inventor earn from license of it. We all know that's not how it works today though thanks to sloppy patent office and abusing patent trolls.
TigerBeetle (an accounting database for a high throughput payments switch): https://github.com/coilhq/tigerbeetle

We're serious in the sense of very much alpha, and with a long way to go, hopefully intersecting with Zig's stability program in the next year or so, but we have some demos and benchmarks in there of using Zig for io_uring. Zig's std lib already has io_uring helpers based on liburing's design, which we contributed.

We would have gone with C for its ABI, OOM-safety and control over memory layout, but considered Zig ready enough given our own medium term timeline, and the developer velocity and safety is already paying off. We also wanted a fantastic compiler, which Zig already provides. I personally wouldn't go back to C for a new project like this.
I hope Apple is not becoming a second Google in terms of customer and developer interaction.
S Koreans drink twice as much liquor as Russians; 4 times as much as Americans
I have some experience with clojure but besides using the repl as 'interactive shell' I never tried it further (for some reason I always thought it was a crippled lisp even though I did some fair amount of work in it); does it offer the full experience? I should try it again as that's something that's actually used in real life (and has a good client side cljs experience).
I came to the conclusion that it's really impossible to cut out a smartphone altogether. There are many 2fa sites which are app only: my bank, my credit card, DigiD (Dutch single sign-on for everything government related).

Another group of apps for me are the ones I use to interact with smart devices around the home. I replaced many of them by setting up Home Assistant and Mycroft voice assistant.
The app itself still does not collect any kind of data from user. It works without internet at all.
Docker's official article on best practices has a section dedicated to showing how to add user accounts.

https://docs.docker.com/develop/develop-images/dockerfile_be...
"Jesus, in what first world is giving up on Apple impacting one's quality of life?"

Likewise, this is also just your opinion. Why can't you accept other peoples opiniin on their idea of quality of life?

And it actually makes sense to me (even though I never use apples products). Because it means changing (allmost) all your apps and software. Everything you set up to your liking. Don't you think changing this is hard and therefore lowers quality of life?
I've used this before! There's a wealth of great information here.
Why can’t you call an app heroin?

Genuine question. Is it somehow going to cause more drug use? By what mechanism?

Why do we accept censorship so easily? Is free speech not worth more?
Thank you for mentioning urge surfing! Googled it up, sounds interesting, never heard of it before; assuming it helps others maybe it will help me too! Certainly worth trying.
This seems extremely pedantic. Python and Ruby will “read” the string inside the “eval” function.
That might be down to data i.e. OSM being crappy in your area or the app being bad... Hard to tell, it worked for me back when the app was with its original developer. So maybe browse around on osm.org in the same area to see if you have data in your area.
> Do not hesitate to contribute then...

This info is quite literally made available by Docker itself in the form of it's official best practices guide, which exists for years now.

https://docs.docker.com/develop/develop-images/dockerfile_be...

How is anyone publishing a so-called best practices guide when they aren't even aware of the stuff covered by the official best practices guide?
The functions you link look like they're for simple deflate streams (i.e. a single file), while the OP appears to be about streaming zip archives which can contain multiple files with metadata.
Are “intelligent” systems able to bypass Uncertainty Principle?
Modern Data Science with R 2nd edition
Who do you think you are kidding, Mr Feynman?
He's right to emphasize the properties of the systems that support interactive development with a long-running image. In Common Lisp, the difference between defvar and defparameter is a simple example. Traditional Smalltalk systems only supported image-based development. But I always preferred the moderate approach exemplified by most Lisp systems where the source code isn't overly entangled with the image state.

As a long-time but now lapsed Lisper, I never understood some people's elevation of the REPL. A command-line REPL is a poor man's development environment. If you're doing interactive development in Lisp, you'll be far more productive if you use a normal buffer with eval-defun, eval-buffer and friends. When debugging, you'll primarily want auto-updating watch expressions and object inspectors. And when you do have good use for a REPL, you'll still want it to exist within a proper buffer with persistent history, inline object inspection, etc, instead of the low-effort rlwrap terminal experience which usually passes for a REPL.

All of this holds doubly true for Smalltalk environments.
Show HN: Bootstrap HashiCorp Consul, Nomad or Vault over SSH