skysight-inc/HackerNews huggingface dataset:
I will say that while I think this article doesn’t give a good treatment of counterfactuals - the “I can offer infinite counterfactuals so counterfactuals aren’t useful” argument is a kind of intellectual nihilism I don’t really buy - I think at its core this article is really just arguing that we should pose forward facing solutions when we encounter bugs, rather than explanations. That proposition seems fine to me.
Excuse me, you still have to refill the wiper fluid. Oh, and every few years you have to replace the 12v battery (yes every EV has one) and tires.

So non-zero cost. But that's being a bit pedantic.
https://rupee4click.com/43dho
Basic Graph Algorithms in C++
Most interpreted languages are "safer" in this regard as they don't leave the memory management up to their users. The interpreter itself could still have such bugs, but that's a comparably much smaller attack surface and has far more eyes on it that any random person's code, so these are less frequent.

And it's not just fully interpreted languages - any language that manages memory for your and doesn't let you mess with it yourself (like Java, C#...) will be safer, assuming the compiler and runtime are secure.
We'd see at least one of them on the App Store, then. 30% revenue share is a lot (and I hope Congress bans the anti-steering provisions and apps can link you to their website to pay), but it doesn't kill entire categories of apps.
The Great Quantum Computing Race
Learn JavaScript Resources in 2021
"a fully managed TimescaleDB service"

Weighted averaging as a commercial service, all by itself? The SQL solution seems complicated, but this is a task easily performed on time-ordered data.

I had to code such a time-weighted average last year, for a game client. The client gets updates for moving objects when they move a small distance or when some dwell time has elapsed. I needed a smoothed velocity from those irregularly spaced samples. The math had to be worked out, but it was just two lines of C++ in the implementation.[1]

filtermult = 1.0f - 1.0f / pow(1.0f + 1.0f / fsRegionCrossingSmoothingTime, secs); // filter scale factor
mFiltered = val * filtermult + mFiltered * (1.0f - filtermult); // low pass filter

[1] https://vcs.firestormviewer.org/phoenix-firestorm/files/tip/...
It’s going to tip a lot faster than that in 2 yrs when EVs are cheaper up front.
Also, it I think meming is a bit of a stretch. Of all the desktop operating systems (macOS, Linux, Windows), macOS has had the strongest security push. E.g. integration of the secure enclave throughout the system for protecting secrets, read-only system volume, mandatory sandboxing for App Store apps, and requiring applications to request use of screen capture/camera/mic/address book, etc.

Sure, holes are found. Strong security is a long process of adding more and more boundaries (while giving the ecosystem some time to adapt to those boundaries) and fixing more and more logic/memory errors.

Regardless, macOS is probably the most secure desktop operating system out-of-the-box.
Ask HN: Is the consent management platform industry on a dead end?
Recently, I learned about this CMP industry. I didn't know behind all these cookie banners there were many companies making profit.

Still, it's not clear to me where does this profit come from.

With many browsers already forbidding third-party cookies, many people using only essential cookies, many others removing cookies with extensions such as Cookie Autodelete... where do these companies get profit from?

I'm genuinely curiuous as I was offered a position in one of these companies, but to me... it looks like it's a business which is rapidily dying.
Well, no - if you'd become a "#100 ranked in the world" quality software engineer, you'd be making bank, and if you'd be in the top 10%, you'd still be very comfortable.

If you'd be a #100 chess player, you might support yourself with chess somehow (e.g. coaching), but you have to really be at the top and win tournaments to get any meaningful money just by playing; and if you're top 10% then you're likely spending money to play chess and need a different profession to afford that.

So unlike software engineers, you have to be among the few very best in order to make it your profession, that's a big difference.
Why is "even" in the title? People can't give them money fast enough and it is somehow mysterious that they're earning a profit?
Thanks for pointing out to me that I did't get something/anything from the word you uttered.

Also thank you for pointing it out and not taking up the chance to start voluptuous chatter, now.

You must be a man of sparse words.
Safari is great for some thing but its performance in others is lacking to say the least. Open a GitHub PR with 30 files to see what I’m talking about, the browser freezes for seconds (but you can scroll a partially-painted page so, yay?)
PWAs are useless.
Since when has ZAKA not trained with, and trained search and rescue? After basic, and initials there's are courses with ZAKA. ZAKA wasn't the provider of service, just of training.
I would imagine that once you start blowing stuff up in zero G you'll get even more interesting results.

ie: https://en.wikipedia.org/wiki/Widmanst%C3%A4tten_pattern
this wouldnt happen with keepass's auto-type which sends keystrokes from the desktop app. when you execute the hotkey with the focus on the username input, it types the username first, then sends the tab key, types the password, then sends enter. it wouldn't continue to fill in some hidden fields that are off screen.

i would have thought that most browser autofill extensions would be designed to only fill in details once, but who knows
I see you are new here, would you like to receive notifications from us? You need to decide on it before even looking at out offerings.

NO

Okay, what about signing up to our newsletter?

NO

Okay, we will track you now all over the internet but if you like you can manage that.

JUST GO AWAY

Okay, btw to see the rest of the article or any of the pictures you need to create an account first.

---

Web technologist are clueless about what the Web has become. Please let browsers remain HTML and CSS viewing tools and make an app that I can review on the App Store page before committing to install it.

I hope Apple never implements website notifications on mobile.
Yes. From Google's point of view they don't exist.

https://webapicontroversy.com/ and WebHID timeline: https://twitter.com/dmitriid/status/1419436102373584905

There are countless other examples
It feels like we've gone full circle back to 1980 when the US Defense comissioned a 'safe' embedded language.

Jean Ichbiah's team won this contract with the language 'Green' in 1979. They subsequently went on to further develop this and standardize it in what was then the Ada 83 language standard.

The more I think about the more it feels that Ada just came about to solve the right problem but at the wrong time.
> do you want slow programmers, slow compilers and bloated binaries, or slow execution times?

Which one did Rust choose?
I don't think that many people really want them (well, are willing to pay for them), given that they are so rare.

BMW charged $4,000 for the Range Extender option in the i3, at that price, the manufacturer may as well just put in a bigger battery.
Of course - you cannot bury yourself. But, I'd argue that it's not the kindness translation of חסר but lovingkindness, more ברסלבish
Attacking a cell phone is different in some ways from attacking a subway system though.

The cell phone's defenses are effectively 100% automated, and the attacker can buy a perfect copy of their intended target's phone to and safely try out an indefinite number of attacks on this copy until that attack is perfected. Once the attack is ready it can be deployed with very little exposure to the attackers. If the attack doesn't work, the attackers are unlikely to be discovered and you can make another attempt.

Attacking a subway system in comparison, the planning will be done based on diagrams and theory, the attackers only get one attempt, many of the defenses will be unknown, the target environment is highly unpredictable, includes human defenders, and even if successful the attackers will likely either die or spend the rest of their lives imprisoned.
I don't understand. Where is the data coming from? When it is open, I have it open, if I click anywhere, what should be displayed? Is it for some kind of ebook and fetching the coming pages beforehand?
Then punish defects. Give programmers the freedom to define their semantic space, but make sure to punish profit-seeking entities for insecure behavior. It's not that simple of course (it's easier for FB to pay a fine than a startup, for example), but we need to enforce the cost of defects at the organization level. I mean, there's also a world where FB apologizes about how they "forgot" to remove `unsafe` from a part of Rust code.
I think the Covid information policies are a good example why information control by government should be rejected. Not because of the lab leak or not, just because of the aggressive nature of their interventions. Funny that something that is generally true made clear of the negatives of governmental influence on information.

