skysight-inc/HackerNews huggingface dataset:
I can give some concrete examples.

Exceptions create drastically shorter applications versus Go's explicit returns. I'll have to see if I can run an analysis later; I would wager that 20-30% of the lines in our monorepo are related to error handling. This is in large part due to the style of having the if err return err take 3 lines, but that's the prevailing style. Additionally, it requires an explicit handling block everywhere that might return an error, even if you don't want to handle that error there (i.e. in a web app, not handling an exception defaults to a 503 error. It takes 0 code to return a 503 on an error, which is usually the default error path).

For generics, I needed to write a map merge for two map[string]interface{} maps. Fairly basic, for scalar values prefer the value from the first map on conflict, for slices append the two arrays, for maps do a recursive merge. I used a type switch to get the type of each value, when I realized that []string and []interface{} were different, and that I wouldn't be able to append to a []interface{} unless I convert the []string. Fine, so I need a function that creates an []interface{} and converts each index in the []string to an interface{} and puts it in the array. Except because of the type signatures, I now also need one for every scalar type in Go. Is it an overwhelming amount of effort? No, but it did turn 6 lines of code with 12 lines of unit tests into something like 50 lines of code with 100 lines of unit tests (more type switches). Generics should have allowed me to say that I don't care what type the input is (and interface{} doesn't work here). Worse, now if I adjust a unit test, I have to do it in several places, not just one.

Those are the things that frustrate me in Go. It ends up feeling like I'm brute forcing software development; it's not the fastest way to do it, but it'll work if we're just willing to rewrite the same function 10 times with different type signatures, or write if err statements 10 times so that we can get the error up to the 11th caller in the stacktrace, who's actually going to do something useful about the error.
Two other profilers that also let you spy on a running Python program:

- py-spy: https://github.com/benfred/py-spy (written in Rust)

- pyflame: https://github.com/uber-archive/pyflame (C++, seems to be not maintained anymore)

The "no performance cost" thing is interesting: my experience writing a similar profiler is that there are a couple of things that can affect performance a little bit:

1. You have to make a lot of system calls to read the memory of the target process, and if you want to sample at a high rate then that does use some CPU. This can be an issue if you only have 1 CPU.

2. you have two choices when reading memory from a process: you can either race with the program and hope that you read its memory to get the function stack before it changes what function it's running (and you're likely to win the race, because C is faster than Python), or you can pause the program briefly while taking a sample. py-spy has an option to choose which one you want to do: https://github.com/benfred/py-spy#how-can-i-avoid-pausing-th...

Definitely this method is a lot lower overhead than a tracing profiler that instruments every single function call, and in practice it works well.

One thing I think is nice about this kind of profiler is that reading memory from the target process sounds like a complicated thing, but it's not: you can see austin's code for reading memory here, and it's implemented for 3 platforms in just 130 lines of C: https://github.com/P403n1x87/austin/blob/877e2ff946ea5313e47...
Ah, that was poor wording on my part. What I meant was "users type in the apex domain and either stay there or get redirected to www", instead of "users still type www".
We are headed towards:
Hunger Games,
Children of Men,
Demolition Man,
Judge Dredd,
Escape from NY/LA
Sure about that? Their long aquaducts suggests they might have.
Isn't this what Stuxnet did to thousands of Iran's Nuclear centrifuges?

Has this demonstration had any effect on policy anywhere?
Latitude is 41° to 48°, it's not even proper north.
True. Examples are necessary for both motivation, and for showing how the formalisms work, at this level. One good undergraduate textbook that has plenty of examples is Dummit & Foote. However, that doesn't mean that you don't define anything properly, and solely use examples to show how to crunch certain computations. The student is then stuck with a bunch of patterns in their heads, with little mathematical understanding.
Comments that try to provoke a knee-jerk reaction are generally not welcomed.
Consider the security aspect of computing: install Qubes OS and try to use it as a daily driver.
That’s getting closer to what would have been an informative response. It could use further expansion but that could allow someone reading it to weigh how much that would remove a limiting factor in their experience.

For example, also having experience with all of them, the overall advantage over C is clear-cut but Rust is a lot less clear since stronger type system and better culture around package management and complexity avoids a lot of problems that otherwise require runtime troubleshooting.

