Readit News logoReadit News
wrikl commented on An app can be a home-cooked meal (2020)   robinsloan.com/notes/home... · Posted by u/distcs
aziaziazi · 2 years ago
TestFlight is mention in the article so I guess yes, iPhone.
wrikl · 2 years ago
I'm actually surprised that TestFlight was available for this, since I recently worked on a private app and did a bit of research into how to distribute it - everything I read implied that TestFlight apps will be reviewed by Apple employees and must be apps that intend to eventually be distributed more widely (e.g. beta versions). I got the impression that an app for family or friends that wasn't set up with a plan for release at some point would be rejected.
wrikl commented on Digital Gardening in Obsidian   bytes.zone/posts/digital-... · Posted by u/brianhicks
number6 · 3 years ago
My problem with obsidian is that I need a license to use it if I add something work related. I can not realy disentangle both. If Ilearn something new here on HN Iwm will propably use it later at work.
wrikl · 3 years ago
Same here, and honestly I suspect a lot of people probably don't know this and use Obsidian for work or include work-related notes in their free plan without realizing that it technically violates the license.
wrikl commented on TLDR explains what a piece of code does   twitter.com/marcelpociot/... · Posted by u/aaws11
curl-up · 3 years ago
What I am talking about has nothing to do with Intellisense or your workflow. What I am saying is that, if someone in 2019 told you that there is a "thing" that is able to take a very complex sentence and qith high accuracy (and awareness of the database details) generate 50 lines of SQL, using CTEs, complex JOINs, subqueries, string formatting, date manipulation, etc, you would have been amazed. That thing now exists, and it didn't exist before. It is a complete phase shift and it cannot simply be viewed as a incremental improvement. This is a whole different beast.

Using this beast as intellisense is just one application (called "Copilot") and it has all these annoyance factors sometimes. But I am not talking about that.

To me, this is like we found a way to transform iron to gold with low energy usage, and people are complaining that gold is not that useful. And most chemists not even hearing about the news. I'm constantly amazed by this, every single day, as I read threads like this one.

wrikl · 3 years ago
I can only speak for myself, but it just hasn't been around long enough for me to properly trust any AI-driven tool to give me correct output for anything important.

I'll admit I haven't played with Copilot yet (since I don't think my employer would be happy for me to send off proprietary code to third-party servers, so I've effectively self-banned myself from using it at work*), but I'd feel that for anything non-trivial like your example of complex SQL queries I'd be reluctant to use the generated output without extra scrutiny (essentially a very fine-toothed code review, which is exhausting).

My opinion will probably change as the tools become more mature, but for now I'm treating them as toys primarily which limits the excitement.

Something like TLDR is less risky as it's not producing code, just summarising it, but I'd still feel wary to trust it since it's such a new field. Maybe this speaks more to my own paranoia than anything else!

EDIT: *and on this topic while I'm here: I'm actually a bit confused (and honestly... jealous?) on the topic of privacy for these kinds of external models. Is everyone who's using Copilot and tools like this working at non-Bigcos? Or just ignoring that it's sending off your source code to a third party server? Or am I missing something here?

It'd be against the rules to use external pastebins or other online tools that send off private source code to a server, so I'm kind of shocked how many devs are talking about how they use AI tools like this at work... is this just a case of "ask for forgiveness, not permission"?

wrikl commented on Meta Is Transferring Jest to the OpenJS Foundation   engineering.fb.com/2022/0... · Posted by u/jimmy2020
cpojer · 4 years ago
Jest supports multiple “projects” in a single invocation, and they can all use a different reporter.

You can define a base config for your repo, and then inherit two sub-configs from it each with different runners and mutually exclusive selection for tests (by suffix, folder, or any convention that works for you).

See https://jestjs.io/docs/configuration