Meanwhile EU and US executive wants to get rid of encryption. I think it is prudent to put up a strong wall where their ideas can disintegrate explicitly.
As someone who spends most of his working day behind a desk and steering on an artificial screen I find activities at home like gaming, watching tv shows eg. not fulfilling (anymore). At the next day I had always the feeling that work is the only important thing I was doing and when there were some difficulties at work it impacted obviously the whole life.

After trying out different things the last years I’ve sticked with walking/hiking for 2+ hours almost every evening. Important: it has to be in the nature and the most relaxing experience is when I don’t meet any person at all.

During this time I can reflect best on my life. Surely it’s not a meditation but for me a nice technique to find more peace in life.
It would be great if IDF did the same when it comes to Gaza:

https://www.hrw.org/news/2021/07/27/gaza-apparent-war-crimes...
I have been using SumatraPDF on Windows for a long time. After opening a PDF file with it for the first time, I never went back to Adobe Reader. SumatraPDF is much faster, cleaner and less memory hungry.
And worst decisions I made in my first year as a CMO
People complaining about Safari also seem not to know how much it brought when first iPhone was released. Canvas, CSS animations, etc.
Yes, this is easily splitting Talmudic hairs. In English lovingkindness is really loving-kindness, a form of kindness that is done from the place of love. But lovingkindness is the notion that love and kindness have equal weight.
Do you have an example of such an organization that seeks to destabilize the government?
> tere is no reason to think a closed ecosystem is more secure than an open one

