skysight-inc/HackerNews huggingface dataset:
Important tidbit: SO's content is CC-licensed and this is probably completely legal (apart from those who fail to add a link to the original). Not that I don't want those sites to burn in hell, but they are not even in a grey zone legally.
As I understand it it's only memory safe if you never free your allocations, which is better than C but not an especially high bar. Basically the same as GC'd languages but without actually running the GC.

It does have support for formal verification though unlike most languages.
For a grid-style gallery you can have a container for each image with a fixed size (the maximum size you want an image to be) and the image itself can use max-width and max-height with the same size of the container. If your aspect ratios are too varied, you might have to fiddle with the ideal size to get an optimal result, but it gets the job done.

If it's another kind of gallery it could work if you accept those constraints. If you don't, then it's better to use width/height anyway.
You catch the bug by flagging the use of memcpy instead of something that takes the dest buffer size (like memcpy_s or whatever).

It seems to me linters have been flagging this kind of thing since forever. This code is using a wrapper, "PORT_memcpy", so a default ruleset isn't going to flag it.

So here I guess no one noticed PORT_memcpy == memcpy (or maybe noticed but didn't take the initiative to add a lint rule or deprecation entry or just created an issue to at least port existing code).
> You don't need a library for that, it's is part of the language. Java can call code from native libraries, C# can export native functions. It can also be another process.

Having never done this, I believe you. I am still skeptical of how quickly/effectively you could set up a CI/CD system and the module repos to deploy to a monolith. I wonder how the type interop works there (equivalent of OpenAPI-based code generation).

> The problem is that you moved the goalposts. "I need to interoperate with C# code" is very different from "I need to interoperate with C# code and my company uses microservices and that's the only thing I know".

That's maybe a bit unfair. There are a lot of microservice shops, but I haven't heard many who do this Franken-monolith thing. Remember that infamous microservice dependency graph from Uber? I guess Facebook was famous for doing a monolith but I don't know if it was purely PHP or not.

> You can't claim something is automatically worse just because you're ignorant about it.

I can if the metric is availability/familiarity in the industry, but OK.

> Nope. There are exactly zero companies claiming to use microservices when they have exact two services. And it's not about size, by the way, it's about different architectural patterns.

I don't know, my experience is people like to say they use microservices but they just have a service-oriented architecture. Meanwhile I never ran across an organization that does something like npm modules and goes way crazy with granular services. I don't know, maybe they are out there.
Yeah, it’s at the point where search engines are now closer to shortcut bars for me. It’s rare that I don’t have to append “wiki” or “Reddit” to my search in order to find a decent result (which I assumed existed before I even searched it).

I wonder what the consequences are for discoverability on the web. It can’t be good. Maybe I’m waxing nostalgic, but it seemed like there was a time I discovered new and cool web sites. Now all I discover is ad spam clogging up the tubes.
Texas resident charged over $4k for Covid test: “I felt deceived”
Not all contributors look for returns. There are people who are willing to contribute to a cause instead of say buying a TV. We see such contributions on gofundme to help out people in need.
If the vaccine were still as effective as it was a year ago, I'd agree with you, but it's likely that the current vaccine will have a muted effect on omicron variant, so I'm not as comfortable mandating a vaccine for a now-dead variant.
some job screenings are really ridiculous: coding is not rocket science, come on
(yes, I understand the need of filtering in case you have a lot of application, but how many have a lot of applicants?)
I'm not saying we should normalize it, I'm saying in a world where senior engineering talent is routinely paid 400k+ USD comp packages is a world in which employers will be extremely picky about who they give those 400k comp packages to, and if the business use case doesn't shake out in the small time between offer acceptance and joining the team then naturally these businesses will pull out more frequently than they used to pull out. I'm not saying its good, I'm saying its a consequence of very high pay for engineers.
How Distant Galaxies Mess with Our Lives [video]
I would definitely not watch Colin Furze
It will be interesting to see what words spill out when/if The Digital Antiquarian gets directly to "Rocket Science".
CompSci theories are essentially mathematical proofs. You create a proof of something, then you build it to test it, to make sure your math is actually correct, and that the theory works in implementation.

Proof of correctness doesn't rely on having a large cohort of test subjects undergoing an experimental trial of some sort, and then interpreting the results with statistical models, distributions, p-values, etc.

I don't know psychology in depth, but if there are similar kinds proofs without requiring statistical analysis of a large experimental cohort, then I don't think Taleb's criticisms are aimed at those either.

It's the fundamental problem of knowledge - can truth be known via logic and reason, or via empiricism and observation? The answer to both is, sometimes, but with caveats.

Peter Norvig also wrote a good take on all the ways studies using experimental cohorts can go wrong: https://norvig.com/experiment-design.html
> I've seen programming newsgroups, those things from the 90's, with what can best be described as MITM attacks having taken place when coders have been looking for solutions to problems and the solutions have not been correct. Most newsgroups were never secure so vulnerable to MITM from day 1 and what is being reported today is just the latest variation in that attack process.

Well, that's also the side effect of taking Cunningham's Law to heart, which says "the best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer."
It is just Google, with its amazing algorithms that rank established website way higher than a random spam website.
Most developers will rather spent 2 days to build something than pay $60 for something better.
And that these 'other places' are not just infinite fountains of reliable water, if they exist at all...

It seems modern expectations suggest that the solution always exists, we just need to be clever enough to find it (or 'technology' will just solve it somehow)
Hello! I'm the founder of https://denigma.app, an AI that explains code. It's available now, with a free demo and VS Code extension, with an Emacs extension coming soon.

Denigma is a product that has been around for a while.

Denigma goes beyond a literal line by line explanation, and explains of programming concepts and deduces the business logic and goal of code.

I'm excited to see innovation in the field.

Here's a sample explanation from Denigma:

The code starts by initializing the trampoline. Then it checks to see if there is a passed_info structure in memory, and if so, copies the struct into the passed_info variable. Next, it sets up some variables for use later on:

- info_struct - The smp_information struct that will be used throughout this function

- longmode - Indicates whether or not we are running in 64 bit mode

- lv5 - Indicates whether or not we are running with L1V5 support enabled (if you're unsure what this means google "Intel VT-x" and "L1D cache")

- pagemap - The address of our page table entry array (this is where all of our virtual addresses go)

- x2apic - Indicates whether or not we are using an Intel X2APIC controller

The code is a function that is called when the kernel is booted. The function checks to see if the kernel was booted in long mode or not, and if it was, it sets up a trampoline to call the original kernel.

We're small, privacy-focused, and bootstrapped, and don't have the marketing budget of GitHub, so we'd appreciate you talking about Denigma in your communities.
It absolutely does. An very low dose initial infection can prime the immune system and give you an asymptomatic case.

...but even if you full blown covid, there is no exemption from the vaccine requirement - that's one of the main arguments of many health workers.
My parents just roll out their sleeping bags on the hotel bed, on car trips, and I've done the same. Youth hostels in Europe have a sleep sack made of sheet cloth that you use and then return.
Are you suggesting that this crypto library would not be possible or practical to be built with rust? What features of C enable this library which Rust does not?

There is no time machine to bring rust back to when this was created, but as far as I know, there is no reason it shouldn't be Rust if it was made today.
Shrinkflation comes to the workweek.
> I wonder what the consequences are for discoverability on the web. It can’t be good. Maybe I’m waxing nostalgic, but it seemed like there was a time I discovered new and cool web sites. Now all I discover is ad spam clogging up the tubes.

I feel the exact same way too. I can't even discover blogs with solutions any more (even ones I know exist because I've seen them before), it's all just spam.
Pragmatic (as usual). ;-)

