skysight-inc/HackerNews huggingface dataset:
U.S. Senate bill would limit big tech mergers
> Check out GOG.com if you want to avoid DRM entirely.

I already avoid most DRMs since they don't normally run on Wine/Proton.

(As mentioned, cracks are available and are legal to use for compatibility and archival; though developing nor sharing them is, go figure. Recent document about such circumvention exemptions: https://www.govinfo.gov/content/pkg/FR-2021-10-28/pdf/2021-2...)

The other thing is that I use mostly FOSS stuff so I don't normally have to worry about DRM breaking things or causing me issues.
Context:

First USB-C iPhone(https://www.youtube.com/watch?v=SAekbJf4Gsw)

73 points|diablomolecule|27 days ago|20 comments

https://news.ycombinator.com/item?id=28816893
Which type of plant-based milk is best?
> Compared to the House of Representatives which has 4 year terms, and half up for reelection every 2 years.

BTW, terms for Representatives are two years; the entire House stands for election every even-numbered year.
What you call a 'tyranny of the minority' is in fact an equal representation of classes... that the rural proletariat is represented in government rather than yielding all decisions to the urban bourgeoisie. The American form of government was designed specifically to ensure a balance of interests rather than allowing one class to run roughshod over the other. It's a design feature, and a good one at that, no matter how much it distresses imperialists who'd prefer to simply dictate the course of affairs to the working class.
Some seem to think they have some protected status, though, from the way they talk.

That said, anonymous signatures mean basically nothing. Literally, those three could have just decided to slap 10 or 1000 anonymous signatures on a doc.

"I agree to protest in a way where no one can even tell if a real person protested, and I have zero personal stake in it" doesn't seem like a strongly held position / belief.

Of course, those anonymously signing may realise what I said in my prior post...

Ah well.
Servers have access to both the DNT header and the browser id. Advertisers could have argued that the DNT header sent by some browsers was not an informed decision and likely forced those browsers back to explicit opt-in/opt-out by users. But they did not. They used the first escape hatch they found to ignore the header completely, kicking the can further down the road. Of course they did, because every body knows how many people will opt-in to tracking without being bribed.
I know people that do this. No amount of "fossil is the enemy, not solar" can convince them, and they keep posting anti-solar/pro-nuclear propaganda.
At least in Germany the court ruled that an IP address is not PII

A unique identifier which let's them track a user everywhere isn't either if there is no way to match this id to a real name etc

They will likely still need to disclose this tracking (ianal), but the identifier used to track the visits isn't PII
They are providing easier maintenance and monitoring for open source DBs. You can always avoid RDS and install Postgres manually on EC2, if you so desire.

I'm not saying RDS couldn't be better, but I wouldn't expect them to maintain unsupported versions of 3rd party software.
Nuclear energy is not tenable given the current political climate. We’re not optimizing on technology alone. We’re optimizing along the manifold that includes people’s opinions since they do have de-facto veto rights here.

I see nuclear power as a solution to climate change as unviable since no one wants one in their vicinity. The plants are unbuildable because of unions and widespread corruption.

Nuke fans are just like big C Communists. If only we all worked together for the good of humanity, we could all live in comfort and there wouldn’t be any hunger and all the little kitty cats will have warm beds and fluffy pillo- no. Well, your comrades in the venture are corrupt fucks. Nuke is unbuildable and pissing away money into an abyss of non power generation is not okay.

China can build nukes, blessed are they. The US cannot.
googles a piece of shit. what else is new?
God, this is so accurate.
0974646148
Actual title: Cigarette Sales in U.S. Climbed Slightly in 2020, FTC Says

"The number of cigarettes purchased by wholesalers and retailers rose slightly, 0.4%, to 203.7 billion from 202.9 billion in 2019."

"Altria Group, maker of Marlboro cigarettes, previously pointed to the pandemic as a reason people are lighting up more. Chief Executive Billy Gifford said Americans spent less money on travel, gas and entertainment last year and that fewer social engagements led to more 'tobacco-use occasions.'"

"People who once vaped may also have returned to regular cigarettes because of health concerns over vaping prompted by a mysterious lung illness in 2019 that was ultimately linked to vitamin E oil in marijuana vaping products. Bans on flavored vaping and increased e-cigarette taxes may have also contributed to the increase, consumers and industry officials said."
> Royals become royals by mass murder, then oppress the people they rule over.

That way they wouldn't remain royals for long.
At minimum they must keep their army loyal.
One would imagine that they would prefer a good cause to fight for,
so oppression must be justified to them somehow.
It's easier to just avoid intentional oppression.

> In France I would have been on the side of the revolutionaries for sure. You would side with the royals (and now I notice your username)?

I guess so. Good things are easy to break but difficult to create.
Brian Dear's The Friendly Orange Glow covers some of this history, as well as the fascinating PLATO system that grew out of it at the University of Illinois. The flat-screen plasma display developed for PLATO was Alan Kay's inspiration for the vision of the Dynabook and Smalltalk, which is where we got the modern GUI. (I'd say "and OOP", but the OOP part of Smalltalk came from Burroughs, SKETCHPAD, SIMULA, and a self-describing tape library system from about 01960; I don't think plasma displays had much to do with it.)

I learned the basics of linear algebra in high school largely from a "programmed instruction" book inspired by Skinner's work. The Little Lisper family of books is the best example I've seen of this in recent decades.

It's a shame that Watters is committing so many malapropisms in this article ("operating conditioning", plus incorrect uses of "ascribing" and "negative reinforcement"). You'd think she could hire an editor.
advertisers pay more per impression when they can target better. Publishers show ads and get paid from advertisers. (simplified)
I don’t read how the yearly net for the employee changes.

The employee agreement with the employer is for X pay, and I doubt the agreement states the fashion that location plays in their pay function. The employer is looking at how they pay relative to the market the enployee is in. Would the employee ask for a pay raise if they moved to a more expensive market, and would the employer offer it?
I can second that book, speaking as someone who also hasn't really programmed in JS in a while.
Dungeons et Dragons - sounds french to me
D. Richard Hipp has mentioned that SQLite and the TH3 test suite were heavily inspired by DO-178B, but none of the core SQLite developers have been involved in a DO-178B certification nor has anyone purchased the TH3 test suite. Furthermore, SQLite by its nature is not fit for hard real-time systems since it cannot guarantee the execution time of an arbitrary query and/or an arbitrary dataset.

I don't mean to disparage SQLite in any way, it is quite the achievement, but your characterization is mistaken.
While I can identify with the ClearCase/Perforce/etc admin issue, there were a multitude of code hosting solutions that predate GitHub. Google code supported subversion and mercurial; Before that, tigris.org supported subversion; before that, Sourceforge supported CVS.
Lidar reveals hundreds of long-lost Maya and Olmec ceremonial centers (https://arstechnica.com/science/2021/10/lidar-reveals-hundre...)

104 points|samizdis|7 days ago|12 comments

https://news.ycombinator.com/item?id=29048229
It is more opinion than investigative journalism.

This is the only information about what actually happens to batteries. It is very imprecise. And limited to one company

"When batteries can’t be fixed or reused, the company recycles some at its onsite facility. It also stores batteries. Lots of them. SNT’s main warehouse in Oklahoma City holds hundreds of electric car batteries, stacked on shelves that jut 30 feet into the air. With the Bolt recall, GM will send SNT many more."
Get hls link from Twitch video
I'd argue Joe Manchin (Democratic Senator of West Virginia) has single-handedly changed an eye-watering $3.5 trillion dollar spending bill into what appears to be a slightly less eye-watering $1.5 trillion package. The lower number (and thus lower taxes) makes it much more acceptable to a broader fraction of US society. Assuming the bill passes, it's an example of compromise working (but within negotiations of a single party).

The key thing is if one party wants to be able to pass the larger number without that pivotal vote, they need to appeal to a greater fraction of society and win more seats so they don't require that particular vote.
I think they email account owner, because in our case he forwarded it to tech team. So if he would have chosen to not forward it to us, then we could have been in the same situation as you. Just wanted to mention that they actually sent an email about that issue. At least to somebody :D

We did our upgrades few months back (9.6 -> 13) and luckily in our case it wasn't big of a hassle. Just finding out correct upgrade path with Postgis took some investigation, but overall the upgrade documentation was good.
nice golf course though
Careful, this is not Erlang. These are real threads, you won't be able to have thousands of them, more like 20 [1]. If most of them are idle, then you can maybe increase it to ~100. They come with a considerable overhead, so it's better to have one thread handle several I/O operations concurrently and in parallel, than to have one thread dedicated to only one I/O operation.

[1]: https://serverfault.com/questions/1012360/how-can-i-tell-the....
Speaking as a "Joseph", there was a definite "Joey" phase as a kid, followed by an ongoing "Joe" phase, while "Joseph" is retained for Very Adult/Formal contexts. But maybe not everyone has such multifunctional names.
Nice work!

Had the same issue for the second kid and came to the same conclusion I needed an app for that.

I never shared it but I’m happy with my “trouve prénom” French only site, based on INSEE names statistics.

If you’re curious: http://trouveprenoms.azurewebsites.net/
For a start, don't try to draw 3 million tiles on a screen that's likely to have around 2 million pixels.

I'm guessing most of those tiles are off-screen, and you're creating a mesh for an entire game level, not just the visible area?
And they are arguably right. Proof-of-work is the technical equivalent of rolling coal, and it's time to cut out the nonsense. We have an ongoing climate disaster to deal with.
Code quality is not neglected to the point we have logical errors. Architecture is reasonable and we have an extensive suite of end to end tests and integration tests.
"If we were to allow extensive mining of crypto-assets in Sweden, there is a risk that the renewable energy available to us will be insufficient to cover the required climate transition that we need to make. This energy is urgently required for the development of fossil-free steel, large-scale battery manufacturing and the electrification of our transport sector. Based on estimates from Cambridge University, it is currently possible to drive a mid-size electric car 1.8 million kilometres using the same energy it takes to mine one single bitcoin. This is the equivalent of forty-four laps around the globe. 900 bitcoins are mined every day. This is not a reasonable use of our renewable energy."

Could not be clearer: either you allow Bitcoin, benefitting only a few miners and users, or you let society as a whole transition to a more sustainable future.
You might think that, but if we’re talking about a frontend service that doesn’t really handle much sensitive info (if any), there’s a lot juicier stuff on my machine than just pushing malware to that codebase (not least other codebases on my machines)
If it gets wet then the pods would be ruined.
https://news.ycombinator.com/item?id=29123994
Crypto mining, specifically. Title needs to be updated.
North America has achieved full fossil fuel independence via shale. You don’t need all the fossil fuels, you only need enough to be able to cap the price. We have enough.
This is like finding a $100 bill in your jacket. Love the concept!

Sometimes we abandon cart because we got distracted or didn't have time to complete the txn. Will work for those.
I hope this gets some traction in other places too.

I actually have to give China credit for making the right moves there, given our climate disaster, crypto is a doomsday cult as long as proof-of-work is a thing.
How common is it that a judge has to dig deeply into a contract?
It's an attractive target. Other ecosystems (maybe besides Rust) rely on large packages with minimal dependencies, and those packages are often first-party (Entity Framework, for example).

NPM meanwhile is a neverending net of tiny oneliner packages, required by other oneliner packages, required by twoliner packages, required by single-function packages, required by... required by React. And thus, adding malware to `is-number` adds it to all 8766235452 packages that depend on it.
Couldn't they just cut it out like extracting part of a car frame?
The goal is to get inside for the packs
Berlin, a bit cold and gray in winter, but possibly in the top one for greatest city on Earth.
There is userspace integration available as well for OOM killers, afaik Facebook using/having developed them. They can take into account much more fine-grained selection criteria before killing a process.
I agree, please no server, no cloud, no auto-update, the interface should be local.

'Right to repair' laws should extend to 'right to program'
, thus forcing open APIs of some kind.

There should be some kind of standard, defacto, or official.
Not anymore with the bank reporting coming up. Unless if you keep all the cash under the bed.
The question in the article title remains unanswered. The long article develops the question, only.

As I see it, the batteries will end in landfills, best case. If you can pay for it, they will end in landfills abroad. Nobody who is relevant is serious about this problem because those batteries are still working.

Consumers are sold the idea that the situation will improve in the future. Hopefully, I have to add.

So much for climate change.
Honestly at this point, if you trust google you’re a fool. It’s demonstrated itself to be unreliable, capricious, and absolutely willing to break the law if it thinks it can get away with it. Do business with them if you absolutely must, but under no circumstance should you actually trust them.
A French company (https://900.care) does that.

No affiliation, but I want to try them out after they popped up in my youtube ads following searches on exactly these kind of products. I do not know if they are good but zt least they tick the sustainability part I was looking for.
I too have been pressed into the wall on salvia, that was the last time I did it. The earlier experiences were more interesting with fractal folding and meeting the “clockwork elves”
> The proper semantics for starting a new process is..

:) Ah.. I guess when "I was younger" (TM) I was also so dogmatic on most things computer-related.

Anyways, when we need to do something a bit more complex than equivalent of system(), then it quickly becomes evident, that in many cases we need to prepare ourselves for the future execve().

Here's the list of syscalls/c-funcs, which are called in two random projects I maintain, after fork() and before execve() (or execveat() or fexecve()).

alarm(0); /* disable alarms */
setenv(); /* A couple of required envs, like MALLOC_PERTURB_ or MALLOC_PERTURB_ */
prctl(PR_SET_DUMPABLE, 1) /* regarding ptrace()-attach */
syscall(__NR_personality, ADDR_NO_RANDOMIZE); /* disable ASLR for debugging, if needed */
socketpair() /* reliable execve success detection, some form of witchcraft */
setpriority()
prctl(PR_SET_PDEATHSIG, SIGKILL); /* die upon parents death */
setrlimit(); /* set of reset rlimits */
lseek(fd, 0, SEEK_SET); /* rewind input file for this specific subprocess */
/* prepare arguments (argv) for execve dynamically */
sysconf(_SC_NPROCESSORS_ONLN); pthread_setaffinity_np(); /* pin subprocess to a list of CPUs */
/*
LOTS of functions here
if we wanted to use net/process/mount namespacing
e.g:
assigning IP adddresses to interfaces
creating custom views of the filesystem tree
modifying capability sets
*/
open("/proc/self/oom_score_adj"), write(), close(); /* adjustment of oom score */
open("/proc/self/fd", O_DIRECTORY); getdents(); fcntl(F_GETFD); fcntl(F_SETFD, FD_CLOEXEC); close() /* closing fds upon exec */
setsid(); /* new session */
sigprocmask(empty_set); /* reset signal mask */
open("/dev/null"); dup2(null, 0..1); /* close fd 0,1,2 */
prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)
prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER); /* application of sandboxing */
and finally execv() or execveat()

Granted, the projects are maintain are probably more on the heavy side of things, when it comes to process manipulation, before execve, but putting all of that in some control structure, would be down to impossible for me. Such structure would have to be so extensible, that it'd have to be some form of VM I guess effectively. So.. having ability to simply call a couple of syscalls from the context of a regular new process, and before execve() is quite good here.

Sure.. maybe we should have some simple form of fork/execv, for those who want to call system() or popen() and not hit the memory overcommit related crashes.

But not as a replacement, rather a new syscall. Even so, debugging while a process creation/execution failed would be madness, given that you simply would get EINVAL, and the failure could be related to any of dozen parameters in a process creation control structure.
> In the end the only sensible choice was to switch to ESP32

I understand and appreciate the fun to get something working on minimal hardware. But unless you are going to mass produce a stronger dev platform gets my project going much faster.

For example, I have ESP-WROOM-32 project that is ultimately aimed for an ESP-01. In any respect, this last step is only justified price wise, if I were to build dozens of devices. I do it once for intellectual curiosity but after that I don’t plan to spend much time on saving 5 bucks in hardware.

For games, I would definitely start with a pi zero at least.
One practical reason might be inertia. They have a system which doesn't have any urgent downsides, as the Queen is only formally the head of state but doesn't interfere with things. Which actually might be nice, as she is a known entity while an elected president might do a worse job. This could change quickly when the Queen dies. T

Then there is the effort required to establish an alternative system, both on the design and implementation side. Such a change is a huge step legally. So people might not be in a huge hurry unless driven by need.

And then there is of course the sentimental side. There is always a group of people who think the Queen should be the head of state and things shouldn't change. Even in many modern democracies, there are still a few supporters of monarchies. This all isn't of course driven by rational reasons. Just look at some of the sentiments driving the UK out of the EU despite pretty obvious risks for the trade which more and more manifest themselves by now.
Good for them. The situation we’re in at the moment would be rejected as a sci-fi plot. We’re at a critical point in human history that will largely be defined by whether we as a species can save the environment, but a section of society are obsessed with speculating on a digital currency that corresponds to how much carbon you’ve released into the atmosphere for no reason other than to prove you own it.
Yeah, Sweden has an extensive ore mining sector. I expected to learn about the energy efficiency of different mining techniques, would be really interesting.
I always guessed it was udp based.. but yeah, what a nonarticle :/
The German BR01 Lokomotive can travel 75mph forwards but only 30mph backwards: https://en.m.wikipedia.org/wiki/DRG_Class_01

The difference with a passenger car is that the wheels on a car are mounted on a bogie which can swing independent of the car body. The front wheels of a steam loco are also usually able to swing from side to side.

This helps it enter and exit curves without derailing.

A tender(at least in the Styles used in Europe) is too short for this.
Better crash hard and early, than crawl forever.
It’s not that modern devs have forgotten techniques so much as they now spend their time on techniques that operate at much higher levels of abstraction.

Every abstraction layer is designed to be multi-purpose, meaning not optimized for a single purpose. As these layers accumulate, opportunities for optimization are lost.

A 90s game like Rollercoaster Tycoon was coded in assembly language on bare metal and limited OS services.

A modern game might have game logic coded in Lua, within a game engine framework coded in C++, which calls a graphics API like OpenGL, which all runs in an OS that does a lot more.

These modern layers are still clever and efficient and optimized using tricks as far as they can be, and the increased resource requirements come mostly from the demand for higher resolutions, higher polygon counts, and more graphical special effects.
libsigsegv.

Used to catch out of memory errors to start a major GC.
Yes, yes, the standard CHERNOBYL FUKUSHIMA RADIATION RADIATION DEATH DEATH TO ALL HUMANITY FROM RADIATION!!! argument.

In reality, the fossil fuel disaster is much more severe with far bigger environmental impact.
A comment[0] on Reddit by someone close to the Helion CEO claims the media left out some important context. Helion said they could do it in three years with funding and they didn't get the funding they needed.

[0] https://www.reddit.com/r/fusion/comments/qna3dr/-/hjh36wx
No founding needed, we are corporate owned. The business guys demand features like there's no tomorrow so we have to do some trade offs. If the dev team owned the thing we would have taken other decisions.
The RP2040 (as used by the Raspberry Pi Pico) can generate some impressive video thanks to its PIO. E.g. Luke Wren's work giving DVI output https://github.com/Wren6991/picodvi and the scanvideo library: https://github.com/raspberrypi/pico-playground

I did a write up going over how to generate VGA video from scratch to produce some SNES like graphics:

https://gregchadwick.co.uk/blog/playing-with-the-pico-pt4/
https://gregchadwick.co.uk/blog/playing-with-the-pico-pt5/
https://gregchadwick.co.uk/blog/playing-with-the-pico-pt6/
Proof of work for mining should pay hefty carbon tax.

Various other industry already pay that tax, why not mining crypto? Crypto fans make various claims, so lets check that. E.g. Any new etherum block carbon footprint would be verified through oracle and smart contracts. Based on that it will be subject to tax that will go to carbon-capture companies.

With that incentive, crypto could innovate to better methods and be buyer of last resort of clean energy.

Crypto can adapt quickly, climate can’t. We can not afford new carbon intensive industries.
This reminds me of this RPi VGA Hat: https://github.com/PiSupply/Gert-VGA-666