Fragmentation of Android is a thing.
But all those examples are already working without PWAs. In the past we called those programs or applications. Why using the browser as runtime?
they damn well better have a long-term plan to replace their bug-ridden kernel and other important low-level systems

I think they are slowly going in that direction, e.g. by moving drivers to user space with DriverKit (which AFAIK unfortunately, still uses C++).
What helped me:

At the end of the work day i write all the stiff currently in my mind down. Either on a notepad that is always laying on my desk or a fullscreen text editor window where i write it in the center. (It is basically like dumping the ram to disc)

The I rode my bike home for about 20-25 minutes. This really cleared my mind.

(Now since corona i am in home office and i just step out the home office. I miss the bike rides. But the suggestion of someone else in the thread about taking a shower before lunch sounds great)
Ask HN: None of my posts are visible to public
Hey everyone, I've recently joined HN and tried to submit few articles / products I found interesting. Today I realized that no one can see my posts unless they are logged into my account.

Examples:
https://news.ycombinator.com/item?id=27969450
https://news.ycombinator.com/item?id=27957919

I wasn't able to find any useful info on the site or via Google, hence decided to submit this Ask HN post.
On windows especially i/o is usually async, the sync apis serialize all the i/o on the file object(even across threads).

It has weird consequences, e.g. you can't use a named pipe in 2 threads doing read, write separately(without doing protcol level coordination say in a proxy). You need to use asynchornous i/o to get it right.
Friendship isn't about meeting someone. Friendship is about having trust and a connection. Who is the friendier friend: Someone whom you like and meet every day, but who will ghost you once you move a city over or someone whom you like and with whom you feel at home even after two years of not seeing each other?

I would take the latter over the former every day. My best friends are in that category, wven some who live in the same town
I don't think most people would argue that his review aged well, in spite of getting the direction of gravity right.
> IE was cutting edge until Firefox.

I was there. I call bullshit. Competitors like Opera and IE for Mac (a completely different codebase and product) could do alpha-transparent images in the background, CSS sibling selectors, display:table-* and dozens more. For a few fortunate Web developers who were strong willed enough to heed the call from Alistapart to standards compliant code, we were able to circumvent the lack of "cutting edge" features – typically already published years ago – by employing HTC <http://enwp.org/HTML_Components> and hiding this from other browsers with conditional comments. Nowadays this would be called a polyfill.

The reality is that IE suffered immense neglect.
I would have imagined it is used in the same way it is used for crystals. Mono-crystals are considered mathematically perfect, while poly-crystals (with their grain-boundaries separating different cyrstal orientations) are less perfect. So, for quasi-crystal, the patterning which follows a set of mathematical rules (although lacking translational invariance), can be interrupted, thus being "mathematically less perfect".

