skysight-inc/HackerNews huggingface dataset:
Given how bashing on MTProto is a favourite cryptographers' activity from the day-0, I'm actually kinda encouraged by the fact that's all they found. It's especially nice, that htey could fix all of them without breaking back-compatibility, which isn't really a given for crypto protocols. Would appreciate more technical and less dumbed down responses from the Telegram team, though. I have no idea what the fuck "counting grains in the bags of sound" is supposed to mean.

(Also, it's funny, but being accustomed to SMS and such I always somehow assumed Telegram messages can be reordered by chance too, if I send them fast. I never really thought about it, obviously, but simply didn't expect it to be otherwise.)
>games with no anti cheat!

Games that don't require kernel-level anti-cheat software.

Not sure which problem needs fixing there. Shudders
Printing and 3D acceleration are supported by the OS through stable and cross-platform APIs (CUPS, OpenGL). I‘ve had the smoothest multi-DPI experience on Linux compared with macOS and Windows (using Wayland, things are apparently a bit more complicated on X) and don‘t think the apps need to do anything that special, as even the most niche apps using Gtk and Qt just work.

Remote management would either have to be integrated into the application or a third party management solution (not that different from any other OS, maybe except Windows with its group policies).

Conclusion: Yeah. Fairly easily.
> I have a hard time understanding how, say, calling 500 methods per second on a DOM object, e.g. `label.innerText = someSensorValueComingFromWebsocketsVeryFast;`, which needs to trigger various events, callbacks, etc... every time could possibly be faster than modifying a pure JS object at the "incoming message rate" and then blitting that object at the screen refresh rate or something similar ?

Updating a value on the DOM 500 times per second just because you can read it 500 times per second falls, again, in the category of writing wasteful code just because it's simpler. i.e. "don't care about performance, just let the browser work".

If you compare code which is initially bad, then sure, a lot of "solutions" will be better than that.

The appropriate comparison for evaluating the value of using a virtual DOM should not be about that, but only about the part you describe as "blitting the object to the screen". You have the data, no matter how, where, or even -to some extent- how often, and you want to put it on the screen.
Sure thing! This is what we use: https://elements.heroku.com/buildpacks/gaffneyc/heroku-build...
The End of Open Source
It's very likely it wouldn't. (Decent) analytical DBMSes have a whole lot up their sleeves which just choosing one plain-vanilla data structure for your table doesn't even approach in terms of performance. The benefit may be well upwards of 10x in many real-world scenario.

Of course, if you know you get one single query which you know in advance, carefully build a data structure to cater just to that, and you know your data structures beyond the just the basics - then, yes, a DBMS would be overkill. But it still won't be a walk in the park.
That sounds like you built a nice snow flake that you might be confusing with a production ready thing. Maybe you are happy with it like that and things are fine. Or maybe it's a problem you don't know you have yet. I can't answer those maybe's for you. But probably the reason your friends are unhelpfully suggesting a solution is because they suspect you have that problem and might not be aware of it.

A reason to ignore their advice would be that you genuinely know better and know what you are doing. Another reason might be that you have plenty of other/more interesting things to do. I've certainly sacrificed devops in favor of feature development a couple of times and it was usually the right choice. It's important but not when it starts taking double digit percentages out of my time. But the difference between an informed choice and just winging it is knowledge.

Docker is kind of easy to get and learn. So, read up and then decide if you have a use for it. Much better than mucking around with vagrant, vms, and stuff like ansible, puppet, etc. which was the fashionable thing to do before Docker was a thing. If you like your vms still, look into using packer to make creating them a bit more repeatable. A packer built vm image (with ansible or whatever) is a nice substitute for Docker. More work but you gain a bit flexibility. I've used it to build vms that run docker.
$100 bucks a month and 100W power usage might keep it out of most people's hands for a while.
It seems like you're confused. And angry? Did you understand the context of my comments, OTOH?
One of the things I've wondered is why people don't create small-mesh networks off their cable internet? For example, if I'm living in a relatively small apartment with nearby neighbors, why not get one of those WiFi mesh router systems and hook up 2-4 apartments to a single internet connection?

