skysight-inc/HackerNews huggingface dataset:
I hope you have your mattress ready by your chair, because I just put this prompt in AI dungeon:

$ You are a fresh CS grad. You're preparing for a job interview. You ask on StackOverflow: "how to write a FizzBuzz program?"

And, repeatedly pressing <Enter>, I got the following:

> The first response is from an experienced coder who has been programming for 20 years and knows the answer. He writes: "FizzBuzz is a simple algorithm that can be written in one line of code."

> He goes on to explain how you should implement it, but he doesn't bother to give any examples or explanations. It's all very basic and obvious.

> Then comes another coder with 10 years experience. This guy has a lot more knowledge about programming languages than the first one did, so he gives you some pointers. Although his advice is useful, it's still fairly basic.

> Then, someone with only 2 years experience answers. They give you some simplistic examples.

At this point, I add:

$ The first example looks like:

And the game immediately wrote the following:

int fizzBuzz ( int number )
{
if ( number % 3 == 0 && number % 5 == 0 ) printf ( "FizzBuzz" );
if ( number % 3 == 0 ) printf ( "Fizz" );
if ( number % 5 == 0 ) printf ( "Buzz" );
if ( number % 3 ! = 0 && number % 5 ! = 0 ) printf ( "%d" , number );
printf ( "
" );
return 0 ;
}

(Yeah, I know it hasn't really learned to code, but it apparently does have it encoded in its model.)
I can run 80s software on a modern PC very easily.
Camping and outdoor activity, real estate prices, new housing starts. Sales of gym and excercise equipment, playgrounds, video games, really all the hobby sectors boats I think.
I'm saying that an O(n!) algorithm is not necessarily faster asymptotically than an O(n) algorithm and that saying it is shows a fundamental misunderstanding of the definition. This is regardless of time/space tradeoffs and large constants.
The way it works is that you are sharing your local files to the other people and when they edit the file, all the changes are being applied to your file. So in the end you are the one saving all the changes and making the commits.

You can be working in parallel in different files or just following around. It really depends on what you are trying to achieve.

One cool thing to try with GD is mob programming. :)
That argument falls because it was never designed that way. If you want broad browser support and careful testing of edge cases you can't threat it that way, even with WASM you likely won't escape it.
It’s pretty common in data science or financial applications to restrict the range of data in this way.

There are probably SQL devs reading this and wondering what the fuss is about.
How much of this debate would be moot if we had a proper social safety net, so workers didn't depend on their employers for necessities like health insurance? Social democracy can make the economy more agile, not less.
author or... co-author ?

maybe there's room for another name here.

or maybe not. Do you say "co-authored by word spellcheck? grammatical checker?"
> The median stock actually performs worse than short-term treasury bills.

I wonder if that is holding true when short term bills are yielding 0.1%. Thats sufficiently close to zero that it would imply the median stock has a negative return. I suspect that isnt true if you include dividends, though it might be true over longer timelines where T.bill yields were much higher.
> he wanted me to use a technical solution that did not work, while making me fully responsible for the result

Just say "yes", and work on your job-hunting instead.
Are you sure? I've never worked with professional devs that aren't familiar with the usual algorithms and data structures.

Whenever I interview I'm always asked the usual leetcode bullshit. Are there programming jobs that don't ask/require this stuff?

I have met a lot of analysts and researchers that code Python for data science that know nothing of big O, but that's to be expected.
There's something to be said for keeping your tower of dependencies short.

Absolutely, but you still need to present an interface. Essentially, which interface you present (REST, command line, language-specific library, VM/container, etc.) has in most organizations become a political question, to which implementation details are largely held hostage.
That's not true. We don't need the US to lead. The natural state of human social equilibrium in anarchy, and was indeed the mode of social equilibrium in most of human history until the "tragedy" of agriculture.

And indeed, if you take any half decent IR class they will teach you that the state of international relations is anarchy.
I think you missed the point.

Why would someone work 2 part-time jobs at $12/hr instead of one full-time job at $12/hr?
Ask HN: What are your red flags for a project about to fail?
Premise: Not every software development crisis has an early warning system, but plenty of them do. If you learn to recognize the signs early enough, you may be able to prevent the project from failing.

I'm collecting red flags for a listicle. What should I include?
Notes on structured concurrency, or: Go statement considered harmful – njs blog
Possibly a dumb and general question. Is Uber and Lyft responsible for state tax revenue from its contractors? Or are the contractors supposed to pay their own taxes? I could understand the states having problems with contractor's paying their own taxes considering their incomes are lower.
> If customers don't like a ceratain app store, or solution, then they don't have to use it. I am trying to force other people to do anything with their own phones. I just want Apple to stop doing this to my devices, when they, for example, sue people who offer repair services.

This is an interesting answer. It sounds like you're not an app developer, so why do you care if Apple takes 30% cut of the developers app? Or is it that you're concerned about apps you like not being available due to contract disputes? Could you elaborate?
No, the referendum is this November (prop 22).
Isn't payroll tax kinda like a 'per employee' corporate tax? In most cases, what is the point of looking at your pre-tax salary? It just seems like creative accounting between the company and the government(s). In most cases, all of the decisions you or your company make around salary deal with take-home pay. Companies must be paying people more specifically to account for payroll taxes. That amount is effectively the corporate per-employee tax.
If I build a car and someone shifts the gears without using the clutch, breaks the car and then whines about it, that might be irritating but totally legal. So I wonder if that sort of business practice would hold in front of court.
As someone who has been falsely accused of a crime in the past, I'd just like to remind people that being charged with something does not make you guilty, it's an allegation. I know you know this,but society today seems to be treating allegations like convictions
I had to get a Rails project from 2008 back up and running not so long ago, wasn't much more trouble than compiling ruby 1.8.7 (or was it 1.9.3?) and installing some gems. Admittedly, there were only a few dependencies in the project outside rails itself.
Where are you geographically?
If it’s rail, can you just expose the rails cache object in liquid? Give control to merchants. That would yield bigger speed improvements.
one example https://www.latimes.com/business/story/2019-12-17/vox-media-...

The only reason we haven't seen other professions being widely decimated by AB5 is because they all lobbied for exemptions which again shows how corrupt this law was.

See the full list here https://www.nolo.com/legal-encyclopedia/exempt-job-categorie...
Sounds like a simple typo, s/let/yet/
That's a lot of excuses most of which do not stand up to scrutiny.

However you slice it, Hamas is in full charge of Gaza. They can call for a new election whenever they want.
I very much agree.

I get that “done is better than perfect” but it feels like we’ve swung so hard in that direction that we seem to be largely neglecting stepping back and building the rough roll for the job in all but the largest places who have the luxury of having enough resources to assign a big enough team in the background to do it.
Doesn't make much sense then. Your browser will run those.
I've found that the further back in time you go, the harder it is to run programs without encountering odd bugs, until you hit a certain inflection point where the systems are so old that they're relatively simple to emulate, and for popular systems we often have high-quality emulators that are capable of running the software reasonably well. For example, try running Diablo 2 (released in 2000!) on modern Windows, or modern macOS: it's not straightforward or bug-free, in my experience. It's reasonably good on Wine, ironically — because the Wine developers have built a really good emulation layer.

I don't think it's (application) developer fads; how would that even make sense? Either the OS broke userland, or it didn't; if it didn't, then the same binary should run just as well today as it did then. If it did break userland, that's not the fault of application or framework developers.
There's a difference between being skeptical of idealistic schemes and fetishizing the status quo, which is what I think the right predominantly does.
I once worked for a company which was already established in many markets, no tips allowed and fair pay. When the company entered the US market we got asked about tipping left and right. Workers seem to like the gamble on getting a huge tip and for certain industries customers just assume that workers aren't well paid.

But do you tip at Mc'Donalds, the gas station or the supermarket?
Oh yes, the model does that sometimes :).

