skysight-inc/HackerNews huggingface dataset:
Is that true? I have never seen this done for any image compression comparisons that I have seen (i.e. only data that is specific to the image that is being compressed is included, not standard tables that are always used by the algorithm like the quantisation tables used in JPG compression)
>bodyshops used to do 15+ years ago to the developers

'developers' would suggest not.
I believe this is due to how IDEs have introduced useful features to elevate things like specific comment structures like TODO into something "official" and recognized and reported on.

So things like a quick "let's improve this part later, but this is fine for now" become items that are highlighted as not "DONE" and then are seen as eyesores or unprioritized tickets, which leaves a bad feeling for devs.

While I think these features of automatically tracking TODOs can have their uses, like most things if they become metrics they start to lose their value. Sometimes it's better to just have a keyword you can easily grep for when you do find some time, having these results show up as cases against your abilities to finish the work is unhelpful, but that's what the manager and maybe coworkers see, unfortunately.
> getting an app onto the App Store requires non-trivial fees

That's a cop-out. I guarantee they already get at least $99/year via donations by macOS users. If they wanted to charge directly, $0.99 would easily cover those fees, assuming 130 people buy it per year.

The reality is that they want to get some money back, and that's ok. Using the Apple fees as an excuse isn't necessary.
> makes less rewarding for small company to grow

I think there's a very big space for a small company/startup to grow before it'd attain the same level of scrutiny by Govs as Apple
YouTube’s ‘dislike’ and ‘not interested’ buttons barely work, study finds
This is a tricky subject.

Rust being a low-level library, adding something means inherently choosing a preferred approach to a problem rather than another, which may be disagreeble.

The consequence is that there would be still the sub-sub-dependencies problem, because the author of a crate may decide that the stdlib implementation is not appropriate for the use-case (Rust is low-level; low-level development is typically "pickier" than web development).

I personally think that it's good not to have higher level APIs in the stdlib. My only exception to this is the exclusion of fast hashing, because this choice had side-effects beyond simple need for an API.
NetBSD Blog: EuroBSDCon 2022
Mmm, that makes sense. I think it's easy for people (myself) who've only played at a very amateur (casual IRL games and sub 1200 online) level to make assumptions about how chess must be for high ranked players. Realistically if they're able to decide to resign after only a handful of moves and no captures, we're playing a pretty different game conceptually, even if the rules and setup are identical.

It's nice to think of high ranked players playing chess the way my friends and I do: distracted, stoned, and just sort of improvising, but I'm realizing now that for good players it's waaay more about the prep and theory than just playing by "feel".
It might be more intuitive for some, although that's a very subjective term. It's too much like react to really displace it, imo.
If you have ever worked on project subject to regulatory deadlines or on a project that involves manufacturing you'll know that deadlines are a real thing.
I strongly recommend the American Computer & Robotics Museum [1] in Bozeman, MT. It's a small museum with a huge legacy.

[1] - https://acrmuseum.org
Or heard the term "monthly / quarterly / year end closure in places they worked at. Or faced contractual penalties for late deliveries. Or faced some deadlines caused by investors / burn rate, or any number of reasons. Or, the other way round, had to wait for someone to finish things they needed or wanted, e.g. a plumber showing up at their place to repair a leak. People refusing to commit and see those commitments through are such a pain to work with.
Aerodynamics of Gravel Bikes
Completely see where you are coming from now - absolutely agree.

On your second point - where I am coming from is that there is nothing stopping countries from creating laws which introduce these powers and outlaw methods to avoid the new legislation. No it doesn't work with the current architecture. But we absolutely can end up in a situation where there is a U.S Ethereum chain where all nodes are legally required to follow updates/forks to the chain as they occur, caused by various court orders to reverse transactions etc. At this point the consensus can go whichever the government likes because those operating the nodes would want to be participating in the current legal chain.
> At some frequencies (terahertz, infra-red, visible, xray) you'll need pretty much a solid box to attenuate those.