I'm not so sure though that we're not seeing early forays into something that will in fact come down in cost, go up in efficiency.
Nuna Health | San Francisco, CA | Remote (US) or Onsite | Full-time & Internships | VISA

At Nuna, our mission is to make high-quality healthcare affordable and accessible for everyone. We are dedicated to tackling one of our nation's biggest problems with ingenuity, creativity, and a keen moral compass.

Nuna is committed to simple principles: a rigorous understanding of data, modern technology, and most importantly, compassion and care for our fellow human. We want to know what really works, what doesn't—and why.

Nuna partners with healthcare payers, including government agencies and health plans, to turn data into learnings and information into meaning.

You can learn more about Nuna here: https://www.nuna.com/

Feel free to reach out to me [muhammad <at> nuna <dot> com] for the open positions listed below. Please include your resume and interested position(s):

- Data Engineer - Integrations

- Senior UX Designer

- Front-end Engineering Internship (Summer 2022)

- Software Engineer (Back End, Front End, Data Platform)

- Software QA Engineer

Also check out various other open positions: https://www.nuna.com/careers/
It's a transactional relationship. I have had a few candidates pull out after signing for various reasons (some personal issues, some for better offers). If they apply a year later, I would likely still give them an offer. There are no "permanent black marks" on you, at worst it is a note in your candidate CRM in one specific company that won't follow you elsewhere and won't impact you at that company after 12 months.
> you cannot pretend something is working when it isn't