It's something you want to immediately edit to keep the story consistent. Though sometimes I could get it back on track by just having my character deny what the other character or the narrator just said.
It's possible to blame both. You can certainly blame the union for acting against the common good.
Well, this particular word is sort of overloaded due to legacy reasons, right? For instance, strictly I would not consider most mathematical sciences 'science' - not empirical. Likewise, non-empirical social sciences aren't sciences in the science sense either.

But the word 'science' means something different from its meaning in 'social science' just like 'Act of God' in your insurance paperwork does not mean a supernatural being acting (it just means natural catastrophes and the like - one kind of force majeure).

Altogether, I've chosen to just accept that "social science" is not "science" in general.
Lots of people who make decent money live paycheck to paycheck because of poor decisions
I'll continue to blame the minority interests that are doing everything possible to keep LA transportation stuck in the stone ages, thank you.
I actually noticed yesterday that apparently G Suite customers can email Gmail accounts using domains with invalid SPF records (set to hardfail if not from a different mail service). I thought that was very odd. It seems that Google assumes G Suite's domain validation process is adequate, and doesn't bother checking SPF records for mail internal to Google's infrastructure. The flaw reported in this article depends on this apparent decision.

Whilst this general choice may not be the gaping security hole it feels like, because G Suite validates domain ownership, it does lead to people setting up G Suite, configuring their MX records (G Suite doesn't make SPF obvious to a new account, when I did it a few months ago for someone), and then people may email back and forth with a personal (likely Gmail) account to test it works.

Then, when they email someone with another mail server, they blame us when their SPF record is configured to block G Suite.
Someone: Here is how I put a sink in my bathroom.

The geniuses of news dot ycombinator dot com: I am scratching my head. If you had simply put a kitchen in your bathroom you would have gotten a sink for free. As a bonus, you would now be able to cook your dinner there.
>those terms include not exfiltrating data

Is there a way to determine that your credentials are sufficient to download an S3 object without actually downloading it?

How would you know whether you'd found an information disclosure vulnerability without peeking at the information?
This thread wasn't about the article's piece of art, more about the example provided by me as being a gimmick disguised as art. As stated in the root comment, I like the piece the link is about as it's far more authentic. (Obviously this is all opinion)

The example I happened to provide though definitely scales. The line was a 3 hour wait and the entrance was not free (granted - covid capacity and all that).
You can do the same thing with Fastmail. Completely indistinguishable from a legitimate email - all signatures look exactly the same. Any user can impersonate any other user. Not considered a vulnerability.

What's especially frustrating is that Fastmail have a special opaque sender header that only they can interpret, and they put a little "verified" icon on email that actually comes from them. So it's a vulnerability if I impersonate them, but not any other Fastmail user. Sigh. I'm a happy FM user, apart from that. But I'm going to keep bringing it up until they do something about it. At least let me blacklist my domain from being used by other accounts jfc.
I went and looked at the docs to refresh my memory - there was also a subquery fetch strategy where you didn't have to wait for the root entity to load, but that comes at the expense of searching through data twice - which might or might not be worth it, depending on how complicated the query is.

I do wish relational databases (PostgreSQL and SQL Server specifically, since I work with those) had better support for automatically updated real-time materialized views.

Anyway, thanks for working on NHibernate - I miss some of it's configurability and advanced capabilities.
>> I swear, one of these days I'm going to write a book about how to actually do a good job of interviewing software engineers.

Same, except I can fit mine in a blog post. Tripplebyte got on here a few years ago and wanted people to conduct technical interviews so I started to sign up / apply. Then they wanted me to take their javascript test... I've never written js, nor would that have much if any bearing on my ability to interview software candidates.
I wish their /etc/os-release said:

BUILD_ID=rolling

but I'm an Arch user so what do I know? :)
What does the tech stack look like?

Is there any caching for those situations where you may read the same historical data over & over?
Netflix or Epic do not benefit of Apple Store brand, my bank does not put their app in Google or Apple sore because they hope to get on "top apps" , they put their app there because they have no choice, the users are there and they want an app.

If you think the Apple Sore brand or "top apps" is important then have extra options (like web hosting). So I might not want my app to be promoted, I just want my users to be able to install the app I link from my website similar how they can install it on their PC. If my updates are eat6inb bandwidth then I pay for that, if I want to be promoted I can pay for that, if I want support I can pay for that, if I want an IDE I can pay for that etc.

I think you are putting popular apps like Netflix,Epic,Dropbox, my bank thagt have no choice to be on all platforms with some small video game or TODO app that benefits by getting exposed to people on a "Top apps" or "Similar apps" screen.
Eck. Sorry about the copyediting error on "roman." Fixed! Thanks for the callout.
You can find them here:

https://developer.microsoft.com/en-us/microsoft-edge/tools/v...
That's nitpicking. It is clear that failed states are those with nontrivial scale violence perpetually initiated by non-state actors. The strength of the state equates to its capacity to limit the scale of others' violence. US gun laws, globally speaking, are a statistical anomaly, and if you started using guns against others with any scale or frequency the government would surely intervene.

None are more hopelessly enslaved than those who falsely believe they are free. - Goethe
Even if it were a product there is simply no justification for embedded a second language when all you want to do is read some config files.
Is This the Real Life?
camels have three eyelids
you're right, I updated the title (removed "for personal use" qualifier)
How much of the general public is going to be capable to set up and maintain a server in their basement? To challenge YouTube, targetting just the programming crowd isn't going to be sufficient.
The fact that in most places in the world there's legislation that defines requirements and responsibilities for professional drivers, from qualifications, to insurance, alcohol intake, maximum working hours, minimum rest hours, etc., Implies that it totally does exist.
*Destin
> Such elections aren't proof of democracy

While the current situation is an indicator that Palestinians don't get to choose their leaders.
The Los Angeles taxi union prevented (read: bribed and coerced) the state / city government from installing a train from LAX to DTLA because they were rolling in cash.

This is false. Pure FUD. The LA taxi union isn't a very powerful union, and was never the primary roadblock to building the Green Line all the way to the airport. The FAA was the reason: they thought the power lines for the rail line would interfere with landing paths of planes. https://www.dailynews.com/2008/01/09/why-green-line-stopped-...

California is corrupt as fuck, from GM paying LA to take out way more efficient train lines so they could sell buses to Beverly Hills preventing LA from building a subway. It makes living here absolutely miserable.

This is also a fraudulent representation of history. The old rail lines (i.e., Pacific Electric) were never profitable because they were intended as loss leaders for suburban housing developments. The lines ultimately went bankrupt when cars became popular because they had a max speed of approximately 15 mph. When LA formed its nascent public transportation system in the 50s, it acquired the few busy/profitable lines remaining. Some of those rights of way were used for new rail construction (for example, the E line to Santa Monica).
I have the opposite opinion, people focus on Big O too much. Designing for Big O is like designing for scale. For some reason we can recognize that building a system for a billion users doesn't make sense when you have a thousand... meanwhile we're out writing code with std::unordered_map instead of std::vector with fewer than a hundred elements in the table.

We need to make a bigger fuss out of the "C" in Big O, teach people how to use a profiler, and teach more about memory layout and how computers actually function - time complexity isn't time of execution. But too many people treat it like that.
Don't forget that a Shopify store is 100% customizable by merchants using Liquid (Turing complete, not that you should try). There is no .html.erb layer. Think of Storefront Renderer as a Liquid interpreter using optimized presenters for the business models.
Make a double hop.

Give your antenna a cellular connection, route over a few hops, cover your tracks.
If I may add to this:

* Apple's payments API is very difficult to work with, especially compared to something like Stripe.

* Developers cannot disable their customers' subscriptions, or offer refunds. This has to be done through Apple. The leads to a poor customer service experience.

* If the customer uses their subscription through your website or moves to Android, they're still locked into the iOS subscription - making it impossible for them to upgrade/downgrade their plan.

* Customer's subscription is tied to their iTunes account. This leads to confusion if they sign into your app while signed into a different iTunes account.

I could go on. But having implemented Apple's subscription API, the frustration goes way beyond just the 30% fee (which is really my company's problem, not mine).
:D.