The width of the walls scales relative to the wavelength of the frequency you're trying to stop. So it doesn't take much to block all useful signals.

You should realize that aluminum foil blocks visible light signals.
You seem to have an answer. Would you mind sharing it?
I would agree fintech companies, or any company managing a lot of PII, must take supply chain security much more seriously than say a fashion blog or a video game. The level of negligence is anchored to the potential for harm, but it is IMO a rare case where a successful company manages without a lot of PII or payment details. Even Deezer, who /only/ sells booze, was sued for a data breach and had to give out thousands of $10 checks in a class action. Their negligence hurt them and their users.

For context, most of my clients are high risk with large PII footprints or various forms of fintech. Even in fintech and banking, dependency code review is unheard of, and supply chain attacks are happening in the wild targeting those orgs.

I kind of do intend to come off alarmist about this, because it is very alarming and is likely going to get a lot more people harmed than it already has.
I switch between several languages, depending on my project role, and whatever I happen to do as hobby coding.

It comes with time, you get used to switch context, and to ignore the speed bump that occurs when switching.

Additionally getting some quick references for the languages, or personal notes, helps a lot.

Then you only need to search for concepts like "open a file" get the snippet and hop into the next problem.

Naturally the "Jake of all trades, master of none" does apply to some extent, but what matters is delivery, pretty code that isn't delivered doesn't help business.
Show HN: Numbr – notepad plus calculator (Chrome extension)
It's interesting that this is closer to how human memory operates—we're quite good in unconsciously fabricating false yet strong memories.
> Most of them are using LibreOffice by now

s/LibreOffice/Google Docs Editors/
Ok thanks. I kind of inferred that, wasn't sure if there was more to it though.
What tantrum are you referring to? Didn't he just silently resign?
> Slotmap keeps track of the "identity" of the stored object

(I am not sure if slotmap uses this strategy)

To give more details some of these data structures use generational indexes, a pair (generation, index) where index is a plain index of the underlying vector and generation is a bookkeeping counter of how many times you have allocated a value to that index. These two values can be combined in a single 32bit-64bit value but additional memory would be required to keep track of the counter.

E.g. with a vector of length 2

{meta: [0,0], data:[...]}

malloc -> (1,0)

{meta: [1,0], data:[...]}

malloc -> (1,1)

{meta: [1,1], data:[...]}

free(0)

{meta: [2,1], data:[...]}

malloc -> (3,0)

{meta: [3,1], data:[...]}

free(0)

{meta: [4,1], data:[...]}

malloc -> (5,0)

{meta: [5,1], data:[...]}

free(0)

free(1)

{meta: [6,2], data:[...]}

malloc -> (7,0)

malloc -> (3,1)

{meta: [7,3], data:[...]}

This way if you tried to access the pointer (5,0) the library can check that at index zero of the meta array the generation is 7 and conclude that you are doing a use after free (in this example even generations denote unallocated memory).

This is a description of a very simplified algorithm.
Well, sure. But, as a non-expert, cors kind of makes sense to me in development. What would you suggest? It's an honest question.
168 comments and nobody pointed out the role of Linux distributions...
Thanks, I just ordered a Dash license, seems like an incredibly useful tool to me, good software should be supported!
Idiosyncrasies of the HTML Parser – The HTML Parser Book
To hijack the thread a bit, if you are still with Dropbox, could you get them to implement what you did in #2 in the official Dropbox JS SDK? Right now it still does a pre-flight request for everything.
It is likely an unpopular view, but IMHO the open source community's bête noire about charging for stuff is effectively of its own doing.

Open source has been driven by quite a vocal community of "stick it to the man" generation of freetards who live by the faux-arguments that:

(a) "because its open source it must be better"
(b) "X is free, so why should anybody pay EvilCorp for a license ?"

Then you have software like LibreOffice that literally shout FREE in their own product name !