Hm, not sure about that. People talk about making MVPs by letting the user think there's a product there when in reality the solution is done manually, or there to just collect email addresses. See Wizard of Oz, concierge, etc MVPs as examples [0]. There are also no-code tools one can employ to make things seem like they work, again at least to the end user.

[0] https://openclassrooms.com/en/courses/4544561-learn-about-le...
In general, it was fascinating to see how much of Seveneves was devoted to acceleration and orbital mechanics.
> In Rust every non-trivial library pulls in 10s or even 100s of dependencies.

You're exaggerating here. The most recent project I've been working on pulls in 6 dependencies. The anyhow crate has no dependencies, regex 3 (recursively!), clap and csv each 8. Only handlebars and palette pull in 10s of dependencies, and I can trim a fair few dependencies of palette by opting out of named color support (dropping the phf crate for perfect hash functions).
It's incredibly disappointing that ostensibly modern cities do not have adequate public restroom facilities.
I second this. Discogs is amazing in the way that only independent websites can be, and not just as a database (which would be locked up by the buyer, stripped of its more interesting and obscure data and turned into a feature for the buyer’s “platform”), but also as a marketplace.
Why is there a lack of "git gud" in some of these programming circles.

Its meant to be hard and meant to force you to learn.
Renames and hard-links are not obscure features.

And there are myriad mount options for tailoring performance vs. crash-resilience/posix-compliance to the application in most the existing production filesystems. Which was honestly another aspect of the talk that was somewhat lacking; what journaling modes were used? barrier/nobarrier? was it even made equivalent to what betrfs achieves? We don't even know if a betrfs instance can successfully mount after a mid-write hard reboot.
Uploading CSV support is on Metabase's roadmap.

https://www.metabase.com/roadmap/
There's a lot of bad things about Intel and x86 that I don't have to worry about with this:

- I don't have to worry about Intel ME backdoors.

- I don't have to worry about UEFI at all.

- I have 4 sets of cores that are physically separated, so I have a real defense against spectre-type vulnerabilities. E.g. public-facing nginx can go on one, backend application server can go on another, and SQL server on a third.

- Doesn't look like I really need any fans.
Tanooki Labs | Experienced Full-Stack Rails and React Developer | Remote | Freelance
TL;DR – All you can eat, flexible full-time or contract dev work and amazing products to work on.

Interested? Here’s the full story:

We are Tanooki Labs, a product and development studio based in New York City that works with entrepreneurs on early stage products.

We provide product-minded developers with fun projects to work on, as well as the flexibility and freedom to continue working on their own goals (be it recording an album, crafting your next app, or raising the newest member of your family).

