skysight-inc/HackerNews huggingface dataset:
> Until you’ve hit product market fit, you shouldn’t build anything other than what is unique to your product.

How unique is your product really though? If you're a biotech company or something that also needs a website, sure, use whatever the most widely used framework is at the moment. But I feel like most of the focus of these discussions is on web-native SaaS companies whose entire business is on moving some well understood commercial activity onto the web or competing with other well-established web businesses from the huge tech companies. Stuff like e-commerce, productivity software, social networking tools, developer tools, financial tools, insurance tools, restaurant booking, hotel booking, doctor booking, etc. These companies probably feel like they need their edge to be things like development velocity and unit economics (e.g. no human customer support), and they probably feel like the only way to do that is to have a bespoke development platform.
Of course. But how will the manufacturers handle this uncertainty? Seriously, by setting such dates politicians are acting straight up maliciously. If the EVs are so great, let them take over in the natural course.
Tell HN: You.com extension injects tracking beacons across the web and locally
Well, I was experimenting with search engines in my browser and I had you.com search extension installed to try it out.

I didn't get to remove the extension and a few days ago while I was on the element inspector in devtools I noticed a strange div on the bottom of the page which contained a class of "you-firefox-addons-beacon". Needless to say I forward immediately and removed the extension.

I didn't get the chance to share it then and I happened to think about it today. Went ahead and re-installed the extension to make sure its still the case and no surprises it is.

I think this won't come as a big surprise as to my knowledge you.com is vc-backed so that is something one would most likely anticipate in such scenarios.
Thought I share that as it might be interesting to know for people using the engine/extension.
The underlying assumption is the architecture provides instructions that operate as numtype x numtype -> numtype, with int being the smallest possible numtype. To execute a + b it must be mapped onto one of these instructions. For example, char + short would get mapped onto the int x int -> int instruction. The usual arithmetic conversions formalize the algorithm for doing this.

If you ignore signedness, the rule is extremely simple and natural: numtype = max(type(a), type(b), int), where char < short < int < long < long long < float < double < long double.

Signedness throws a wrench into the works though.
> Minimum parking spaces mandated by the city go away. And nothing changes because parking spaces in tight areas are worth their weight in gold to the businesses that own them.

We have lists of businesses that are not getting built right now because they can't afford enough space to build both the store and the mandated parking. Business owners tend to overestimate how far their customers are coming from and hence their parking needs, but they'll be outcompeted by those who get it right.

> It's great for a while until those apartment dwellers want more space and to stop paying rent forever and move to where you can still find affordable single family homes -- low income areas! Ooops, you wanted to avoid gentrification, right?

Gentrification is the problem of prices going way up when a place gets made nicer. Stopping making places nicer is cutting our nose off to spite our face; rather we should make more places nicer so that the price of nice places isn't so high.
HAProxy Security Update (CVE-2023-25725)
Interesting, I probably need to learn jedi jump. I do feel like there's a class of nagivation I don't use. What if I wanted to select from your message (with the cursor at the start of it):

> again, another 2-3 key-presses

I guess atm, I would do `/again<enter>nvi(`. That's based off the fact that I don't think "again" shows up much in the text, and I can jump quickly between instances via `n`. Then once I'm there I realise that the rest in in parens, so I go for `vi(`. In retrospect I should have searched for "again," as the comma is even more specific.

It's funny: "Another benefit is precision. I don't need to pay a lot of attention to the mouse pointer's position." is close to an argument I'd make for the mouse. I think that might be because when I'm thinking, I idle with the mouse, higlighting things that look interesting to me etc. So when I want to move forwards, it's pretty close where I want to be. If I had to select something via keyboard I'd have to look for distinct markers to work out if I can do something like `vi(`, whereas the mouse lets me do fuzzy visual matching (acme would. This is only for mouse though, my touchpad/trackpoint is less precise.

My point was not that I think the mouse is better then the keyboard. My point was that I think the mouse tends towards a fuzzier exploratory mode, and the keyboard tends towards more focused execution modes. Even if you like one mode more, there's no reason not to improve the other.

Now after writing all this, I'm not sure that's correct as I can think of other exploratory keyboard UIs that work (e.g Norton Commander style file managers).

I do still think that there is no reason not to improve your mouse experience, a nd that it does have untapped potential. Acme editor has this thing where you can just right click a word, and it'd jump to the next instance of that word. No selection needed. So if you're reading some code and see an interesting variable you could right click to see where it's next used. This of course assumes you have your hand on a mouse already, which in the case of Acme you probably do as it has a heavy mouse focus.

Hover was a terrible example though. I hate having things appear during hover. I was just trying to think through what the least interaction would be, and you're quite right that if you can focus via keyboard easy it'd also be easy to get hover.

----