Now as to why that implied reduced conductivity... thinking in terms of Bloch waves, they require periodicity. In absence of Bloch waves that describe the electron density probability, the electrons are considered to be localized (e.g. as in the Landau level description of electrons implying localization of electrons in a perfect crystal). So for perfect quasi-crystals, this periodicity is fully absent, thus they are localized too. The latter hand-wavy argument is just speculation of mine...
Physical activity, where you have to focus on your motorics does it for me. I play some pingpong (quest 2 & eleven is great for this!!) And automatically stop thinking about anything else. Its a great alternative, as its entertaining but doesnt require any thinking. Much better than anything passive imo
Lego Lost at Sea
How much more would people be willing to spend on avoiding a 30 minute charging break? I mean you have to pay for quite a bit of extra complexity in the car. That can't be cheap.

I feel like the population that both drives very long distances regularly and is willing to spend a large chunk of money of make the trip a little faster is pretty small. Plus it would be pretty hard to find gas stations if most people drove EVs.
thx, why don't you use the same broker for desktop and mobile? E-trade has very limited options analytics on its mobile app so a bit surprised..
This is the real game. Toyota see EVs as the demise of their business model. It may well come to pass since they're so late to the game and too big to shift.
Where is the input of the pwd fields saved? Is it hashed then discarded before it goes to database? Are the input events logged? Clipboard?

Never seen an explanation of any of the pwd managers and am curious.
Who’s behind Australia’s anti-lockdown protests?
The line is far less blurry than you suggest. The stats from the article say 70% of vulnerabilities come from [insert list of a few memory-wrangling mistakes here]. I'd consider any language that enables the top 70% of vulnerabilities to happen to be unsafe.