Granted, a key part of that is really the question of whether you’re talking about a modern Java project or the more common enterprise Java sort with layers of accreted complexity and probably architecturally frozen at Java 8, where the problem is cultural rather than the language itself.
I would see it being used more like a GPU than a CPU.
I did live in Manhattan for one summer in the mid-eighties when I was in grad school--quite a bit post-college. On the one hand, I (probably rationally) didn't worry about walking down Fifth Avenue or around the West Village late at night. On the other hand, there were definitely areas of the city where--if the kinda fear that if I screwed up with the metro express stops I'd be stepping out of the subway into a hail of bullets was not actually the case--I was probably also much safer to avoid certain areas. And something like 42nd Street late at night was pretty awful.
When asked about expectations, I always give a high number and they have to negotiate down from it. That's the universal rule of price negotiations, that's how it worked when buying a rug in Cairo in 1000 AD, and that's still how it works now.
Could be interesting. I prefer an independent Xilinx, but maybe competition with intel will stimulate the whole reconfigurable computing revolution that fizzled out.
> Google clarified these are not “ads.” The company points out that they only source free shopping listings for this widget and that the content is not sponsored.

I'm not sure I understand how these aren't ads? In any case, is this something that literally anyone asked for?
There's also the Terse Introduction to Linear Algebra, which is shorter and more rigorous than Linear Algebra Done Right. All of these are known texts which have generated some body of discussion.

An idiosyncrasy of Axler's book is that it introduces determinants only toward the end.
> Yes, it's great that you can write your own control flow constructs. So what? A sane language already includes those constructs, and they're known and understood by all users of the language without having to first read the documentation of some third-party lib (haha, just kidding, there is none – read the code, dummy!).

I do not believe that novel control statements are any different from novel functionality. A sane language already includes plenty of standard functions, but that doesn't relieve the need for more. New functions, like new control statements, may be poorly documented.

The fundamental power of computing is abstraction. Functions, macros and control structures are all different types of abstraction. The only way to build a successful, malleable large program is to abstract, and to avoid macros and new control structures is simply to require larger teams (because someone has to hand-write all the code which the computer could be writing for you) and more ad hoc approaches.
Bezos, Gates, Zuckerberg. Behind every “self-made” mill. is a father with money
AMD to Acquire Xilinx, Creating the Industry’s High Performance Computing Leader
Yup, in 2020 it's getting the new era of semiconductor industry.
I think it was an issue with the private cafeterias having a negative affect on surrounding businesses.