A weird thought came to me during this: what if the vimperator/vimium/surfingkeys link selector was ported to the mouse? You could hold down the left mouse button, and this would label all the links with numbers, and highlight number 1 (or 0 if you prefer). Then when you spun the mousewheel down it'd move to the next one. Spinning it up would go to the previous link. Finally when you released the left mouse button, it'd open the selected link.

So how it'd play out is you'd hold left, see you want link 11, spin the mousewheel that many times, and then release. I suspect you'd learn how far the numbers feel over time, so it'd get fairly precise (and you can adjust by spinning back).

No idea how practical it'd be.
Indeed. I have no credentials to speak about such hard problems, my experience is working with high QPS servers written in Lua and a bunch of small indie games. :)
Russia’s Systematic Program for Re-Education and Adoption of Ukraine's Children
Does Tesla / Musk view their employees as people with their own lives, dreams, and aspirations.. or are they merely faceless resources?

The answer to this question will explain a lot.

Sometimes a little bit of empathy goes a long ways. Even in capitalism.
> ... and giving cover to computerize and log everything.

I worry that the interests of car companies and government are well-aligned here and any regulation will be in the direction of making logging of everything mandatory for the benefit of law enforcement.
yeah, they literally set a success path up for tiktok
I don't understand why they aren't tagging data with license information and allowing users to use models that don't include certain licenses - seems like it would be the middle ground given the stance they've taken; like, "we don't think it's a problem, but if this makes you feel better you can use these other models that specifically don't train on gpl code, or whatever"

I would prefer to see full license attributions included in generated responses, though. Something that then also wouldn't be that difficult to generate a licenses file from?

Amazon's CodeWhisperer has a "reference tracker" that tells you the license of training data code if the generated response is within some similarity threshold, but that's still not good enough imo.
Definitely. Brussels was designed for cars (and Belgium is very car-centric in many ways) but it's got much better for cycling in the ~15 years I've been here, thanks to a mixture of incremental improvements and political "big pushes".
Annotated review of WHO draft agreements [1][2] to expand their powers over all countries globally. Note that the IHR amendments that will be voted upon in May 2023 only require the consent of 50% of countries to take effect, https://brownstone.org/articles/amendments-who-ihr-annotated...

> The WHO proposes that the term ‘with full respect for the dignity, human rights and fundamental freedoms of persons’ be deleted from the text, replacing them with ‘equity, coherence, inclusivity,’ ... The underlying equality of individuals is removed, and rights become subject to a status determined by others based on a set of criteria that they define. This entirely upends the prior understanding of the relationship of all individuals with authority, at least in non-totalitarian states. It is a totalitarian approach to society, within which individuals may act only on the sufferance of others who wield power outside of legal sanction; specifically a feudal relationship, or one of monarch-subject without an intervening constitution.

[1] 2023 draft of 2023 IHR amendments, https://apps.who.int/gb/wgihr/index.html

[2] 2023 draft of 2025 treaty, https://docs.reclaimthenet.org/who-zero-draft-international-...

The best references are the primary WHO source documents. A better source of analysis than Brownstone is needed. An older (May 2022) analysis was published by an EU law journal, https://www.ejiltalk.org/the-far-reaching-us-proposals-to-am...

> ..amendments to Article 12 IHR will both considerably extend the executive powers of the WHO Director-General to declare global emergency-like situations and centralise this power further by removing the need to consult and find agreement with the respective state party ... if WHO’s powers are extended in this way, is there a need to also answer the question quis custodiet ipsos custodes (who guards the guards?), and to thus set up mechanisms ensuring that WHO complies with its obligations under the IHR and its Constitution, as well as its responsibilities for human rights deriving from customary international human rights law?

HN ranking for this story, https://hnrankings.info/34795036/
I would ask to save the state locally (while the tab/window is still open) but allow clicking outside to close the dialog. finding the hidden x or cancel is sometimes hard, but it's easy to click/tap outside the window.
The infrastructure may never materialize. Not to mention that the amount of EVs may never materialize, as they are hugely dependent on raw materials and can be subjected to OPEC-like embargos. It could easy turn into a vast market of used cars and very few new ones.
Parent may have meant that the second implementation might perform better, even if it’s in the same language, because you learn from the first implementation.
Musk is hostile to any form of press at this point. Tesla really needs a new leadership team.
This version specifically removes snippets that appear in open source code.
> or do you think that stating them without answers will make readers assume the answers are both obvious and supportive of the case you're making?

Yes? There is no allegation that the BBC called anyone a penis. I don’t have proof that i can cite because how do you proove a negative?

I can prove that there are media who called a German politican corrupt.[1] I cannot prove that they haven’t raided them, all I can say is that if they did we haven’t heard about it.

> You haven't said anything to be wrong about.

And yet you understood me, didn’t you?