Sometimes it even gets scary. Like that one time where it generated a sentence: "... she said, without turning around. You have a sinking feeling that something is wrong."

...

And then generated some lovecraftian monstrosity. This was supposed to be a nice story, so I kept pressing Retry, only to see even more disgusting and mind-bending horrors being produced. I finally gave up and torched the whole paragraph, just to be sure.
Maybe for their own products. Definitely not for others.
There is a 4 and 5.

4) Realizing that there is a Big O around the larger architecture and thinking it is always important

5) Realizing that archecture is determined by the problem space, so addressing the problem itself as directly as possible will converge on optimal Big O

Once you've done it over and over for years it becomes more clear how Big O just reflects the assumptions, and fighting it at the terminating point of the specific algorithms and data is a thing to defer until an easy win is needed. The only effort greenfield code deserves for optimization, OTOH, is to quickly review the language's built-in structures, and pick the one that is approximately best. Push the features, then as time permits build profiling mechanisms to find the hotspots as the system gets production data.
I'm not testing runtime, though, I'm testing whether clamp gets optimized.
It is bad faith because the evidence you provide is accusing the unions of working towards their expressed interest, to protect the workers from bad labor practices.

Unions also have a notion of solidarity. What is good for workers in California is usually good for workers in New York. That is why you will often see unions acting across state (and industry) boundaries, in solidarity with other unions and non-union workers.
Neix – a news reader for your terminal
>If I get kicked off of Epic’s platform. Where do I go?