We choose our clients and projects carefully, and every product we build requires us to tackle new and exciting challenges. We also reject the idea that software development has to feel like a grind. We work 35 hours per week, support flexible schedules, are family friendly, and work with both local and remote developers.

We’re looking for pragmatic developers who build with empathy for the users a deep understanding of the product we’re building and our client’s businesses an eye towards writing well architected code

You should have:

- a strong background in full-stack Ruby on Rails
- experience working in Javascript, especially React
- experience developing applications from the ground up
- experience with behavior-driven development and unit testing
- a product-minded focus when creating applications
- good communication skills in English and a location in North America

If that sounds like you, please apply here: https://tanooki-labs.workable.com/jobs/190522
Uhuh. On cue a C++ programmer arrives to tell us that a true Scotsman wouldn't have introduced this bug... Where can we see "at least a decade" of this code you and your teams wrote?
It hasn't even launched yet? Why is this even a thing?
Because I’m not seeing the results. Let’s ignore SO copycats for now because that solution requires at least a slight amount of effort and look at the elephant in the room - Pinterest. Dealing with it is a simple “if image_search and domain == pinterest.com then skip” and they’re not even doing that.

They have a site that’s been polluting image search results for years, isn’t even trying to hide (unlike the SO copycats which could technically churn out an infinite amount of domains to work around bans) and they can’t even deal with that.
Top No-Code data sciences platforms
"Cube" would have been better:

"Square" => "Cube"

but

"Square" => "Block" just seems mediocre by comparison.

Certainly they want "Block" to invoke blockchain, but it seems more gimmicky with just "Block".
Well, here comes the type system, so your fancy data structure has zero cost. Rust recently got more support for const generics, so you could encode size bounds right in the types and skip unnecessary checks.
I love having informal meetings with recruiters, and half an hour later it turns out they are looking for java developers, not javascript.

>My worst tech interview experience: all of them.

Agreed. I thought it gets better. It doesn't. It gets way worse. Best jobs I interviewed for were around 2010 for jQuery and wordpress jobs.
Location: SF

Remote: On-site or remote

Technologies: Python back-end, Javascript, HTML, CSS

I've recently joined a team that's participating in what I'd consider unethical behavior and I'd like to find a new position quickly and transition without an employment gap if possible, ideally by early January.

I have four years of experience writing Python. I generally enjoy work and like working with highly technical people on challenging problems.

Open to contract or full-time. Match current salary of $120,000 (401k match, healthcare, 3 - 4 weeks vacation) or $70 / hour with consistent 40 - 55 hours / week. I'm somewhat flexible on this as I'm motivated to move quickly.

Email: colorfulpants9@gmail.com
I set up a treadmill desk and have started walking 10,000 steps a day while working. Usually not a problem since most of my work doesn’t require flow state. I found a walking speed of approx 2.1 kph allows me to concentrate while moving.

I also have a squat rack, bench, barbells and do power lifting at home though that fell off in the last year. Goal is to lose weight, walk more, eat less, and lift moderately since I’m on a cut.
Maybe books are too low density. Like the “quantity of information” per amount of words is lower than a blog post for example.

I dunno, I’m not really a reading type but I do own programming-related books. It’s the only type of book I own. I learned a lot from books like The Clean Coder, The Pragmatic Programmer and some 90’s book about Design Patterns with c++ examples and I don’t even write c++
Totally had no idea. Thanks for the tip. I guess tomdn.com is for non-ddg users only.
How much is the cost of the gas to publish something? How much is the cost of the gas to send a tip?

Last week in the ConstitutionDAO, one of the problems was that people need to spend $75 to put money in the ConstitutionDAO and also $75 to get the money back. So for small contributors, the $150 may burn almost all their money.
Apple is also the only service to get gapless playback right, near as I can tell. Since adding lossless (I care less about "high-res" or "spatial"), they are far and away my favorite.