This project is really interesting, but it requires a certain amount of organization and technical expertise. Installing directional antennas, running wires, etc. isn't incredibly hard, but it's a lot more work than setting up a router.

The new WiFi mesh routers are pretty great at covering a larger area and in my city the apartments are pretty close together. In a 3-unit building, it seems like you could just get one internet connection in the middle unit and a nice 3-unit WiFi mesh system and save on internet costs.
It looks like you're right. Just looked it up. A billion is 1million^2 in its etymology so English speakers are the odd one out.
Division of Perceptual Studies
Mini summary: Do not use this in production. xD
Your understanding of “science” is absurd.

Yes, those creatures that died will be dead. When the environment changes and creatures are selected against, they will die out. This is called the Theory of Natural Selection.

Does it suck that it’s happening in situations like this heat wave? Yes.

Should we do whatever we can to stop our contribution to this? Absolutely.

Should we expect that it never should happen? No, otherwise dinosaurs would be roaming the Earth right now. There have been around 20 mass extinction events in the last 500M years.

Are we causing the next mass extinction event? Probably.

Will we be the cause of life to end on Earth? No. Even plastic breaks down and nuclear waste becomes harmless over a geological timeline.

Again, your understanding is pretty basic. Since when is the environment “stable”? Climate is always changing. To believe that the climate has to be stable in order for life to thrive is anti-science. Life will thrive. Even a nuclear catastrophe like Chernobyl and Fukushima hasn’t stopped life from taking over in time frames that scientists thought were impossible.
The headline is misleading; the article isn't really about whether or not low-level optimisations matter. With that being said, the idea that one of the big speedups that computers have gotten in the past two decades is better caching and branch prediction is interesting, and the idea that we use neural nets for it is known to me but still really cool.
Sqlite provides a full text search module (FTS5) which provides a lot of nice search features. I have used this numerous times to build serverless apis for large static datasets for frontend analytical experiences like data tables without setting up elasticsearch. Thats one use case.

Another is they support this closures.c extension which is very nice for rapid queries on tree structured data locally in memory. The JSON1 extension is also nice for rapidly querying/reshaping deeply nested json data. Theres also spellfix1 that can provide fuzzing capabilities. If you need any of these with low latency and in memory its a great choice.

Sqlite is great for rapidly building low latency static data serving services for frontend experiences. Something I’m exploring now is combining sqlite with streamlit to rapidly build data exploration UIs.

Like how many times have you wanted to quickly add fuzzy matching or full text search to some program? You use fuzzywuzzy but its pretty slow, sqlite provides performant implementations of this stuff thats super simple to set up.
This is up there with "billions of tons of CO₂" as a context free large number that sounds Really Bad.
The 2 million killed Vietnamese and the approx 400k Iraqis would probably care to differ.
I hardly think that you are correct that fact that there is one of more jurisdictions that legalise oversee murder does not mean it is not murder (USA), it just means that a certain group of people don't regard it as murder.
It's also hard to see why one is obliged to be sensitive towards people who sign up to kill others. Calling a soldier a murderer is never even a fractal as insensitive as committing the violence in the first place.
I was on the Wainwright during it. The airline incident was months later.
Iceland was invaded by the Brits in WWII to keep it out of German hands: https://en.wikipedia.org/wiki/Invasion_of_Iceland
I don't know Ruby. In your example, if you're comparing the function itself, it is true that

f == f

But it's not true if that's function invocation and there are implicit arguments. Applying a function and comparing its definition are of course different.

The evaluation strategy must come after we agree whether we're comparing values after invocation or definitions. If it's invocations, the evaluation strategy you pick can change the meaning of the program, so that we must discuss semantics.

In all of these cases,

A == A

Once we make all implicit assumptions explicit.
Just in time for fusion power: https://www.eurekalert.org/pub_releases/2021-06/tca-gat06092...