1: totally random article calling one german politican corrupt https://www.politico.eu/article/germany-conservative-politic...
I would love to contribute to this but its way outside my area of expertise.
Well, Covid does not discriminate...
Notice I didn't say anything about chatGPT. chatGPT is at least something that's been built. Disagree with the theory that we are overgrown text prediction all you want, but you can't deny that it is an "understanding" in the sense that knowing it lets you build and test it. Let's call it a "potential understanding". This is different from an "illusory understanding", which feel like explanations but when you go to implement it you realize it was all a word game and your lack of understanding has just been swept under different words or under equally hard to understand concepts. An illusory understanding doesn't even have the potential to be an understanding. You can't use it to build your own version of GPTchat.

All these glib answers people here are giving aren't even potential understandings. They are illusory understandings. They sound nice so long as you don't try to use it as a spec to code up your own language model. If you can't build anything out of an "understanding", even a wrong thing, then you don't truly have an understanding. You have a feeling of understanding.
I wonder if the procurement departments get to negotiate that higher for the bigger contracts, because that's low imo.
My point is that your claim that “The [strength] differences are not super significant” is clearly false (obvious to any child, really) and your climbing-specialist counterargument is insufficient to overcome that.

I don’t care about the rest of whatever you’re on about. Pseudoscientific nonsense is pseudoscientific nonsense no matter what the motivation or source, and I’m glad to see you’ve apparently conceded that your pseudoscience is nonsense and have moved on to the predictable red herring ad hominems.
>You can build "product types with recursive values" in any language that remotely descends from C or Algol.

You cut off the part where I said sum AND product types. Variant and union are post C++11 and not traditionally part of Algol style languages. Even nowadays the only time I see variant is from some haskell engineer stuck on a C++ job.

>Pattern matching is not wide spread, but --while nice to have-- it's syntactic sugar.

No pattern matching is a safety feature. Most of rust code should be using pattern matching as much as possible. In fact there's a language called Elm that achieves a claim for code that has ZERO runtime exceptions via the pattern matching feature. See: https://elm-lang.org/

Don't believe me? You know about programmings biggest mistake right? Null? Well C++ sort of got rid of it by discouraging it's use but even with optionals the issue is still there because optionals can still crash your program.

With rust, optionals never crash unless you deliberately ask it to via unwrap. If you use pattern matching exclusively to unroll optionals a crash is virtually impossible. Try it, and try to guess how pattern matching prevents optionals from crashing your program in rust, while in C++ the lack of pattern matching forces empty optionals to crash when you try to access it.

>Rust's whole shtick is safe mutability.

Yes, but at the same time it's opt in. Algol languages are by default mutable and you have to opt in for immutability via keywords like const. Rust offers extended safety via a single usage mutable borrow ans single usage mutable ownership but this is opt in. You should avoid using the keyword mut as much as possible.
A decent rule of thumb I follow: If there's a gem/plugin/package that could do something I want in my product...use it. Don't write the code yourself, unless it actually straight up can't provide the UX or capability you need for your product.
Honestly the iPad layout is probably "good enough" - though I agree that a macOS-AppKit-backed variant would be incredible.

I've got a lot of experience with AppKit and may be down to look at doing that fork once the churn on Element X is lower...
Archive Link [1]

[1] - https://archive.ph/6bptx
>> Nothing is forcing them to do that.

If you use AGPLv3-licensed code in your codebase, you are agreeing to the terms of the license.

Practically all corporate legal teams for companies that creates software will strictly prohibit the use of AGPLv3-licensed software, if not all GPL-based licenses.
We already have those, they're called the Standard Missile.
To be fair, blameless postmortem is at most dubiously part of anyone's culture, except at the smallest scale. It's not something that comes naturally to humans, and I only know of a few cases where it's stable at any large scale. The US NTSB comes to mind, but I bet they have to fight everyone else's urge to play the blame game on every investigation.
this speaks more to the danger of monopolies than anything else
What's the benefit of using copilot over a package manager? Both help you reuse code that's already been written, but using packages gives you updates, explicit dependency tracking, documentation, etc.
Nah; that's how you tell they're witches. If they sink, they're not witches. If they float, they're witches and must be burned at the stake. Flawless logic.
Right, so pick old boring frameworks. Rails, Django, Phoenix, etc.
Can you use this to get Apple bonjour / mDNS working over a remote network (connected via VPN)? Or similarly, could you use it for a cloud seedbox to cast to a chromecast on your local network (via the VPN obviously)?
The rule int<N> * int<N> —> int<2*N> breaks one of important expectations from a type, which is the property on being “closed” with respect to certain operations. Even if an arithmetical operation increases the length of the result, it has to stop somewhere, so there’s little justification for such increase in the first place, if one is to be logical about this.
They still do that where I live. Happens very rarely
How much better is the new model?
It is nice, but not totally free or open source:

"WebContainers rely on hosted proxies and server-side acceleration to enable truly instant development environments. By obtaining a WebContainer API license, your business can gain access to higher API rate limits, uptime reliability, and a range of benefits designed to help you maximize the potential of the WebContainer API in your organization.

Licensing is required for production usage of the API in a for-profit setting (feel free to prototype as much as you like without a license). If you're using the API to meet the needs of your customers, prospective customers, and/or employees you need a license to ensure continued access to the API as you scale.

"
This is true and in experience happens far quicker than 5 years for JS frameworks. Most of the frameworks I learned 5-10 years ago are already effectively dead too.

But I think OPs main point stands, your far more likely to die by not shipping things early than by having to refactor occasionally. After 5 years 50% of businesses have failed [0] and this is far far higher for startups & side projects.

[0] https://www.bls.gov/bdm/entrepreneurship/entrepreneurship.ht...
> It's funny the next article under "new" is about europe banning gas vehicles

There's nothing inherently "Internet of Shit" about EVs - that's a manufacturer decision that some consumers put up with on some models.
At one point I wrote a quad tree as part of the Map in SLAM to store probabilities of a point containing an obstacle on a 2d map, the thinking was I could use the quadtree to then navigate the robot.

The reality was for the detail I needed at the scale I needed quad trees sort of sucked at this (university is a great place to try and fail at things, I learned a bunch!)

I'd be really curious what is used now, if there's some shape estimations to collate points into blobs that are cheaper to store and navigate around. Been awhile since I read any books on robotics and navigation and SLAM though.
> There is no average podcast listener.

Yet, there are definitely outliers!
> There is absolutely no reason why a precondition of driving an electric car should be having an app

Aside from the motor/inverter/charge/battery control, I don't see why an electric car needs a computer any more than a gasoline car. In fact, the gasoline car is probably seeing a better uplift from having computerized aids around its prime mover (i.e. EFI makes a massive difference compared to purely-mechanical alternatives).
I agree that it's likely the future, but right _now_ you can buy any number of ICE cars that don't require permission from the manufacturer (in the form of account creation, app usage, and a permanent connection to the cloud) to drive/own, but I'm not aware of any full electric cars that don't.
Just wondering but what is the lifespan of an EV? How much does it cost to replace the batteries after 10 years? I ask because I fear only the rich will be able to afford cars with such a ban. My first car cost $2k and was a clunker but it was all I could afford to get to school.

Even now, in the US, Tesla's get perks like using the car pool lane. Great deal for the rich.
No, you're exposing a harmless or safe part of an antigen to stimulate memory B and T cell immune response in the future.

Rawdogging unfiltered air with true COVID or other bad virons will expose you to a potentially harmful virus--millions of people have been killed and many more disabled from it so far. You have no way of knowing if you will join their fate and are just rolling the dice.
Spirited Away to Miyazaki Land
It is not about the numbers. It is about publicly shaming something shameful. Instead of condoning it.
Beware of this (from their enterprise page):

"Licensing is required for production usage of the API in a for-profit setting (feel free to prototype as much as you like without a license). If you're using the API to meet the needs of your customers, prospective customers, and/or employees you need a license to ensure continued access to the API as you scale."
Lab leak is still not probable. There hasn't been any substantial evidence to change the likelihoods.
Good to know, but there are caveats:

"GitHub’s defense obligations do not apply if (i) the claim is based on Code that differs from a Suggestion provided by GitHub Copilot, (ii) you fail to follow reasonable software development review practices designed to prevent the intentional or inadvertent use of Code in a way that may violate the intellectual property or other rights of a third party, or (iii) you have not enabled all filtering features available in GitHub Copilot."

Do they define what constitutes "reasonable software development review practices designed to prevent the intentional or inadvertent use of Code in a way that may violate the intellectual property or other rights of a third party" ?
Then I'm sorry because this isn't the disaster you're hoping for. But take heart, people continue to use technology so another disaster will certainly come along.

> It has never been burned at anywhere near this quantity

I'm curious your source for that assertion.

https://www.csb.gov/formosa-plastics-vinyl-chloride-explosio...
We don’t know because the batteries last so long [1]. All data points to batteries lasting longer than 10 years, even accounting for degradation.

It’s a great deal for the rich because that’s what drives the market, the poor don’t have purchasing power. That’s why margins on tiny econoboxes is garbage compared to other, higher margin vehicles (and why Ford mostly makes trucks and SUVs now). Hand out incentives to those of lesser means to afford lower cost EVs when they arrive in the marketplace.

> My first car cost $2k and was a clunker but it was all I could afford to get to school.

These days are long gone and aren't coming back, regardless of EV or combustion vehicle. Average price of a used car in the US is ~$29k [2].

[1] https://www.forbes.com/sites/carltonreid/2022/08/01/electric...

[2] https://www.cnn.com/2023/01/16/business/used-car-prices/inde...
Is fracking better than well?