Maybe a safety ranking is in order? How many CVEs from [year], weighed by severity, are impossible to happen in [language]. Obviously this idea has serious problems, but you see my point: C would get a straight up zero, as it should!
(well, not completely zero, as many vulns come from dependencies and C's complete lack of a package and dependency system is actually an advantage here)
Or maybe it's not the brain is to small, but that the brain is still growing and therefore subject to enough noise to make actions now impossible for the sake of the future.
At least it has dev tools. IE6 didn’t. So every time JS failed I had to alert myself into the heart of the problem…
No, I made a chat room to communicate with users.

The product was a diet recipe app. The users decided to create WhatsApp groups to support each other in sticking to a diet. I had no trouble marketing the app though. I just posted a link on Facebook and everyone shared it. We got 1,200 downloads in the first 24 hours.
Safari is not holding back, Safari is just not implementing Google’s PWA (because it doesn’t really make sense on Apple devices where it would be far inferior to native). You can make a beautiful site in Safari and it will work everywhere (I do professionally). Chrome is the new IE (2001 era, when it was cutting edge and pushing proprietary technology) except ActiveX is PWA.
I filled in the details of my local beach here in the North East of the UK (https://beachnearby.com/beach/roker-beach-sunderland-england), and I had to laugh at the "Umbrellas for Rent" question. We do need them, but not for keeping the sun off.

Also, should answering "No" to questions about "Mosquitoes" and "Sharks" really considered thumbs down? Are beaches that have mosquitoes and sharks better?
Personally I think Apple holding the line on browser push might be the single greatest thing Apple has done for the web in the past decade.

Meanwhile Google is moving the goalposts of "modern" web development so fast that it's nearly impossible for anyone to keep up. I can't believe the hacker community is so enthusiastic about this—you couldn't get a more canonical example of embrace, extend, extinguish as applied to an open protocol.

It wasn't long ago that we had four or five really strong browser implementations. Microsoft really did try with Edge and then gave up. Now we have just three: Chrome, Safari, and Firefox. And Mozilla isn't looking particularly healthy right now...
A recent playfield for quasi-crystals have bee realized by making 30 degree twisted bilayer graphene. This playfield has been extended as well using stackings of any 2 different moire systems into one, with a 30 degree misalignmnent between the respective moire angles.
Compcert is a verified compiler. It guarantees that the generated code does what the source code requires. It doesn't turn unsafe C programs into safe ones.

"Fail-Safe C" is a research project that has been dead for ten years. Note:

> Some benchmark results show that the execution time are around 3 to 5 times of the original, natively-compiled programs, in avarage

That overhead is actually a lot higher than similar projects I also consider failures, such as CCured.

To be clear, when we talk about "an alternative implementation of C", it needs to give similar performance and other properties (e.g. function and data interop) to other C compilers. You can't impose a 3-5x slowdown and say "look, C is safe".
In that case, yes, glob syntax would work well.
Software Development Life Cycle (SDLC) Models You Should Know
Regarding meditation, there is amazing app called Headspace that can get you calm relatively fast. I also use this one trick that immediately releases the tension: Sit down somewhere quiet, inhale deeply and on your exhale let your jaw, shoulder, back muscles fall down. We carry a lot of pressure in these and subconsciously forget to relax them.
Hydrogen cells do work, it is just not economically feasible yet. But it may not have the scaling problems like EV will have when widely spread.

It is false that we have the infrastructure, there are already occasions where people were asked not to charge their vehicles in peak times. And this is for a tiny percentage of people actually owning EV.

Their lobbying should still be condemned.
Seems part and parcel of the deal - Toyota supports GOP, and GOP lobbies to remove EVs. Sounds like a win/win for both of them.
If you hide it in a random book, it will be unlikely found by anyone. Burglars don't steal books.
Even if we could clearly differentiate between "safe" and "unsafe" languages, what use cases and devices go on the list?

Would phones really be that high up given that in environments with high security standards usually people are not allowed to carry them? What about home appliances? Could a state actor hack a bunch of stoves and burn the houses down?

I can easily see some huge bureaucracy being put in place without much benefits ("Federal Programing Language Commission"?).

Most high security environments have a physical component, why not learn from there? Phones could just have a physical switch to cut off microphones and antennae for example, much easier to do than trying to police millions of lines of codes to be secure.
Liverpool Lose Interest in Signing Federico Chiesa, Giving Chelsea AA £68m Boost
There is, but it isn’t what I would call intuitive. Traditional tree-based indexing algorithms embed a diverse set of assumptions about the nature of the hardware that aren’t actually true in modern systems. SSDs are also quasi-sequential devices in important ways that need to be respected for performance reasons. The design problem is that storage density and bandwidth has increased massively and traditional indexing algorithms are poorly suited for that environment.

The relative memory wastefulness of many indexing algorithms also means that you can’t load the indexes into memory on machines with high storage density, they literally won’t fit. This leads to a page fault cascade in practice that causes a very rapid degradation of performance beyond a relatively ordinary scale.

Modern indexing algorithms (not the ones in the article) give up a small amount of selectivity and balanced trees in exchange for reducing the memory footprint of indexes by multiple orders of magnitude and greatly increasing write scalability. Given the storage bandwidth available in modern systems, that is a big win in terms of throughput. Balanced trees are an anachronism generally in current design; it doesn’t matter how unbalanced an index tree is if it fits in CPU cache while searching countless terabytes of data.

20 years ago, I was using all of the indexing structures in the article for high-performance systems. They started going out of style about 10 years ago and I honestly can’t remember the last time I worked on a new system that implemented them. That transition happened slowly and then all at once.
The mean is going to be skewed to the right by a small number of expensive cars. The median is the correct measure.
There are at least two things that could be contributing to this perception:

1. Python is (usually) an interpreted language, and it's probably true to say that interpreted languages tend to have a lower attack surface (at the cost of lowered performance).

2. While Python is very popular in certain domains (numerical computing, ML etc), there are few low-level systems that are written in Python.
Skoda (although owned by VW) are eastern European and they make extremely reliable cars owing to using all the VW technology a few years after its deployed and fixed. About everywhere I go Skoda seems to be the brand of choice for taxi drivers - usually a good sign.
Starbucks are closing – and no one cares