The Open Source community has effectively won its own race to the bottom and its going to be tough if not impossible to reverse that trend. Especially as the open source community also bitches and moans about any sort of restrictive license.

Don't misunderstand me, I understand the arguments for seeking to charge for open source. I'm just saying there's a genie that needs to be put back in its bottle somehow....
This ^^

Really, anyone senior in Microsoft shouldn't be making this sort of argument. They already have a perfectly fine memory safe language that they could use way more widely than they already do. The number of bugs in Windows that either shouldn't happen or are too hard to debug when they do, because Microsoft insist on still using C++ instead of C#, is just phenomenal. Why can Google ship a mobile OS in which large chunks including the entire GUI layer run on a JVM, but Microsoft can't ship memory safe code in Windows for even the non-performance sensitive parts because they have some irrational fear of C#?

The issues there are obviously cultural. If Rust is hard-man enough to convince Microsoft devs to adopt it when they otherwise reject C# then fine, whatever, do what it takes. But to generalize this to the rest of the software industry is silly. Most of us have been writing code in memory safe languages for a very long time, and they could be used way more widely than they are. If you want to make more code memory safe you'd be better off advancing .NET ngen or JVM AOT at this point than pushing Rust, at least they can handle arbitrary data structures in safe ways.
Never pay more than $44.37 bucks for a computer game.

https://fineleatherjackets.net/monkeyinflation
That said, walls of texts may not get read. I write walls of text, but I'm sure nobody reads them, not even me :D
Robinhood Q2 2022 Earnings Review: getting ready for the next bull market
Did the US grew peacefully? I mean all the territory of the United States was taken from Native Americans. Do you get as agitated about this as you are about Russia?
While these are both unsportsmanlike (and probably illegal) I'm not actually sure they're cheating.
Ask HN: What are the advantages of being bootstrapped and not VC backed?
Adding to the posters above, there are headphones nowadays which look like a small stone and are put directly on the ear drum (yes, they need to be extracted by someone afterwards). They are completely invisible outside. They popular with students for cheating at exams for example.
A close relative of mine who was unemployed was offered a job but they had to sign one of these agreements as a condition of employment and asked for my advice.

I advised against taking the job because the salary wasn't great and it's risky to commit an entire year to a job where you have zero idea about the working conditions yet! I was also thinking the employer might have added this clause because they are having retention issues, which is an indication of poor working conditions. The training also kinda sounded like BS and the cost seemed very arbitrary.

They decided against that job. They said they'd take the job without the training payback requirement but it was mandatory.

The family member was in a position to not take the job because their spouse was making enough money to support their entire family, but not everyone has that luxury. It seems like only the people who are most desperate will take these jobs.

It's bananas these "training payback agreements" are becoming common!!!
Sure. But the selling point of Rust is that the compiler will check ownership and lifetimes for you. That goes away if you use integer handles, in which case I might as well use another language.
The Dirty Secret of SSDs: Embodied Carbon [pdf]
I am surprised to see that on a per-gigabyte basis, SSDs are much more polluting compared to HDDs over their lifetimes.
From 19 days ago -

https://news.ycombinator.com/item?id=32675861 (85 comments)
> only has <10KB RAM

It's even more impressive than that. It has 8kb of ROM, and only 512 bytes of RAM!
There are plenty of games with reverse engineered private servers whose source was never leaked.
I was told (on the Unstable Diffusion discord, so this info might not be reliable) that even with using the same seed the results will differ if the model is running on a different GPU. This was also my experience when I couldn't reproduce the results generated by the discord's SD txt2img generating bot.
True, but I'd like to continue using products that produce close-to-real images. Phones nowadays already process images at lot. The moment they start replacing pixels it'll all be fake.

And… Some manufacturer apparently already did it on their ultra zoom phones when taking photos of the moon.
> I found the speculation about anal beads hilariously entertaining.

Especially since AFAICT it seems to have come from a clearly joke Reddit post[1] about how they discovered the cheating because Carlsen's own anal beads were vibrating in the match...