Steam, GOG, Windows Store, itch.io put your app on mega/GDrive,Dropbox and share the link on Facebook and Twitter should I continue ?
Never waste a crisis, after all.
Perhaps the issue is that it is far cheaper and easier to start from scratch and create a small app these days.

As we innovate exponentially faster and have better tools and languages, it is far easier to tear the building down and start over.

Also, I don’t know of a single app I use regularly that is older than a few years.
Well, our current particle theories predict that virtual particles constantly appear and disappear in a void, and we are actually building a huge laser to try to see if we can observe this happening.
The real answer is it depends on what you think what responsibilities exactly ESB or Workflow Orchestration should have. dragonwriter is of the reasonable opinion that ESBs focus should be a message plane. If your of my opinion, ESBs generally include some of the features found in workflow. devonkim is also right in that ESBs in general let the business data/process bleed into the rest of the stack, where as with workflow, its completely agnostic to the business data/process.

The most accurate answer would be from comparing various ESB products to Workflow Orchestration products, as every vendor/product will have slightly different opinions on where their responsibilities are.
Independent contractors pay their own taxes. Uber and Lyft offer tools and assistance to help drivers adequately report and take deductions etc. as needed (Lyft at least offers the ability to export ride data etc. as needed, I believe but am not sure if Uber does the same).

Companies pay taxes for their employees (different tax relationship altogether). Another way to think about it is... do you ever pay taxes for a painter or plumber that does a job for you? (probably not)