skysight-inc/HackerNews huggingface dataset:
I somewhat disagree that this is reflective of a person's everyday work. Usually we're only ever working on at most handful of codebases at a time, and getting oriented in a completely new application (including getting it to build and run on your machine) doesn't happen every day.

I've done interviews like this and one major pitfall is the start-up time. It's possible to spend an unreasonable amount of time debugging cold-start issues with getting the repo set up, dependencies installed, and the app to build while the interview slips away. These things are representative of the first week on a new team or project, maybe. Figuring out why bundler can't seem to download the dependency in the gemfile isn't my idea of a good use of interview time.
This site is borderline unreadable, maybe a little tiny bit of CSS testing in order before sharing stuff here... ouch, my eyes.
In this case, perhaps. But what I'm complaining about is much more broad than that: what I see so often in modern "journalism" is they'll spew a bunch of words about something, but photographs of whatever they're referring to are conspicuously absent, or there's not nearly enough to properly supplement the commentary. It shouldn't be hard to take a handful of decent photos and attach them to the article, but for some reason, many articles I see lately just don't have the number of photographs that seem justified. It's even worse these days when you consider the zero-cost of photography. 50+ years ago it made sense for there to be few, if any, photographs: they were expensive to take (film, developing), and operating a camera took some training and skill (you needed a proper 35mm camera for print-quality photos, and a manual SLR isn't something any idiot knows how to use effectively). Now, any smartphone will take thousands of photos, and any idiot can take photos good enough to be printed, so there's really no excuse. And printing costs are zero too: I'm guessing it cost extra money to print photos 50+ years ago in magazines and newspapers, but now it's all digital so there's no incremental cost to include more photos.

And that's just photos. Video is pretty easy and free too, now that we have YouTube.
Switzerland in its entirety is less than 10% of California and smaller than San Bernardino county.

That said, US Metro cores are denser than anything in CH but have worse transit, demonstrating the importance of door to door analysis. Nobody wants to commute via mixed private and public transport.
How does that mandate work? Do they just check if it’s turned on? How many suggestions get accepted?
The discomfort and stress is a given in any interview. What I think is nice about this is it doesn’t require you to emanate fully-formed, nicely designed code from your brain on the spot. Instead you just have to navigate the codebase, read it and understand it.

It’s a better demonstration of knowing how software works imo. But I am biased because this sort of thing is one of my strengths.
Micro-review after having used it for half a day on Windows.

It seems really lightweight: the UI is spartan but snappy, loading a file is instantaneous, etc. Downloading and installing a plugin is as easy as dropping a Lua file into a directory. And even after installing several plugins, the speed doesn't seem affected.

On the other hand, it comes with hardly any feature out of the box, and everything must be covered by plugins. The plugins are really "atomic". For example, one is to auto-indent, another one to auto-format a block; one is to highlight the matching bracket a second one to jump to the matching bracket, and a third one to automatically insert the closing bracket, while yet another one draws rulers to visualize the block between matching brackets. Do you want to set markers and jump between then? another plugin. Build from within the editor? another plugin. And so on...

The plugin "store" looks good, but accessing it from inside the editor is a poor experience: sometimes it just hungs and you have to restart the editor. Additionally the fact that plugins, themes and fonts are all mixed up doesn't make it easy to find what you're looking for.

Final judgement: if I need to select and install 10 to 15 plugins just to make it on par with a stock Vim, I'll stay with the latter.
Google WANTS creators to embrace the algorithm. The algorithm being the only useful way to get views means google gets to shape how people make stuff for youtube. "Gaming the system" is the INTENDED result.

The best example of this is clickbait thumbnails. Nearly every creator I am subscribed to has expressed hatred for them, and yet they mostly still make them. Why?

Because, when youtube shows your thumbnail to someone, if they do anything other than click on that thumbnail, your channel/video is downranked in the algorithm (because it has "low conversion"). Every creator is in a zero sum, fully antagonistic war with every other creator to get you to click on their video instead of someone else's. If a channel has low enough "conversion" for long enough, youtube will stop showing that video to potential viewers, including your actual subscribers. For a channel to survive and make enough money to pay rent and things, you have to play the dumb algorithm games. Patreon is literally the only alternative.

Youtube prefers it this way because then they get to crowdsource more addictive and "engagement driving" content through millions of creators, rather than just a department in google (which honestly they probably still have). They didn't have to tell anyone to make "more stupid clickbait thumbnails", they did it themselves because it was encouraged by the incentives given to them. A Youtube where everyone plays the algorithms and thumbnail games literally earns more money and views than a youtube where every creator is only driven by their own desires to make good art. Google has been doing this since they bought Youtube. Early on, only videos longer than ten minutes could get ads, so every video ballooned to ten minutes and one second in length.
> I think all the talk about channel permissions is making the discussion more confusing than it needs to be.