[1] https://www.reddit.com/r/chessmemes/comments/x8217h/the_real...
Well for example you train the VAE to reduce the compression on characters.
The code in those libraries has been run billions upon billions of times, by billions of people. Sure, the libraries are written in unsafe languages, but they are incredibly battle-tested. Depending on your perspective, this may or may not be as good as a formal guarantee of correctness; at the very least there is a strong probabilistic argument for their correctness and safety.

The 1% of code that is your own will, upon creation, have been run precisely zero times, so there is no probabilistic argument to be made for its correctness. Safe languages let you exclude entire categories of mistakes even when your code hasn't been run yet, which seems obviously valuable.
And how is visa ban justified? Just curious how you would manage to avoid the words 'collective guilt'.
As by my observations remote-centric teams use Google Docs or Collabora, classic companies use LibreOffice.
> holier-than-thou self-righteous attitude

That's what I see in your comments, haha.

Let the man protest. It appears to be quite effective. There is a long history of positive change coming from quiet, stubborn, non-violent protest outside the rules.
But it's not more secure than password auth. My passwords are not guessable, by anyone. Period. You are assuming passwords are guessable; they are not. They are not reused. They are not crackable. It's utter bullshit that an SSH key pair is more secure than passwords done right.

"But what about a keylogger / what if your password manager is compromised / etc." if someone has root access to my machine and can read my encrypted documents or log my keystrokes, the game is up for an SSH private key as well. There's no reason to say my SSH private key sitting on my hard drive is more secure than my GitHub-specific password sitting (encrypted) on my hard drive.

SSH key pairs are more secure on average because passwords are used by everybody and SSH key pairs are used by security nerds. That's it. That's all there is.
Bustle Digital Group Shutters Input, Lays Off Staff at Mic
I need to know a lot more about this before I make up my mind.
There is definitely something amiss.

Carlsen might be over reacting but he seems to have very strong suspicions.

Look forward to the sequel, chess is in an exciting space.
Alternatively, stick to "simple requests". That's HEAD, GET, and POST, without any custom headers or non-form content-type set. This adds some further limitations (no ReadableStream being one of them). If the backend responds with an appropriate access-control-allow-origin then the request will just succeed.
In some languages double quotes have different meaning to single quotes, for example in shell variables expand inside double quotes but not inside single. So you need to know which your current language uses.
Bayesian priors aren't really known for their rigour.
The answer is entertainment. I don’t care about any sports (though after a brief stint in watching LoL esports around 2011-2014, I at least understand the theoretical appeal), but many people do. Others don’t care about music. Or about films. But in the end all of it is bread and games.
The Mythical Man Month - important lessons for any developer

Bird by Bird: Some Instructions on Writing and Life - A really good read on how to write which is applicable to everyone who needs to communicate well

Producing Open Source Software - This is such an in depth book into everything you need to consider when working “in public”
Well, OK. The world is anyway lousy with syllabaries and abjads, many of which started life as logograms.

And, it is attractive to think there was a first, although it is easy to imagine a pair of neighboring scripts both evolving to syllabaries simultaneously.
US gov has a way of keeping certain things illegal that would otherwise take away employment and purpose of their own agencies. Just look at the DEA/"war on drugs".
I don’t want to pay for someone else’s schooling.
> "encapsulate the unsafe code in a data structure library with a safe interface"

This was referring to using unsafe data structures in Rust by pulling in a Rust library so that your application code doesn't need any unsafe blocks itself. This is a huge win for your application code, even if there's other code that is still "unsafe".
Magnus has made spectacular blunders of embarrassing levels in the past and after world champion title. It just shows he is human.

Chess players cannot be just treated like exact subjects in an experiment, especially with a sample size of 1 and std deviation of infinity. Noise factors are too many and sample size needed to account for that is huge.

