skysight-inc/HackerNews huggingface dataset:
The whole idea is that there is a car and non-negotiable advertised price, you pay the price + taxes + registration + processing fee, which are all known in advance and get the car. That’s it. If you are talented negotiator and have time, you’ll get better price elsewhere, but I value my time and well-being more.

Obviously there could be bad dealership which would try to screw you, read some reviews and don’t go to such place.
Why 2000?

Mispronounced in Latin: "emm an' emm years"

https://australian.museum/learn/science/human-evolution/homo...
Maybe the system was different back then, but now Avoid will only avoid the player as a teammate, they can still be on the enemy team. So if someone is too good, there's no incentive to avoid them.
The code from this study is here: https://github.com/greensoftwarelab/Energy-Languages

From looking at the code snippets, a big issue with this study becomes clear - it doesn't reflect how languages like Python are used in practice.

In practice, the "hot loops" of Python are in c/c++/fortran/cython/numba/... i.e. Python code usually makes use of a vast ecosystem of optimized science/maths/data science libraries. Whereas the study code is mainly using pure Python.

It's an issue with the methodology that the programs are written specifically for this study; creating an artificial situation.
No but it created a lot of sales for 68k customers who needed something faster than a 68030 sun3 and a lot of FUD in a Unix industry that didnt know whether MIPS, Itanium, PowerPC or half a dozen other architectures would be good enough to fend off a rapidly improving Windows onslaught.

In the end Intel played both sides of the aisle and won. Fun time to be in the industry though.
[1,000 lumen flashlight] ...they are incredibly effective at temporarily blinding a would-be attacker, giving you a chance to escape.

Is this dude for real?
Well, Linus himself did think that his behavior was a big enough issue that he took serious steps to do something about it, and is now a completely different person in mailing lists.

But note that your parent comment said "almost always", not "always". The Linux project isn't exactly typical.
I thought you shouldn't leave your passport in the hotel room. Shouldn't we be carrying our passports at all times while traveling abroad, as it is the only valid identification on us? I never worried about where to leave the passport because it's always with me in a money belt inside my pants.
PHP looks horrific for energy use although it would have been 5.x in 2017. Think about all those PHP websites out there spending all day serving requests to bots and brute forcers. That's a lot of energy.
So you agree that they should be missing school if it starts early?

For the record, I most definitely think so. Just checking if you also agree since it immediately follows from what you said.
ok, let's be real-

"Hi, what's the issue?" -Me

"I believe the 2020 election was stolen, I read it on X internet source plus foxnews has been reporting on it, and everyone I know says it" - Person

"Well how do you know they aren't lying?" - Me

"How do you know they aren't, I also trust my friends and family, read this random news article from suspicious site" - Person

"Do you think we should punish people who spread false information" -Me

"No, freedom of speech, also I still believe the 2020 election was stolen. If Democrats are just going to steal elections that means my vote doesn't count and I'm not really in a democracy, this justifies civil war" - Person
SFU, MCU, or P2P: What’s the Difference Between These WebRTC Architectures?
A Selective Forwarding Unit (SFU) is a media server that receives media from each party in a conference call, decides which streams should be forwarded to other parties, and then forwards them.
This fails on:

const result = merge({ a: 1 }, { a: "fdsfsd" })

The correct type is quite complex and depends on whether or not `exactOptionalPropertyTypes` is enabled.

EDIT: I think this is correct for when `exactOptionalPropertyTypes` is off.

type OptionalKeys<T extends { [key in symbol | string | number]?: unknown }> = { [K in keyof T]: {} extends Pick<T, K> ? K : never }[keyof T]

function merge<
A extends { [K in symbol | string | number]?: unknown },
B extends { [K in symbol | string | number]?: unknown },
>(a: A, b: B): {
[K in Exclude<keyof B, keyof A>]: B[K]
} & {
[K in Exclude<keyof A, keyof B>]: A[K]
} & {
[K in keyof A & keyof B]: K extends OptionalKeys<B> ? A[K] | Exclude<B[K], undefined> : B[K];
}