I totally disagree, because the channel permissions critically explain how the vlunerability works. That is, when User A performs an AI search, Slack will search (1) his private channels (which presumably include his secret sensitive data) and (2) all public channels (which is where the bad guy User B is able to put a message that does the prompt injection), importantly including ones that User A has never joined and has never seen.

That is, the only reason this vulnerability works is because User B is able to create a public channel but with himself as the only user so that it's highly unlikely anyone else would find it.
The monetary incentives are not in your (and my) favor.
> All non-competes are harmful, end of story.

Ah. How could I be so foolish as to think there might be some nuance to the situation! For what it’s worth a lot of friends in finance are/were bummed about how this law might affect gardening leave. [0]

[0] https://finance.yahoo.com/news/whether-wall-street-garden-le...
Authors sue Claude AI chatbot creator Anthropic for copyright infringement
Not really. Especially if both systems are already in place and they just need to turn it on.

The swipe system should be a very minor or zero part of the rent, not double.
Dodge Rams are also #1 with drunk drivers[1]:

[...] one in every 22 Dodge Ram 2500 drivers has a drunk driving conviction on their record. The national average is one in 56 drivers, meaning Dodge Ram 2500 drivers are more than twice as likely to have a DUI conviction on their record compared to all other drivers on the road.

1: https://aacriminallaw.com/the-most-common-vehicles-for-drunk...
At one place there was a bug squash interview like this. Rough idea was we wrote a very small version of a system we had in our app (some data-syncing-then-displaying service), with a handful of bugs and a very simple feature request.

It was very helpful for sanity checking if a person was able to be in front of a computer. There's a bit of a challenge because I think there's a pretty low ceiling of performance (strace on a Python program is fun, but our bugs are not that deep!), but we could use it to also talk about new features on this mini-system and whatnot.

General feeling on it was "this is a great filter", because ultimately we needed people to just pass above a minimum skill bar, not be maximally good at coding. And having the exercise really helped to communicate the day-to-day (which can be tedious!)
You won't see me supporting Meta very often, but they have the right (and should have the right) to moderate content and remove accounts that violate its policies.

The Cradle has a long history of spreading verifiably false disinformation, promoting anti-Semitic tropes and conspiracy theories, and encouraging violence against civilians.

They may have the right to say false and hateful things, but Meta has no obligation to amplify them.

There is evidence that Meta enforce their moderation policies differently depending on the viewpoint at issue. Meta appears to take a harsher approach toward supporters of Palestinians who violate their "Community Standards" than toward supporters of Israel who do the same thing.

With that apparent bias acknowledged, Meta is still well within their rights to keep this particular garbage off their platform.
Yes. And no one wants to listen to the people who deal with this for a living.
There's no global power grid. There are lots of local power grids.
Quick nit/question. For the fold method, I don't think I've seen it called sentinel value. Usually it is seed or initial?

I think in Scheme it is common to call it knil, mirroring how lists use nil as the "sentinel" value which marks the end of a proper list. I opted to name it sentinel in that article (and in the docs) for two reasons:

1. Sentinel values are a common topic in many languages https://en.wikipedia.org/wiki/Sentinel_value

2. Transducers necessarily abstract across a lot more than loops / lists. Lisps do a lot of really cool (and optimized) stuff with lists alone and Scheme is no different in this regard. However, because of how Scheme primarily exports list operations in (scheme base) is really easy to run into a situation where lists are used in an ad-hoc way where another data structure is more appropriate. This includes vectors, sets, mappings, hashmaps, etc. Transducers-the-library is meant to be general across operations that work on all of these types, so I chose language that intentionally departs from thinking in a list-focused way.