How convenient! :D
Number Munchers was the SHIIIIT! Thanks for the flashback!
This book is excellent, and it's aimed at relatively advanced practitioners.

> This book assumes existing knowledge of computer graphics at the level of an introductory college-level course

For people looking for such an introduction, I've written Computer Graphics From Scratch, available in its entirety here: https://gabrielgambetta.com/cgfs (and also from https://nostarch.com/computer-graphics-scratch)
It's scientific fact, all rigorously cited in the literature, but thank you for your concern.
Not optimistic, but a great sci fi novel dealing with sustainable tech: https://en.wikipedia.org/wiki/The_Windup_Girl
I wrote a `viewsetup` tool for setting up a /dev/mapper device (and VMDK file pointing to it) that I use for exposing a set of native Windows partitions while masking off the active Linux partitions. It's enough to allow booting Windows natively or in a VirtualBox VM using the same partition. But the steps to create backing files, run dm-setup to create the /dev/mapper device, and create the VMDK are all separate, so you ought to be able to use this with any virtualization tool.

I sort of have it documented at https://github.com/hotsphink/sfink-tools/blob/master/doc/Vir... though that's really a set of instructions intended for a new PC that a bunch of us at my employer recently received. You just want the `viewsetup` stuff. You probably want to leave off the `--auto` flag, so that it'll prompt you per-partition.

The tool goes to some effort to only expose the specific partitions needed. It also makes the virtual disk exactly match the native disk, copying small partitions (and gaps between them) to files and exposing those over loopback interfaces, so that Windows can go crazy and write over everything and it won't break your Linux setup. (The Linux partitions themselves are exposed as loopback devices to empty sparse files of the right size.)

Get the single script file at https://hg.sr.ht/~sfink/sfink-tools/raw/bin/viewsetup?rev=ti... or check out the full repo at either https://hg.sr.ht/~sfink/sfink-tools/ (mercurial) or https://github.com/hotsphink/sfink-tools (git). I keep both up to date.
> though I'm not sure how using "sounds of the appropriate length" or "lines of proportional length" would get you more than the rational numbers, which are already countable and thus fully captured by any Turing-complete language

Consider the canonical form of Pi. You can't express it accurately in English, but you can have a distance of Pi length in the physical world, so you could express Pi by that distance.

Now we can refer to Pi in English because it is tied to a concept which we can describe and because we can assign a name to it.

If I picked two arbitrary points in the physical realm, then due to the distribution of real numbers there's a good chance you wouldn't be able to express the distance accurately in a language that uses a finite set of symbols/sounds to express numbers.

I'm convinced such 'numbers' exist however, Pi exists after all, and it happens to be just one we assigned a name to because it is of note.
a first-edition copy of this book would still be a worthwhile read.
We've had sixty years of serious software development and the community still doesn't have a strong idea of how to actually write applications in the manner you describe and then evolve those applications according to new requirements. Every decade we get tons and tons of new best practices and the fact is that virtually all applications, even those written by world experts, end up as a mess.

"Just write code beautifully" is a great problem to try to solve, but we shouldn't let that problem prevent us from making minor local optimizations in engineering practice.
while recent headlines make this seem truer than ever, will there really be no hope from the massive incentives showing up now TO do something? could there be a manhattan project like event that invents our way out of this?
I would recommend looking into dtrace or other observability tools to figure out what to optimize next. So far you have basically had to guess where the slowness is and optimize that.

Lastly, how long does it take to make a copy of an already prepared 1b row SQLite file?that seems easier than generating a new one.
Telegram is definitely the most convenient one with mass adoption, especially among the furry community

But let's not mistake ease of use for security
> Do Low-Level Optimizations Matter?

1. They matter a _lot_.

2. (Mentioned but not covered in the article) adaptation to known features of your input distribution also matters a lot.
Three Editing Assignments from Hell
it's more like selling you an Xbox and then never releasing any games, and then selling Xbox 360 and games.