wrikl · 4 years ago
Thank you! We actually do use the "projects" feature, but we've found a fair number of options don't work when defined at the project level (a good example is `coverageThreshold` - we weren't able to make per-project thresholds work, at least in jest 26).

Glad that this one has the ability to be configured more granually - that'll come in handy for migrating gradually.

wrikl commented on Meta Is Transferring Jest to the OpenJS Foundation   engineering.fb.com/2022/0... · Posted by u/jimmy2020
cpojer · 4 years ago
Hi! Christoph from Jest here. Your feedback is great, and 100% valid. Jest was built a long time ago when ES modules did not exist, and we are still carrying some of that legacy baggage around.

The good news is that we have never been shy about making breaking changes and we are working on cleaning the house and making many legacy components optional, all while bringing the existing community with us.

As for mocking, you don’t have to rely on Jest’s inbuilt mocking libraries and you can use the ones you like better.

If you care more about raw performance and ES module support and less about isolation, check out the jest-light-runner: https://github.com/nicolo-ribaudo/jest-light-runner

We also mentioned it in our Jest 28 blog post: https://jestjs.io/blog/2022/04/25/jest-28

I’m wondering if it’s time to consider taking a big step and making this runner the default, and give people the optionality of isolation. However, in my past experience at large companies (both first-hand and second-hand experience), the lack of isolation in tests led to major reliability problems with testing infrastructure. I’m still feeling like it’s the better default today, but maybe we should have a serious discussion about Jest’s next set of defaults.

wrikl · 4 years ago
That seems great, definitely going to check it out!

Do you know if there's a way to use that runner per-file or per-project within jest? Seems like that's the only way it'd be possible to smoothly migrate in a large codebase without rewriting all tests at once.

wrikl commented on The Next Backblaze Storage Pod   backblaze.com/blog/next-b... · Posted by u/TangerineDream
bluedino · 5 years ago
Any idea what Dell is actually selling them? The DVR's we buy (Avigilon) are white Dell 7x0's with a custom white bezel, but those only fit 18 3.5" drives.
wrikl · 5 years ago
The author recently commented: https://www.backblaze.com/blog/next-backblaze-storage-pod/#c...

It's apparently the "Dell PowerEdge R740xd2 rack server".

wrikl commented on As Covid deaths hit lows, new deaths are younger with more Blacks than before   cnn.com/2021/06/23/health... · Posted by u/IncRnd
goldwind · 5 years ago
Hate how they use the term ‘Blacks’. Seems as if they allow ‘whites’ to stand from a place of objectivity and demand that journalist do too. CNN are moronic
wrikl · 5 years ago
The actual CNN title is "As Covid-19 deaths hit record lows, those dying are younger and more disproportionately Black than before" currently, so the HN title using "Blacks" is an editorialisation (I checked because I found it weird that a major news organisation would use "Blacks").
wrikl commented on Internet Explorer 11 (IE11) to be retired on June 15, 2022   blogs.windows.com/windows... · Posted by u/smukherjee19
shaicoleman · 5 years ago
FYI, You can send an email to Microsoft requesting the your website will automatically reopen in Edge when someone visits it with IE

https://docs.microsoft.com/en-us/microsoft-edge/web-platform...

wrikl · 5 years ago
TIL - this is cool!

Do you know if there's a way to see that XML list they mention anywhere publically? I can't find a link to it on that page.

I guess it should be possible to spin up IE11 in a VM on macOS and inspect the network, but would be nice to take a look and see which sites are on there.

wrikl commented on Reverse Engineering Source Code of the Biontech Pfizer Vaccine: Part 2   berthub.eu/articles/posts... · Posted by u/soheilpro
subroutine · 5 years ago
Comparing the protein sequence between the virus and vaccine, it looks like codons 986 and 987 code for different amino acids. I looked it up and it seems like a very important bioengineered constraint. Membrane fusion can be blocked by mutating S residues 986 and 987 to prolines, producing an S antigen stabilised in the prefusion conformation. The introduction of this two-proline substitution yields soluble prefusion coronavirus S ectodomains (overcoming a major hurdle in subunit vaccine dev).
wrikl · 5 years ago
The author talked about this in part 1 (https://news.ycombinator.com/item?id=25538820).

u/wrikl

KarmaCake day19August 29, 2014View Original