That's for when `exactOptionPropertyTypes` is enabled. With it disabled, then you'd replace `Exclude<B[K], undefined>` with `B[K]`.

As to whether this is a good idea. Ah... it's not :P
Show HN: A Book-Guessing Game
I'm also seeing this trend as well.. "Software needs to be made more energy efficient." Usually this comment is coming from disgruntled data center designers who feel like they are unfairly being forced to eek out more efficiency when the onus should be the IT manufacturers and SW developers. This attitude is somewhat justified as it is possible to run servers at much warmer temps, but the DC industry (namely their customers) still continue to insist on SLAs that have unreasonably low air temperature set points.

IMO, the first wave of optimizing software for energy consumption has already happened via virtualization. Ideally, I can run the same workload with less metal/watts.

I feel like the next round of optimization will be more problematic. You could re-write software to take advantage of hardware acceleration features that are baked into the silicon to ideally speed things up/reduce power consumption, however this comes with its own issues. You need to be very familiar with your hardware. Integrating much more tightly means your married to your metal... kinda like CUDA lock-in in the GPU ecosystem.
Hey, slotmap author here.

Once I get around to slotmap 2.0 (as noted by my inactivity, I haven't had much of the good free time + energy combination last year), the default behavior will be to leak the memory of a slot after 2^31 alloc/free pairs in that slot rather than wrapping around. You can still get the old wrapping behavior, but the default will be to never, ever allow spurious references, at the cost of leaking a couple bytes of memory once in a blue moon if you have heavy, heavy churn. That means, amortized, each insertion will leak 3.726 nanobytes if you're storing u32s, which is a fun unit. Note that if you destruct the slotmap the memory is reclaimed of course, I just mean that slotmap itself will not use that piece of memory again.

> The trade off is that there's more overhead than I think you're imagining.

I don't think the overhead is as large as this implies. For SlotMap the memory overhead is ~4bytes plus alignment per element, and insertion/deletion is only a handful instructions and one branch extra compared to a vector push:

https://docs.rs/slotmap/1.0.6/src/slotmap/basic.rs.html#349

An index adds one extra branch compared to a normal index:

https://docs.rs/slotmap/1.0.6/src/slotmap/basic.rs.html#538
> All the rest had basically the same architecture

Z80 (Tandy, Sinclair, Amstrad, Elan, Memotech, etc.)
6502 (Acorn, Commodore, Atari, Oric, etc.)
6809 (Tandy, Dragon, etc.)

Some with a "GPU" that generated screen output, some without.

Some with sound generators, some without.

Some with disk interfaces as standard, some without.

Some with standard ports (Centronics parallel, RS-232 serial, IEEE, etc.) some without.

The same architecture?!
Germany is a weird one. On one side of things, they really like their privacy. People will routinely upload pictures to instagram where they find their faces and faces of others for pictures they posed for. I don't get it, if you posed for a picture to go on Instagram why do you need your face covered?

On other side of things the goverment does more data collection and data requests than nearly every other goverment. The goverment is super willing to record everything you do. While at the same time making it illegal for you to record someone without their knowledge.
What else do you do with someone who is relentlessly rude?
Our "making up for power differentials", their "abandoning civil behavior"... Not sure how I'd define the difference?

There's an approach I've seen some people take where they ask "how are we supposed to win without playing underhanded?" Well, maybe you aren't.

That's why the right to fork is sacred. Nobody can ever stop you from doing your own thing. It provides an escape hatch; no project disagreement is ever truly urgent, because the worst thing that can happen is that other people don't go along with what you want.
Taped out?

(Meaning the circuit design was stable.)

"Tapped out" means "surrendered, gave in, indicated that the fight was finished."
The Internet is a very tiny place at times.
In Austria there is "geizhals.at" [1], which is a price comparison website for electronics, and they have the best parametric search engine I have ever seen. It's 1000x better than Amazon search.

However, there's no way Geizhals will ever expand into general search. The reason why they are so much better than the competition is that they are focussing on a small, profitable niche and presumably use manual data entry to ensure they have the best data.

[1]: there's a UK version too "skinflint.co.uk"
We could always strip the location information (or any other identifying data like camera/phone model). But I can't see how having the date information attached to the image could be a safety risk. Especially when that information is already available within the app. The issue is that the app's UI is cumbersome to provide both pieces of information at the same time for a set of images.
Linux is doing well. We don't know how what would have happened if Linus hadn't frozen out several kernel contributors before working on himself.

I've seen the effect of a brilliant jerk first hand. People leave. I'm sure it's often a net negative.

Btw, calling this discussion a "lie" comes across as overly aggressive.
Absolutely nothing, Amazon search is horrendous. Search by price is completely broken (and has been for years). Filter by exact phrase is non-existent. No way to search products by size, and on and on.
A simple trick with plain JavaScript is to give all arguments default values. That gives a pretty good insight for anybody reading the code as to what "type" of arguments the function expects.

If you test-call such a function without arguments you will then know what kinds of values you can expect it to return.

The argument default values can not be inner functions but they can be any function that is in scope. Or if you are using classes it could a reference to any method of 'this'.

Then add some asserts inside the function to express how the result relates to the arguments. No complicated higher-order type-definitions needed to basically make it clear what you can expect from a function. Add a comment to make it even clearer.
Worth nothing that Morgan Stanley essentially acquired Smith Barney a few years before this issue, so likely procedures were not synced up or ignored due to the integration work going on.
And illegal (in EU) anyways, as you cannot deny the service when people refuse to accept the tracking cookies..
Originally, no. But discussions evolved
No one said there wasn't fraud in the 2020 election, there wasn't widespread fraud. This is a manipulation tactic, the claim is there was widespread fraud to flip the election when pestered for proof you produce evidence of isolated small cases of fraud. This doesn't prove anything about widespread election fraud.

What irregularities and how does that prove widespread fraud?

Show me a specific video and time that shows fraud.
This foolish article might as well be titled "Infectious diseases continue to kill many people as they always have" These sorts of things are a fact of life in our world, and unless there are very specific, concrete reasons for taking special measures during specific time frames (as could be perhaps justified for COVID during a certain time), nothing except for "moving on" can be asked of society. The human world literally has no other choice, and to insist on draconian disease control measures just because hundreds a day die of X or Y infectious agent is absurd when you simply understand that many, many people have always died daily from preventable infectious vectors.

At this point, COVID is so little different from certain other previously existent viruses that no special measures are justified anymore. Furthermore, those that were applied already with many still unexplored social and health consequences not only worked only ambiguously at best, they also should have been carefully examined before being pushed even further for any reason.

I'm not sure of the quoted doctor's agenda (aside from maybe some self-serving free media publicity by playing into that same media's need for fear-clicks) but he's proposing an absurdity through emotional appeals that he himself should know to be untenable for a functional world.
Another normal day on normal island.
Oh wow, this is a mixed bag.

First off, NVENC is gone. Instead of 4x 1080p @ 30 (HEVC) that the Jetson Nano could do with GPU acceleration, this one can barely manage 2x 1080p @ 30. Apparently, too many people (myself included) used the Jetson Nano as a cheap camera recorder.

Next, price went from $99 for a Jetson Nano to $299 for Jetson Orin Nano.

And lastly, they now advertise 40 TOPS for Jetson Orin Nano but that's measured at 50% sparsity and for INT8... So it is in no way comparable to the 0.5 TFLOPS that a Jetson Nano has, which was measured at dense FP16. And the fact that I can't find any FP16 number for any Jetson Orin device is not a good look.

In summary, this looks to me more like a TPU than a GPU, because they moved from FP16 to INT8 precision. That makes this much more similar to the mini PCIe Coral priced at $25 delivering 4 TOPS dense. Compared to that, Jetson Orin Nano is 5x faster and 12x more expensive.

EDIT: In case you're wondering why I care about INT8 vs. FP16: The Jetson Nano can autonomously collect data and then calculate gradients and fine-tune the AI model. If the Jetson Orin Nano lacks FP16, it won't be able to do gradients and learning. So going from FP16 to INT8 is a downgrade from having AI training capabilities to pure execution of pre-trained AI models.
Extremely sad to see this blunt rethoric here. The amount of cruelty that Russia is causing in Ukraine (not the Ukraine) is enormous. If we don't fight back it will cause decades of suffering and pain.

Spinning this to a problem caused by the West is extremely naive.
"good explanation" is subjective and regardless this isn't proof. What you are showing is something YOU think is suspicious and offering it as evidence.
No they can't. Have you ever tried to do "science" aka a PhD?
Ask HN: How to stop potential Google Wallet phishing campaign?
Yesterday I got a spam mail in German claiming a new sign-in to my Google Wallet Account from a OnePlus 5 device. It contains a link to https://googlewallet-support.com/pay/0000000z00000 (real id redacted), which I guess is some personalized URL and therefore I didn't open it. Opening the URL with an invalid id just redirects to google.nl. I tried to report the domain with the registrar (NameSilo) but got an answer that they couldn't verify that it's used for phishing. I reported the domain with Google Safe Browsing but so far it's not being recognized as malicious by Chromium or Firefox. What else can I do?
Hey, slotmap author here.

Last year has been a bit rough and I didn't have a whole lot of free time and energy to work on projects at the same time.

That said, I don't believe any of the open issues on slotmap are of immediate need of attention, they are mostly minor feature requests/incremental improvements.

I do have a slotmap 2.0 in the planning that will include most of these improvements and allow further customization and control of the number of bits used for index/generation as well as what to do when the generation would wrap around (either leak that specific slot or allow a spurious reference with a (very) old key).
The problem is that in a lot of hotels the power of the whole room shuts down the moment you remove the key card from its slot. I guess you would need to ask for a second key card.
Should, but even the websites themselves don't seem to know this. And it's not about cookies either, it's about anything allowing tracking on and between websites.
I was robbed at gunpoint at a hotel once and in the aftermath have my own tactical "lessons learned" on the topic of hotel safety tips... which I am happy to share with you fellow HN travelers:

* Don't check into (cheap) hotels at 2am, criminals prowl at night looking for easy targets.

* If you do, be on extra alert for idling or lurking cars with headlights on at hotels in early morning hours, it is indeed a greater threat indicator than in daylight hours

* Minimize your movement outside your room when it's dark. It's not necessarily a boost in your security profile to go back out to your car to bring in your forgotten laptop from the trunk back into your room

* If someone does have you at gunpoint and wants your money, do what your mother said and just give it to them, you can always make more money later. No regrets.

* When a criminal takes your wallet, appeal to a shared fear of cops by asking for your driver's license back, you may still lose your cash but get your ID and credit cards back if they don't have a clear plan/motive to fence them... huge hassle savings (hat tip to the divine inspiration that brought this to my lips in that moment, it worked)

* If you do lose all your credit/debit cards (+cell phone), one benefit of reporting your situation to the cops immediately is that when they come and take your statement and open a case (however unlikely it will be solved), they may give you a card documenting and showing your case #. That card can come in as handy evidence backing up your "sob story" in conversations the next day with strangers you meet if you now find yourself in a strange city with no resources and no friends looking to get a free meal or other assistance (while promising to pay the stranger back of course). Conversely, a stranger telling you a sob story of them being robbed can be asked to produce such evidence.
Overfetching is a massive problem when your entity has multiple N-ary references to other entities, and those entities have multiple N-ary references to other entities, and those entities have multiple N-ary references to other entities.

Suddenly, your frontend or API exhibits high-degree polynomial time complexity.
A smoking gun is indisputable evidence, show me indisputable evidence of widespread fraud?
I moved away to pursue work and glean a new perspective by meeting people from different cultures and backgrounds than myself.

My mother isn’t an easy person to get along with and she’s made no effort to improve. Lately she’s become too obsessed with the FoxNews/GOP stuff. Although we haven’t spoken to her, she still sends my wife unsolicited texts and emails containing fairly bigoted, hateful, and just plain dishonest things.

My family and I are much better off without her involved.
And its not a revenue generator if size is smaller - most customers wouldn't know how to determine the app size and wouldn't know what it means even if they saw its size.
Finishing that line of thought gives: "I didn't ask to be protected, so this makes sense to me". Applying the same logic evenly gives me: "I'm very glad someone is keeping these companies in check, so this doesn't make sense to me", which gets us nowhere.

I think we can agree that none of us likes to be taken advantage of, and this law is trying to stop that.

EDIT: P.S. The law actually isn't badly written, and the malicious compliance is _breaking_ it. The law accounts for these kinds of behaviours, it's just that nobody has tested it yet. Though there are people trying to bring the widespread law breaking to the attention of the EU
A trade deal between the US-UK which the current UK goverment has been banking on has already been shelved as not happening in the short to medium term.

This is unsurprising to anyone outside of the UK goverment.
Yes, you can, but during normal times at most dealerships (current market being atypical) it means that you left few hundred dollars at the table.
Yeah RT is a killer in CP2077, CDPR did a bang up job with the raster graphics. With everything jacked I mostly noticed the RT in the puddles/water reflections vs. the screen space reflections but not enough to enable it. I'm sure it does other stuff lighting wise but I didn't notice it personally.
It's not that it's wrong (I wouldn't know, I haven't seen any evidence of rudeness, and the description of rudeness in the email seems really weak), it's that it assumes an unwarranted and overreaching position of authority.
Tactical flashlight. They're strong enough to give you second degree burns if you hold it against your flesh.

They typically have low, high, and strobe modes for disorienting targets.
You think both sides are equally at fault? how is that possible considering the number of people and actions on both political sides?
That is a really good point about Python being a connector language and internal API implementations done in C/C++/Fortran/etc... It kind of makes me question the entire premise of this paper.
Despite many unsourced updates to the Wikipedia article for the city, I've come to conclusion that it was once part of the Mongol empire. Without verifiable sources it seems hard to state more than that. :(

Let's keep this discussion informative and cordial please.
That's a great idea. Sounds like they cared about the product long term.
I was under the impressions that the "tax the rich" mentality actually aims to close these loopholes for the super-rich. The idea is (I think) that increasing taxes on the literal top 1% or 0.1% just a little is much more effective than increasing them across the board.
I don't think is a bad idea at all. Just keep the timestamps if you want, and strip all the rest. But I feel that having the date attached to the image is a good idea. Is not technically complex nor bandwidth demanding and provides a very useful context to the picture.
> Making use of low voltages for safety

Safe from electrocution maybe, but not from burns.
"Duplication is better than the wrong abstraction"

This is where a lot of developers go overboard - not just in type systems, but in general. They are so afraid of duplication, they over-generalize and end up in a quagmire of unreadable overly complicated code.

Some duplication is easy. It's just code volume, and volume shouldn't be as scary as complexity.
>If we don't fight back

Who is the "we" here?

Edit: To make an attempt at preventing flamebait, I'm asking who the "we" is that is being asked to sign up to fight back directly against Russia, and whether or not there is a proper democratic feedback mechanism in place to support such a fight. I've seen war, and wish to see this one deescalate.
That's exactly how Canada is like. Monopolies dominate the industries and middle class are dying