the original can (theoretically) play games, but no one with a license wrote any.
Vivo smartphone patent includes flying camera drone
The actual scientific diagrams were made with the purpose of 'demonstrating that bipoc are inferior'. It was outright phrenology, done in the 1800s, and has literally no basis in modern science!
Ten of the World’s Rarest Gemstones
Where do you read character transposition?
ToS violation. You may not share Internet connections without explicit consent from the ISP.

You can order a connection which allows sharing, but it’ll cost you about a grand or so per month.
The thread already went down that line of argument, you can take this comment as an response to yours: https://news.ycombinator.com/item?id=27851171
Never? Proton has already replaced Windows for some and I don‘t think it’s going to become any weaker. Valve keeps pushing and making pretty good progress: Even games with anti cheat software are expected to work some time soon.

The Steam console was too early, but the Steam Deck might give Linux gaming a good push (even though I expect many users will install Windows, ha) and shows how committed Valve is to gaming on Linux.
Thanks! I didn't know about that one.

Sadly Firefox Focus on Android doesn't seem to support extensions or manually loading block lists, but as I do mainly browse from private mode on desktop as well, the extension will help there.
> with what is essentially legal amphetamines which sounds horrible to me

It's not.
Omg, skip the rest but valgrind is amazing and requires almost zero learning to use. Build your code with debug symbols, find inputs that trigger a segfault, then run it under valgrind. It then reports out of bounds memory access, with a full stacktrace. It's got a billion more uses, but at the most basic, that one use-case will keep you from wasting time futzing with a debugger or print-debugging 99% of segfaults and memory leaks.
Lovelock is an awesome dude. My mother made a pilgrimage to visit him in the early '90s.

She was a big fan of his Gaia hypothesis. She was a big science nerd.

http://cmarshall.com/miscellaneous/SheilaMarshall.htm
Do Signal, Wire, or Matrix do this transcript consistency thing, or is there some other way by which they prevent message reordering? From what I know, encrypted messengers almost never implement that. At least in Wire I noticed reordering at some point and it uses an implementation of what is now called the Signal protocol.

And that's the most severe vulnerability from the article. The second one is "mostly of theoretical interest" according to the researchers themselves, the third requires "an attacker [to] send many carefully crafted messages to a target, on the order of millions of messages", and the fourth "requires sending billions of messages to a Telegram server within minutes". So while this is not bad research, not at all (it's really great that people take this close a look!), the title sounds rather more severe and people will obviously jump to the conclusion that "See, MTproto is bad like we said all along!" without reading anything. Good research, bad article?

«Obligatory notice in Telegram comment threads: the real issue in Telegram is that end-to-end encryption is optional and made extremely inconvenient to use: no implementation at all in TDesktop, can't use it across multiple devices, doesn't work for group chats at all... That is the main reason Telegram isn't secure: they can read all your chats except when you use this stupid inconvenient mode.»
I wouldn't use docker even as an established company at this point. I've been using it for several years and it adds complexity rather than removing it in the long run. And yes I include Kubernetes in that as well. They work very well for specific narrow sets of requirements but are unnecessary and require headspace and headcount to look after.

It's better to religiously build simplicity, repeatability and fast automation into everything you do without it. That has a much better ROI on a product build because you have to do all those things anyway to make docker and kubernetes effective.

The key thing to do is to build on technology that is portable, compact and repeatable which means at the moment something entirely self-contained (Go, .Net Core, Java, Python with some caveats come to mind)
He hasn't reached the goal yet, and is currently doing 100 million in ~34 seconds.

> Looking forward to discussions and/or collaborations with curious souls in my quest to generate a billion record SQLite DB quickly. If this sounds interesting to you, reach out to me on Twitter or submit a PR.
I see co-pilot more as an intelligent suggestion engine or tab complete on steroids versus something solving all of my problems or absolving one of thought. Does pair programming result in junk code?
In other news, 288,000,000,000 pounds of seafood was consumed last year.

If we give a rough estimate of 5 lbs. per animal (probably a lot less than that) that's around 60 billion animals killed last year so we can eat them.