https://sf.eater.com/2018/7/25/17614570/san-francisco-corpor...
I understand that they need a big push in DPU market, but I do not understand why companies as big as AMD do not invest and build what they need in house? If anyone can, it is AMD that can gather the talent. Everyone was talking about future data centers, and as far as I can tell I have been hearing about heterogeneous IO since 2009 (and that's me, and I was hearing it while working on Xen).

To asnwer my question maybe the market is so volatile that they cannot do strategic planning like that?
Ask HN: Has anyone implemented Amazon Worklink to access intranet page on mobile
I'm investigating whether one can use Amazon Worklink to access company intranet page (not full intranet but some pages) on a company's mobile apps. The intranet is hosted on-prem servers.

Can anyone share their experience.

Amazon Worklink:
https://aws.amazon.com/worklink/

With Amazon WorkLink, employees can access internal web content as easily as they access any public website, without the hassle of connecting to their corporate network. When a user accesses an internal website, the page is first rendered in a browser running in a secure container in AWS. Amazon WorkLink then sends the contents of that page to employee phones as vector graphics while preserving the functionality and interactivity of the page. This approach is more secure than traditional solutions because internal content is never stored or cached by the browser on employee phones, and employee devices never connect directly to your corporate network.
"my friend" is probably the closest to what you're intending In my experience it pops up way more commonly amongst non-native speakers so your mileage may vary if the objective is to sound native.

I assume it's a turn of phrase that's more common in some other languages?
Suspect that's not for explicit `<link rel=preconnect`

More likely it's for when FF is making a connection because it predicts that page is going to use a connection to another origin
All private banks up there? How has been your experience with public sector banks so far ?
The shape of the graph is different from one that has a constant slope from zero.
https://news.ycombinator.com/item?id=24906151
> suggesting they admit they benefit from it

Not "suggesting" - demanding, and specifically labelling themselves "racist" - not just admitting that they benefit from it.
Yes, the wording in that comment is not very friendly.

Also, I think that examples motivate people. I'm sure a lot of people are capable of understanding highly abstract things, but motivation is key.
“Nothing travels faster than the speed of light, with the possible exception of bad news, which obeys its own special laws.”

― Douglas Adams, Mostly Harmless
You missed one: a constant stream of security patches for the JVM.
If you don’t see the threat of an increase, and don’t understand why scientists are worried about it, then nothing I can say is going to change your mind about it. Even if it does end up being less of an issue, the risk of it being possibly bad for humans is enough reason for me to want to do something about it.
The way the market is structured retail traders are indeed the tail.
You have founders, seed rounds, angel investors, VCs, Private Equity and maybe eventually public stock market. So by the time retail traders get their hands on it, the value has been recycled and inflated many times over.
The process of exporting symbols is done in an EXPORT subroutine that can be provided by the module developer. This subroutne is supposed to return a Map of symbol names and what they refer to. This Map can be constructed depending on external factors such as an argv array or an environment variable, although I have yet to see this in the wild.

So I guess one could say that Raku parsing is usually static, but it does not need to be.
Books I would recommend:

Marketing for Developers
by Justin Jackson

Traction: How Any Startup Can Achieve Explosive Customer
by Gabriel Weinberg and Justin Mares

This Is Marketing
by Seth Godin

Working in Public: The Making and Maintenance of Open Source Software
by Nadia Eghbal
Immunological memory has a few aspects, one of which is like you say the memory B cells, which take over from antibodies after a while. If I'm not mistaken however, there are also long-lived plasma cells which keep producing very low levels of antibodies for decades. In fact, with a single drop of blood, they can figure out every infection you've ever had [0]

Still, it's perfectly normal for antibodies to wane after an infection. I'm unsure in general what to make of this study, maybe the number just drops under the limited sensitivity of their test. This study [1] finds that antibodies are stably produced for months after the infection

0: https://www.hhmi.org/news/your-viral-infection-history-singl...

1: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7554472/
I got really into this idea a few years ago.

It still gets floated from time to time (I recently saw high speed rail maps making the rounds).

IF/ when ATL > Chattanooga > Nashville are connected by a leg, it will absolutely change the region.

I have "heard" - completely so-and-so said - that much of the needed infrastructure exists. The key is repurposing existing rail lines and getting right of way.

I think there was a study commissioned that laid out the whole plan for a (3-5 stop) between downtown ATL and Nashville with a stop in Chattanooga.
> C# continues to be one of the most popular and widely used programming languages in the world.

Is it popular? Or merely heavily used?

As far as I can tell the team that I used to work with use C# merely because that is the language promoted by Microsoft and Microsoft is the principal supplier of IT infrastructure to the company. I don't think anyone ever said "Let's use C# because I like it." They usually said something like: "Ugh, got to get away from VB6, what can we use that won't need explaining to the technically illiterate bosses?"
All good points. The "no performance cost" is indeed more like "negligible performance costs". That's because these days multicore architectures are quite ubiquitous and standard Python applications are single process. For multi-process Python applications, a busy profiler would certainly steal a good chunk of a core, so the impact might be noticeable in that case.

As for the race conditions, Austin does not introduce any pauses. Even if it did, there would be no guarantee that it paused at a "good" point, so there are no real benefits in terms of accuracy in pausing. Error rates are quite low anyway, so the actual benefit comes from not pausing at all.
It doesn’t answer how Twitter can be so bad at this, though. Looks like a like of us have experienced this for a long time, I’m mystified why they wouldn’t fix the bug.
This Andrew Sullivan? "In 2003, he wrote he was no longer able to support the American conservative movement, as he was disaffected with the Republican Party's continued rightward shift on social issues during the George W. Bush era"
It's not strictly a blogging platform but I've got a huge amount of time for https://www.11ty.dev/. It's really nice to work with, and works brilliantly for blogs if you're happy working with code.
> Your situation sounds tough. I have no words of wisdom or insight...

I wish I hadn't said I 'hated' living here - that was an unconsidered comment that really doesn't properly reflect how I feel. Let's say 'dislike'.

There are other places I've lived that I'd prefer to move to, but I'm happy in my job and content with my home, and have a lot of good (mostly Swedish) friends, and to stay relevant to the thread, I love outdoor life (though to balance that, as others have mentioned, allemansrätt isn't as easy or all-encompassing as one is led to believe).

I think the disillusion is a large part of my problem. And the fact I haven't seen sunshine for over 2,5 weeks...
This is a great endeavor and I hope it succeeds.

I only have one question - does it allow for private events?
Pyinstrument might be easier to profile web requests: https://github.com/joerick/pyinstrument#profile-a-web-reques...
Public transit was mentioned in the original comment.
I'd say dude more than "almost" works for either gender - it's become totally gender-neutral.
Here in rural US, I got my first knife when I was 6 and my first rifle when I was 10. It really is a different world, lol
I don't know who originally said it but "If you're not using a framework, you're building a framework". This repo even has the following caveat:
(2) These usually end up becoming a custom micro-framework, thereby questioning why you didn't use one of the established and tested libraries/frameworks in the first place.

That said, I don't hate it. For quite some time, I've taken the stance that a web development team needs an opinionated framework, but it's fine for it to be a bespoke creation rather than off-the-shelf. The biggest value of choosing React, Vue, Svelte, etc is, in my opinion, less about it doing the heavy lifting for you with the DOM and more about adopting an established valid opinion to guide the team's development.
I love that it's so easy to interact with an actual compilers engineers that work on C#