Also current rating is not a reliable measure. Many young players are rising and they climb by beating players stronger than them.
I mean sort of, but you also have to deal with Apple's App Store rules and goons...
Other commenters have covered some economical reasons, but it is also an opportunity to provide for work for disabled people like in the ‘Dawn Avatar Robot Cafe’ in Tokyo where the robots function as waiters.
Did you put the author in any context or are you trying to gaslight the response to a highly political article?
You have more direct control over your product. Whereas with being VC backed there is that expectation to do what is considered "profitable" by their own metrics. Granted, bootstrapping is a long and arduous process, but I think the trade off would be worth it, as you would have the final say.
Previous discussion of cppfront for context: https://news.ycombinator.com/item?id=32877814
IIRC max power allowed via m.2 connector is 25W. I suspect that heat sink might be just a gimmick - Sarbent is shipping NVME drives with peak power draw <10W with a triple heat pipe cooler..
Running a proxy on localhost isn't very difficult; it requires maybe 10 or 20 lines of nginx config, less with Caddy? Certainly something that can be stuffed into the README for developers.
IIRC Cloudflare has page rules, which makes this possible? In fact, with page rules, Cloudflare can proxy a subpath (like /api) to a completely different domain.
Turns out if someone acts in a way for years people start to believe they'll act the same way later on. Crazy.
Oracle and Document Foundation are coming from different places. I don't know if it's fair to compare them like that. One reason that Oracle lost control of their projects is that the motivation behind is clearly profit-driven. It clashes with the motivations of OSS contributors who get the feeling of getting exploited.

You can argue that the Document Foundation also tries to make some profit but I would expect that it's in the spirit of allowing more contributors to be able to work on the project full time instead of lining the pockets of the shareholders. It's still a social good.
A possible explanation I haven’t seen yet is that Magnus his second move is meant as a test. It reminds me of the old days where a chess computer would take much longer for an uncommon move at the start than a common move. Maybe Magnus was testing the response of Hans to his uncommon move and wasn’t pleased with the result? I don’t think that Magnus his behaviour is random. I mean he is literally a chess player.
> I don’t want my drive to handle encryption. That’s what operating system is for. It’s not only much more flexible, but also much more secure.

The problem:

- an operating system by necessity must have the crypto keys in RAM (which means it's vulnerable to a kernel-level exploit, a hardware-level exploit like Thunderbolt, or to a "freezing spray" attack)

- all I/O data will have to be shuffled between the SATA controller, RAM and CPU multiple times for decryption/encryption, incurring a (significant) latency penalty

Leaving the crypto operations to the SSD controller or an intermediate FPGA/ASIC removes a lot of these problems:

- the OS can wipe the memory containing the key information after passing them to the disk

- no part of the system can retrieve the key information past that point, and the disk controller can be built in a way that automatically wipes its internal RAM / plaintext key storage upon power loss

- there is no performance/latency penalty at all or at least significantly lower, the system gains back the ability to do DMA transfer (e.g. load GPU texture data straight from the disk into the GPU's RAM space)
I have learned some proper welding technics using some book from 1950s which I have found on torrents. Before I found this book I used to watch Youtube, ask my friends with welding skills and all of those worked not that good. Maybe my previous practical tinkering with a welding kit did some work in teaching me welding, but the book has few extremely useful tables with some data kind of what parameters to apply in this or that thickness of metal, position of seam and kind of joint. I love learning from ancient books if I know that nothing has changed in the industry.
Surely you're joking, because I simply refuse to believe that you think Rust developers are actually sitting around thinking how to put other devs out of a job instead of, you know, using Rust simply because it's a better, more well designed language.
I get fairly annoyed and anxious when random strangers try to talk to me for no reason in public spaces. I always get a feeling that they're running a scam/pickpocket operation.

It's hard for me to imagine that someone would actually enjoy that. But perhaps it's just me.
This is his actual running pace. Strava only calculates pace including the stops when you set the activity type to ‘race’, which he didn’t.