Now, my main question. Transducer? I'm curious on the etymology of that word. By itself, I don't think I could ever guess what it was referencing. :(

This is from Rich Hickey's presentation: https://www.youtube.com/watch?v=6mTbuzafcII

It's not a reducer, because they serve as higher-order functions that operate on reducers. Instead, the values they accept are transient through the function(s), so they transduce. You should watch the video, I think Rich explains the origins of his language very well.
> It's also not universally available, particularly on mobile devices and/or Google Chrome.

FYI it is available on Firefox for Android.
My question to this and other supposedly free AI tools... Who's funding your electricity bills? I really don't get it how this can be free. Mayhaps, it's as free as you have small amount of users? Or is this marketing for your upcoming product?
I do. It’s not complex to click on the citation, skim the abstract and results and check the reputation of the publication. It’s built into how I have always searched for information.

I also usually follow most prompts with “look it up I want accurate information”
> If you're screening to only candidates who can code in the language your company primarily works with, you're missing good candidates.

I agree with that. I work somewhere that uses a lot of OCaml, we don't screen out those who don't know OCaml, but it usually helps them, since static analysis is easier with an ML family language than say, javascript.

> We want to map the candidate to whatever language in our repository of "this question in different langs" is closest

If there's not a close language in any of your repositories for the candidate, then I think that's a good signal that candidate may not be a great fit. As mentioned before, we don't necessarily ask candidates to write OCaml, most functional languages will have a similar bug + fix.

> problem statement to debugged bug
what if the problem you might normally run into is perf issues related to the language? I.e. HFTs usually use C++ and perf = $$$. I would agree that yes, those who have worked on say Rust could be good candidates, but if someone has years of experience in writing highly performant C++, and that's what the job requires, probably easier to look for those candidates.

I definitely agree with you in general, just pointing out that there are times where being familiar with the language used is desirable.
Yes, but that part isn't the vulnerability. That's how Slack search works. You get results from all public channels. It would be useless otherwise.
Hah, sounds good. I still don't get your argument here, I would be curious to hear more.

My point is that git is a data store involving a genesis block (initial commit), blocks of changes/diff's, tracked in sequential order, and with a form of consensus (code reviews and merges to primary).

What is missing that makes it not a blockchain?

And my caveat here, I can't stand arguments for cryptocurrencies and have never purchased any. Blockchain as a concept is fine, and git is a blockchain as best I can tell.
I'm not too proud to admit I took the general concept from https://sadservers.com/ and turned it into something I could use for interactive debugging interviews.

I had golden images with some scenarios I wrote myself, and the images automatically shared a tmux session over http so I could follow along without requiring the candidates to screen share.

I did have to ask for IPs so I could ensure the machines were just available to me and the candidate, but it was otherwise pretty seamless!

Though now that https://sadservers.com/ has a paid service it might be worth looking into.
The macOS reference is irrelevant to Java here.

The charset defines the encoding which applies to first and foremost I/O behavior on how it treats otherwise untyped stream of bytes that are being converted to or from (UTF-16) text as stored by Java.

https://openjdk.org/jeps/400 is yesterday's news and something that .NET has been doing since long time ago (UTF8 encoding is an unconditional default starting with .NET Core 1.0 (2017)).

Whether Win32 APIs take UTF-8 or something else (well, it's usually ANSI or UTF-16) is something for the binding libraries or similar abstraction packages for a language of choice to deal with, and has rather minor impact on the overall flamegraph if you profile a sample application.

I find it strange having to defend this, but the UTF-8 vs UTF-16 argument really has no place in 2024 as dealing with popular encodings is as solved problem as it gets in all languages with adequate standard library.
>I think my general perception is that AI is a great assistant for some occupations like software engineering

I think that's why I like to compare the current state of AI to the state of the CPU industry maybe around the 286-486 era going towards the Pentium.
Strange and wondrous creatures: plankton and the origins of life on Earth
This. Companies typically get these non-compete and non-solicit clauses in place when you accept RSUs or other equity award. In some cases they don’t even vest for a few years or could be worth only a few thousand dollars. It’s hard for me to get my head around the fact that nearly no meaningful consideration is actually given to employees when in fact the potential down side of loss of income is so huge when you are prohibited from working in your field for a year or more. The deal is absurd and should be prohibited.

If there is a real threat of damage to a company’s competitive position then the company should pay you to stay on the sidelines, instead companies are stifling individuals ability to grow and earn an income.
> "Today's decision does not prevent the FTC from addressing noncompetes through case-by-base enforcement actions," Graham said in a statement.

Oh yeah, any time you have to deal with a non-compete, just ring up the FTC. Because everyone has the resources to litigate. Ridiculous.
A GUI that uses native controls and platform UI conventions with the native behavior expected on the given platform, or a near-indistinguishable equivalent of that.
And when they are subject to US regulations, they typically make that implicit caveat into explicit disclosure. See eg https://news.ycombinator.com/item?id=41303671
Note that the ruling was ostensibly about whether the FTC had the authority to ban noncompete agreements across the board, it was not per se a ruling on whether noncompetes are good, bad, scary, awesome, legal, or illegal.
Move away from the songs strawman you're arguing against. My point was about content in general. As we get better and better at recommending the next content item based on engagement and likes, we make things more addictive. We don't have to do this. Not everything needs to be a slot machine that keeps you there as long as possible.

I love listening to one podcast episode each evening while I clean my kitchen. I do this each day. I would pay for this. I don't want this to hijack my brain and keep me up all night with content that requires an inordinate amount of willpower to put down.

There are plenty ways to provide content and make money off it without optimising for the best possible next item that keeps a person engaged until they fall asleep.
Careful, now.. “liar’s dividend” comes close to “Dionysian profiteering”, which might trigger one of us ;)

Want to add that I like Rao’s syndromes better as he highlights the asymmetry — the weird are, from “intuition”/“experience”, outnumbered by the hypernormal. A bit like the apparent asymmetry between insurance & gambling. But I’m not sure that asymmetry helps to characterize the Cultural conflicts any better than the Apollonian/Dionysian split.

Caveat to the caveat, there was a HN post, almost claiming that everyone is weird. Should that be weakened to, “everyone could aspire to be Wojak”?

https://news.ycombinator.com/item?id=41293505
My only problem with YouTube toasts is when the toast to confirm you've enabled closed captions covers up the closed captions you were trying to see.
We would run stuff in repl.it, you get the shared codespace and also don't waste time on the ops issues (which are maybe interesting and you really want devs to be able to handle but also entirely incidental complexity for most devs).

In abstract I think it's great to have people use tools their comfortable with, but I dislike dinging people because they write good code but are not good at unborking Python venvs (less of a problem now) (yes you can be a good programmer and still lose time on dumb environment stuff)
Win. "Never allow them to have a single win in their minds."
What is a behemoth in your opinion? I drive a Camry and if I have my step daughter I am short a seat. If I have an adult friend and all my kids I am short 2 seats. If I travel and don’t even take my step daughter or another adult it is extremely cramped with any sort of baggage. The next sized up vehicle like an suv or minivan still is not that big for me. So I am just curious do you have an example of a car that you would consider a behemoth?
Right-to-work laws only affect employees' relationship with a union if one exists in their workplace, not employee<->employer relationships. So “living in a right-to-work state” has no relevancy to your anecdote.
which part of twitter suffers because he fired people?
If something is "so close," probably just use it.
This is marketing, there will be an advert posted in the banner later once the stealth product is ready. Plus also, AI inference costs have plummeted in the last ~6 months - whih is why so many AI services now have such generous free teirs.
It's an issue pretty much anybody who's gone through a tertiary academic institution should have some awareness of. That's well over half the adult population these days in the US and likely EU.

Being cut off from library access was a huge shock for me on leaving uni.
That does sound anti-competitive. Imagine if Google poaches hot people in industry and then just sits on them during a critical market time, doing nothing, because they don't have any particular work for them, they just don't want them working for the competition.

Those garden contracts sound like a variation of the same idea.

Anyways, if I understand FCC's position right, they also had nuance for specific non-competes.
Not electron
We need a Hippocratic Oath for journalism headlines.
Something I thought of too, second to only a few months ago, where I remember an article coming to the top of HN stating that JSTOR was now free in a ton of prisons. Stopped me dead in my tracks, with potent thought of Aaron - may he rest.
Providing venture capital funds for startups and tech companies? As a non American, it still seems like you're more likely to get investment early on if in the US than anywhere else in the world. So it might still be the best place for risky early stage businesses, since they actually invest in companies offering consumer facing products.
That's fine. Each edition is a new work and should be frozen when completed.
There are some major changes to platform development that are coming (both flexibility and usability). Sadly, they have been slow to introduce. I think that is a large part of the reason the documentation doesn't exist. Right now writing a platform is a much harder process than it will be in the future. Until a certain chain of features land, I expect this to stay as bespoke knowledge that is obtain through modifying examples and asking questions on zulip.
> It's a bad system and you should feel bad for using it.

What "system" is bad and why? The poster made several arguments - which one of them are you rebutting?

The core idea that "you should have to pay more money for more features" makes sense from a basic economics standpoint (regardless of other rationalizations).

> I wonder if someone avoided perfectly reasonable SSO protections because of this tax

I don't know how much sense this speculation makes. SSO is complex to set up - without data, you could just as easily argue that misconfigured SSO makes breaches more likely, instead of less.

Plus, from a more practical standpoint, if you're frustrated about the never-ending stream of breaches (as I am), then it'd be better to push for laws that make the end result (personal data leaked) directly illegal with steep fines. There's too many different "upstream" problems (lack of SSO, default database credentials, buffer overflow in web application, misconfigured authorization system in webapp, etc.) for the strategy of "wage war against them one at a time" to be productive.
That's not what right to work is at all.

What you are describing is "at will" employment.

Right to work means that you have a right to choose whether or not to be in a union. It effectively makes "union shops" illegal.

Unions don't like it because it makes them less effective.