I've been asking various questions about Roslyn or generally programming languages / compilers and they were always willing to help
Diving into /proc/pid/mem
At least for me, doing examples and computations is the best way to learn math, and also very important in research. Often an opaque general statement becomes clear after doing a few small examples. In linear algebra, I personally find some of the courses have too few computations, some concepts are best learned by working an hour by hand on some annoying 6 x 6 matrix..
Haven't come across this before. At a glance, it looks like it's a file sync tool for small scale use, rather than a "serious" tool for replicating a file system.

Curious to know more about your production use case?
Via licenses/copyright.
Don’t forget leverage. Not everyone has equal access to it or has equal appetite to use it.
Why did you quit your job so early if you had no plans for your own work, but still wanted to work anyways?
It doesn't seem like some of it is different interpretations to me but just disregarding some things. Like how jesus said when asked that rich people don't go to heaven. I have alot of religious friends who weren't aware of that part, which seems extremely important to me.
I'm already a customer of Digital Ocean.

Also I didn't ask for any recommendation, so what you did there is pretty much spam.
Congratulations for completely missing the point of my comment. Please go back and read it in good faith.

It's _not_ a value judgement. People aren't evil for having biases. They're not sinners because they do, and they don't have to do penance.
The title in the screenshot says “Continue search for Office Chairs,” which sounds like it shows recent Google searches that have significant presence in the “Shopping” tab of google.com. Sure these aren’t “ads,” like the article says, but if they are links to Google Shopping then they indirectly generate revenue for Google by sending you back to google.com.

Agreed... who asked for this?
True, but I said in the letters that a politician's job is to take the long term view and make those hard decisions. I want to be really clear about those last 2 points; it's part of what they're there for. Future discount is not an excuse.
Will Dr GPT-3 see you now?
If Biden Wins, a Marshall Plan for Red States
One benefit of Austin-based tools is that they don't require any instrumentation/extra configuration. The low overhead means that you can just attach to an application that is running in production.
That looks amazing! From its look it seems a lot like it'd be a replacement for Meetup/Eventbrite, which is something I've been waiting for for a while.

Framasoft is great!
AMD are clowns.

Clowns are acquiring Xilinx? to turn Xilinx into a clown show?
As a side note, I'm hopeful that the genetic modification of the Azolla to be salt water resistant could make similar mass carbon sequestration possible in somewhere like the Dead Sea. I haven't heard of any organization working on it yet though.
LeoFS – A Storage System for a DataLake and the Web
You can replace that page via extensions, which I did long ago to this one that shows scenes from Google Earth:

https://chrome.google.com/webstore/detail/earth-view-from-go...

(I did this to be intentional with new tabs instead of occasionally mindlessly clicking one of the "most visited" links over and over)
I get what you're trying to say, but at the start of the pandemic and before it, Zoom was in some quite hot water over their security issues. They used their influence well but the company could've lost quite a lot of worth if the general public had taken an interest in the security of their software.
UK-Driving-License
Well, Dendron itself is now supporting the language server protocol. So in reality you will be able to take your Dendron knowledge wherever that is supported imminently.
It's sinking
Nice work building something!

It seems the node stuff only works with express? There are lots of other server frameworks and libraries in the node ecosystem.

The way you configure the token needs some work, too. It really should be passed in in the client code instead of having people edit your library.

You may want to give clients a way to redact or suppress stuff in case they don't want to send any sensitive URLs over.

Have you done any benchmarks to see what sort of load this puts on a client app?
I don’t think starting slow is a foreign concept to any of us. I was already taking that into account. Even if you like the outdoors you’re still going to pay a decent amount of money not to get soaked by rain. It’s worth it since you’re not limited by the weather, but it’s gonna sting.
After about 7 months of lockdown, I just felt like I needed some time off before I start a new role!

When I say I'm "bored" I don't mean I just stay on the couch wondering what to do, I do enjoy the down time :)
Yeah. This doesn't seem like something that users would actually want, so there has to be a financial incentive for Google to do it. Perhaps they start off as "not ads" in order to minimise complaints about the feature, but intend to gradually allow companies to e.g. pay for prime spot.
Even GPUs multitask all the time, even though it's less obvious. Cooperative multitasking in this context means setting up and executing different shaders/kernels. The overhead involved in this is quite manageable.

Repurposing FPGAs to different tasks means loading a new bitstream into the device every time. So it is much more efficient to grant exclusive access to each user of the device for long stretches od time. The proper pattern for that is more like a job queue.