EDIT: In case anyone is wondering why gapless playback is important, the entire genre of classical music pretty much demands it. Also, anyone who listens to popular music where one track seamlessly leads into another will know how frustrating it is to not be able to stream an album as the artist intended it to be heard.
Firefox's Optimized Zip Format
https://flippa.com ?
Pretty, but I’m clueless what this is for
If it can really guarantee single-digit microsecond pauses in my realtime thread no matter what happens in other threads of my application, that is indeed a game changer. But I'll believe it when I see it with my own eyes. I've never even used a garbage collector that can guarantee single-digit millisecond pauses.
I'm going to sheepishly wonder out loud if too much sponsored content will be to Jeff's channel's long-term detriment. I would be excited too to have a popular channel growing and being offered these cool toys but I have also seen blow-back of late.

Perhaps it's just par for the course on HN though. Or perhaps we're missing the more down-in-the-kernel hobbyist Jeff.
Theatre.js | REMOTE in Europe (outside Europe in exceptional cases) | Full-Time | https://www.theatrejs.com

Tags: Design Tool, Devtool, HCI, PL, Visual Programming, Procedural Design, Designer/Developer Collaboration, Trans-Disciplinary Work, Motion Graphics

Buzzwords:, CRDTs, FRP, Incremental Computation

Theatre.js is an open-source motion graphics editor for the web. It is our first step towards building a collaborative medium for dynamic systems (microsites, apps, generative art, explorable explanations). We aim to blur the line between designer/developer, author/consumer, and artist/scientist.

Our inspiration comes from the work of Ivan Sutherland, Seymour Papert, Bret Victor, and others.

We launched in September [0], and have just started hiring the core team [1] with four positions open. Join us as Founding Engineers (senior-level or higher), Founding HCI Researcher, or Founding Designer (owning design from branding to UX). Your agency and comp will match your Founding X title.

hello@theatrejs.com

[0] https://twitter.com/ariaminaei/status/1439918117807853575?s=...

[1] https://twitter.com/andrewprifer/status/1465740576184221699?...
I'm not saying this is a super common thing, but I am saying this is going to happen more than it used to happen. We routinely see people who want start dates 3 months after offer acceptance, they want to travel, take time off, spend time doing hobbies. Its great! Maybe 1 in 20 times the team that person was accepted to ceases to exist in that 3 month period, and the company doesn't want to or can't rematch them to another team because the job literally doesn't exist, their skillsets aren't needed, maybe the hiring manager responsible for the hire left and there is no one who is the "champion" of the new employee/prospective hire. The reality is your job doesn't exist for you and has no legal protections until you sign your onboarding docs on your first day, and even then its at will employment.
But very much in inertia, which is acting against the drag, trying to sustain its initial velocity.

https://en.wikipedia.org/wiki/Ballistic_coefficient
Block is a reference to blockchain, ie Square is looking to move towards cryptocurrency more and more, so cube wouldn't have worked in this case.
Of course it would just end up being

PORT_Memcpy2(cx->u.buffer, sigLen, sig->data, sigLen);
I don't believe in work.
Sydecar | Full Stack Web Developer | REMOTE (US) or SF Bay Area | Full-time | www.sydecar.io

Sydecar was founded upon the radical idea that anybody should be able to fund entrepreneurs who are changing the world.

We’re reshaping private investing by putting the world's most passionate and creative capital allocators in the driver's seat. Our powerful technology empowers the next generation of investors to launch, manage, and scale their investment businesses in order to fund the future.

We are seeking experienced Full Stack Developers with an affinity for startup culture to work as part of a tight, fast moving web product team. This is green field work -- you’re not dealing with legacy. So no reverse-compatibility headaches -- you can design it right from the get-go. Stack: React/Redux/NestJS in GCP.

We’re also seeking a QA Engineer and a Cloud DevOps Engineer. For the full scoop on this role, our culture, and other open positions, check out https://bit.ly/sydecar-jobs . Or please apply with a brief note and pointer to your resume at jobs@sydecar.io.