It's estimated we can add another 40% to that as unwanted by-catch. So now we have 84 billion sea creatures killed each year on purpose.

If you're concerned about the environment you might consider not adding to this number.

https://www.yourfishguide.com/how-many-fish-do-we-eat-a-year...

https://oceana.org/sites/default/files/Bycatch_Report_FINAL....
Yeah, a Github repository can do that easily. As if high karma, twisted logic would help you cut it.

To the moderators:

Dang, please un-flag my previous comments because it is absolutely spot-on and these dead-tree fanatics are suppressing my voice for no reason other than control/hate.
The number of people who never write a vuln normally but would write a vuln if they were using machine synthesized code has got to be fewer than ten people on the planet.
Extra pedantic: no, because "physically" ends in "-ly". :-)

(Rule 3 here: https://www.grammarbook.com/punctuation/hyphens.asp)
Needs (2008) in the title. So we still only have 7 years, according to the prediction.
Let’s say you have a run of the mill nodejs express app that connects to Postgres (let’s assume it’s managed in this scenario).

How do you make use of all the 48 cores and the RAM available to you? (I’m genuinely interested so please ignore any snarky tone if any)
The things that would have to be done would be so deep-cutting into what humanity does now that I have very little hope that they will be implemented. Especially considering our (humanity's) failure to get much easier things right (like ensuring basic human rights).

I hope I am wrong.
a victim can opt out of the class action and pursue individual remedy, right?
Your point is pointless. Life doesn't expand to take advantage of new resources in environments where there is no life. First you need life.
Sorry, you are absolutely correct that a profitable idea at internet scale can absorb monthly hosting costs of thousands a month. I was using it as a placeholder for "throw money at hardware/cloud services".

Especially if costs can scale with the userbase, it's a very good problem to have.
InterPop: Comic, game, and collectible NFTs on the Tezos blockchain
People want to access to the Internet, not your LAN.
Zoombinis was set theory for kids
Wanting to defund the police? Having this opinion and at the same time wanting to ban guns is truly puzzling.
OK, so after some googling I can say that my explanation was actually correct. A single ordinary tealight candle has a heat output of 30-40W though which is way too low to keep a room warm but the radiative heat from the pot indeed does heat nearby objects (or people) much like a patio/mushroom heater does.

https://en.wikipedia.org/wiki/Tealight

(German) https://www.kreativ-bastelstube.de/teelichtofen-heizleistung...
In fairness, Starlink satellites are vulnerable to space based lasers, in ways that planes and missiles are not.

Also, unlike planes/missiles the last doesn't have to destroy the satellite. Frying the receiver or damaging the solar cells would be sufficient.
Leak uncovers global abuse of cyber-surveillance weapon
If your work is more OLAP focused, DuckDb has good tools for loading csv files. https://duckdb.org/docs/data/csv

DuckDB is like a columnar SQLite. It also has great support for Pandas DataFrames.
I mean of course not all games work! But for me personally literally every single game I wanted to play works! Everyone's experience is different. I mostly play single player games.

https://www.protondb.com/

If you change it to single player you can see 81% of the top 1000 games are compatible and 90% of the top 100 are as well.

If you don't do single player its still around 76% for top 1000. Top 10 is 50%

Also just noticed that hitman 2 (Three isn't listed for some reason) does work!
This might work for some domains but I'm trying to write less code and abstract where possible.

This writes more code and doesn't help design the application. It's a function autocompleter but it doesn't take my abstractions into account.
The class action is paid for out of damages.
Likewise, I'd also prefer not jumping on the hype and have tried to avoid K8s so far, but

Something I'd take docker is: deployment speed.

Baking images and deploying new ASG makes production deployments take around ~ 15 min.

Docker based solution could probably cut it down to 5 mins.

Also more inclined to use a simpler/hands off service like ECS Fargate than straight kubernetes.

Also seems like over half the jobs being currently posted require k8s skills, might be difficult to avoid it for much longer