skysight-inc/HackerNews huggingface dataset:
Sounds like a wonderful tool for fundamental CS courses and projects. I remember assignments like creating a Cesar Cipher using Java, being distracted by tangential stuff like what the static keyword means and importing libraries. That language was a lot to take in, just tuning-out the noise from what I needed to learn. Something like half the class did not take the second course. Most of the thrash had little to do with the assignments themselves. Being able to toggle between a visual representation of the program and the code helps students' comprehension of the core concepts immensely. That much is obvious when you work with kids on Lego robotics projects. I could imagine a tool set like that, with the flexibility to build something like a console blackjack game. It would quickly become a standard for teaching secondary school programming courses. Hopefully someone else will take up that torch before my own kids are looking at learning how to program.
Google Pixel 6 Launch [video]
Largest Known Undersea Volcanic Eruption Explains Odd Seismic Waves
https://www.bloomberg.com/opinion/articles/2021-08-31/theran...
Yes, your description is clear and I can see why it's illegal and immoral, but the article is very vague on what's illegal or wrong about it.

The key distinction that you outline is that the CIO did something behind the company's back that the company would almost certainly not have approved of. The CIO defrauded their own company by taking kickbacks in exchange for purchasing agreements; most people can see that as being wrong.

As I'm reading this article with no familiarity or background knowledge, I did not presume that this exec, Kail, was doing something that Netflix would not have approved of and using his position for his own benefit and to defraud Netflix.

If Netflix had been okay with Kail becoming a consultant or partner of the startups that Netflix entered into an arrangement with, then there would be no issue.

Anyways, this article is written as if the reader already knows what happened and what's going on, which is fine but it shouldn't be titled "Why a former Netflix exec is facing ..." It should have instead been titled "Former head of IT Operations who defrauded Netflix will face 7 years in jail."
You actually don't need the iOS device - Safari will also link up to the iOS simulator, so you can do this with just XCode.
Facebook Novi: International money transfers for free
Einstein had such a characteristic style that his proof of the Pythagorean theorem, as a kid, is unmistakably his. That's remarkable because you might think there's just no room for anything so simple to bear a personal stamp.
“10% of TypeScript” sounds like words uttered by someone who has never used typescript. Strictly typed programs are incredible. My UIs never crash anymore
I think what you're describing is an investor in two companies setting up deals between those companies. There is nothing wrong with that because the investor is in the role of a part owner in both cases. They're not an employee of either company. But I'm guessing, it's not clear to me exactly what kinds of arrangements you're referring to.
You can try Lambdatest.

https://www.lambdatest.com/feature
This is interesting, and this should be possible to implement on Mina with Snapps (smart contracts).
>What isn't okay (at least to me) is to say to employer 1: "okay, I'll give you my full time energy, give me work to do", then figure things out so you don't have to give your full time energy (automation, realizing that meetings take too much time, whatever). Then, with that extra time, instead of asking for more work (as you said you would), finding another job.

I don't know of many people who give employers their full time energy. They'll give them X hours/day of their time Y days/week to work in some agreed upon venue in line with how other employees work.

The idea that someone who does well in an agreed upon role and doesn't need to spend X hours/day of their time Y days/week to perform in line with others should take on more work for the same pay is very managerial.

Along the same lines, if I hired an assistant to do something that took me 10 hours/week, and they did it in 5, I would view that positively.

On one hand, if I overestimated how much it takes for someone else to do that work, there's a good chance I can find someone else who will do that same amount of work for half the cost.

On the other hand, if I can't find someone else to do the work for half the cost, that implies the person I hired is very talented, and I would rather have someone talented/skilled as an assistant than someone who isn't as talented/skilled. Yes, I'm paying the talented/skilled person more per hour, but I'm ultimately paying someone to do something specific. I'm not trying to optimize how much work I extract from them for a given amount of money.
also I'm sure many at HN know this but the same applies to the Google accounts
While it's easy to go overboard with destructuring like

function foo({
quux: {
foo: {
bar: {
baz: [first]
}
}
}
}) {
console.log(first);
}

(I've seen things like this), that's what code reviews are for. I find destructuring one of the features that made reading (and writing) JavaScript actually tolerable.
It's a word I've used a lot when trying to explain to recruiters the sorts of jobs I'm looking for - trying not to pigeon hole myself into a particular technology/stack. I guess any single programming job is still a lot narrower than what Tim Minchin is referring to when he uses the term, but he's a genius.
I lost my instagram account twice. No explanation. Just they were closed for 'security issues' - I sent over 10 emails with personal pictures asking FB to revert that decisions. Nothing, not even a reply.

Seriously, I am out. I didn't even bother to open a new one.
This is why we need SelfSovereign Identity (SSI), which is really a buzzword for the concept of 'A user should own and fully control their digital identity and digital content, which requires decentralized identifiers'.

SSI is an interesting approach that has been slow to build up steam, but there are a large number of people developing it. It has some bumps and warts to work out still, but overall I think it's a workable technology, and definitely better than what we have now.

For more information see https://en.wikipedia.org/wiki/Self-sovereign_identity and https://tykn.tech/self-sovereign-identity/
(Timescale engineer here)

To summarize a bit on what David said here[1]: there are no modifications to the query engine, this is all using Postgres's custom operator support.

https://news.ycombinator.com/item?id=28920110
BIG if true :O
It's also for everyone not involved to notice something is wrong if they overhear a contract-related conversation that mentions kickbacks.
This is more hustle porn. As a software contractor it is hard enough to work for multiple fast-moving companies at the same time. The notion that you can do 40*n hours of actual, meaningful work (that you can remember, or communicate, or otherwise dump from your chaotic mind) is kinda ludicrous.

To me this is advocating the equivalent of polygamy - where you have two full-time families living in two separate homes and you are going to somehow bifurcate your entire life for the two of them. How do you tetris your life schedule? The baseline cognitive load required for that cannot be ignored.

Anyway - one man's trash is another man's treasure. For this person, it works. Suggesting this is the new norm and here to stay? Not so sure. Generally speaking I don't think this is healthy or even moral/ethical when you consider these companies are ultimately expecting meaningful work out of you.
It seems pretty clear that software is behind the auto industry in build quality/reliability too.
I would start with https://gobyexample.com/ and https://learnxinyminutes.com/docs/go/

Go By Example will take a beginner from Hello World to writing a server in a short time, and you can naturally splice in other skills.
It is right in the subhed?

"Michael Kail will be sentenced Oct. 19 in San Jose for taking stock, cash and gifts from tech firms trying to do business with the streaming service."

If nothing else, the "gifts" part makes it clear its personal.
"I'd like the maximum sentence please"
We need some evidence that viacom is responsible for the 1000 vs 1 at a time submission disparity, otherwise this is 100% on Google.
I get what you say, and agree with you that autoformatter+braces are a cool thing. Problem with that is a lot of people don't use any formatter: not an autoformatter, not a format guide. They just "know" what is best, which usually end up in horrifying (R in my field) code. Sometimes they even feel _smart_ when chaining call after call after call to pull off some kind of one-liner with the help of braces, pipes and semicolons, and then twit the monstrosity with great pride.

Python, and others, had the wisdom to put a corset on those people with whitespace and indentation.
archive.is: https://archive.md/ZB8NM
Looks like a vulnerability. No such term as "DMCAing" (like SWATting) or "DDMCA" (like DDOS) yet?
> The myth here is that everyone would suddenly stop buying things, but with higher wages people can afford to spend more.

that is a myth. Only people on the bottom can afford to spend more. For the rest of us we don't get a raise.

With higher wages prices need to go up for the same profit. Supply and demand may or may not allow prices to go up. Some marginal products go off the market. Some prices go up. People adjust to buying less things because they can't afford them. Slowly inflation catches up and wages are back to "too low" - this is a bad thing.
The problem is society can’t afford the outcome of paying truck drivers less.

Lower paid, younger, less experienced, more exhausted, and passed off truck drivers are an increased danger to other drivers.

That is an externality, to say it’s just life is pretty much saying it’s acceptable to underpay people as longing as the only risk is to others…
I agree. There is something magic with CTEs, just moving things around a little bit makes it so much easier to comprehend.

You could even move the val and lag(val) to two different columns and do the abs() in the summary.

That way you can query temperature_delta_past_day and see for yourself what it does.
Sounds like a tough month for the engineers!

* The fault happened on 25 September when a fire suppressant system destroyed hard disks at a broadcast centre.

An emergency back-up subtitling system also failed. The channel is building a new system from scratch, and said it will fix the problem more quickly than its current prediction of mid-November if it can.*
No, you misunderstand. If the stock and advisory role were given to Netflix as part of the deal, it would have been fine. That's not what happened here.

The benefits went to the executive directly. He asked for personal bribes to sign contracts on behalf of Netflix. He enriched himself at the expense of his employer. This is illegal.
I do the same with my personal accounts. With work accounts that use GSuite, though, I've been mostly using Google for SSO.

Expecting ordinary users to make these kinds of decisions is unrealistic.
The rest of us not using Apple product watch with perplexity all things related to Apple hardware/licences, etc.
Maybe we should have a SaaS browser.
Dinner and drinks are ok as long as they are not excessive and in line with the expected return for the company, say two people discussing business over lunch or dinner, with a maximum of $x / head. Fairly typical companies will have very explicit rules about what is and is not permitted to the point of spelling out exactly how much you are allowed to spend on a business relationship and the reverse: what to do when/if you are offered an invitation to join for dinner and who is to bear the expense.

Vacations are typically forbidden and would immediately be seen as a bribe. This has led to all kinds of things that are practically vacations but officially are business (such as: conferences in sunny resorts, conferences that take three weeks and so on). Other 'entertainment' can come in many different forms and if not disclosed can get both parties in hot water.

On the whole, pay your own way, do not accept anything that might be construed as a bribe afterwards (so no discount on that shiny item from the company you are deciding to do business with, or not), no gifts over a very low dollar value and in case of doubt clear with legal/linemanager/accountant, transparency is key here, just a failure to disclose can turn an otherwise innocent thing into a potential bribe.

It's really not all that hard to keep your nose clean.
Yup, it is, at every level

One main reason I started my first computer consultancy was that I found out that although computer stores and Value Added Resellers advertised independent objective advice to customers, they accepted major software & hardware vendors giving bonuses "spiffs" directly to the salespeople, blatantly corrupting their 'objective advice' (vs supporting the overall organization's ability to sell and support the equipment). One of the first things that went in the employee manual, and of course had to can some salesguy who tried to collect a spiff under the radar (our actual practice was the spiff goes to the company or goes uncollected, and if collected, we generally added half to discretionary bonuses).

Pretty small step from that culture of working to directly corrupt "independent" advice to trying to collect it on the other end. I'd like to know how many startups actively offer this kind of deal to execs in order to get the bigger deal?
I think "may not be super straightforward" undersells the learning curve here. I took to SQL pretty naturally but gnarly partitioning is still the easiest way for me to get tripped up. Having taught a lot of data sciencey folks advanced SQL, even simple uses of partitioning tend to be a big barrier compared to what comes before.
(NB: Post author here)

Yeah. CTEs definitely make it a bit easier to read, though some people get more confused by them, especially because they don't exist in all SQL variants.

And totally agree with that last bit! We want to see if it's useful for folks, it's released experimentally now and we'll see what folks can do with it. One thing that's fun and that we may do a post explaining a bit more is that these pipelines are actually values as well, so the transforms that you run can be stored in a column in the database as well.

And that starts offering some really mind-bending stuff. The example I used was building on the one in the post except now you have thermocouples with different calibration curves. You can actually store a polynomial or other calibration curve in a column and apply the correct calibration to each individual thermocouple with a JOIN...which is kinda crazy, but pretty awesome. So we want to figure out how to use these and what people can do with them and see where it takes us.
1. Pipe proposal doesn't make anything deeply immutable either. In JS you can even use a curly braces block to avoid leaking your let/const variables.

2. I am dreading even thinking about how the pipe thing is supposed to operate on JSX. There's the do-expression proposal to achieve what you want in a sane way: https://github.com/tc39/proposal-do-expressions
I use to be really active on Twitter but now keep it around mainly to shame bad customer service. I definitely wouldn’t follow me anymore.

I’m really torn on Reddit. It still has lots of good communities, but it’s so easy to pop over to something mean-spirited to get a little “I’m a superior person!” endorphin rush. I don’t need that in my life.

I still have and enjoy a Mastodon account. It feels like Twitter, but more chaotic in a good way, and with people being on the whole much nicer to each other.
> The first answer, tedium, is unconvincing, because pretty much anyone with more than a couple of years of experience in software development in a team knows that ease of reading beats ease of writing.

Hah, I dunno, man. I guess it depends on how one defines "readable".

If having layer upon layer of indirection through inheritance, dependency injection, procedures split into tiny functions written in no particular order, and magic strings/numbers are considered readable code, then yeah, I suppose most mid-level developers prefer "readable" code.

> The third answer, that temporary variables require sequences of statements instead of a single big expression, is more of a feature than a bug, in my personal opinion.

Simplicity is much more important than even readability, though readability is still important. The more tools we add, the more rules and complexity need to exist around them, all while possibly adding little meaningful benefit.

In all honesty, I think that the most meaningful thing we got out of >=ES2015 is modules, promises and async/await, and maybe constants. Everything else became window dressing around existing constructs but introduced more complexity while also creating more rules. Things like classes were mistakenly implemented to satisfy Ruby and Python developers and to assist transpilers. The more I got away from using inheritance, the more I realized how unnecessary class syntax is. If you can just write a function that takes data and spits out data, then there's hardly any need for other class syntax features. If something seems to need inheritance, chances are you could have written your code to be more composable.

The more we try adding to JavaScript at this point, the more people are going to be encouraged to do things that make themselves feel clever to the exclusion of writing code that future devs won't have to spend hours deciphering.

A huge part of my job is deciphering. I don't know if it's like that for anyone else, but there's so much of it that it really makes me wonder how many millions, perhaps billions of dollars are wasted because engineers are trying to be clever.
This is something that's common in academia. Professors often get contract work due to their credentials and social perception as "experts". You can get work doing credential evaluation, jury consulting, advising startups, consulting on industry projects, etc. These arrangements are so common we have policies around them - usually you can spend an average of 1 day per week doing these activities. Faculty then put this work and how much they made in their yearly reviews. Administration wants to make sure that being a member of the faculty is your primary job, but they actually want you to go out and do these activities because it helps their brand. I think the arrangement works for everyone, and hope something like this could be replicated in the corporate sector.

Edit: (Maybe this would be hard to replicate in the corporate sector because thinking about it more, being a faculty member is closer to being a contractor than an employee in some ways important to making this arrangement work. Faculty aren't really managed like an employee at a software company; their time is their own except for their course schedules that are assigned. But otherwise they are much more free to arrange their schedules)
3 or 4 years. sure not, they still sell intel macs on the website.
Walmart procurement has very strict rules where if they accept any incentives i.e. dinner, drinks, vacation, entertainment, etc are grounds for immediate termination.
Async co-routines are not a suitable foundation for C++ semantics.
> Also, California's AB5 law has outlawed owner operators

No, it didn't. To the extent anything did, the application by the California Supreme Court of the ABC test in Dynamex (prior to AB5) did (which also isn't entirely true, owner-operators usually meet 2 of the 3 prongs of the test, and the third prong depends on the core business of the employing firm; some will pass and some won’t.) AB5 actually created an explicit time-limited exemption to the ABC test for certain owner-operators of trucks (notably, in construction.)
"The total word count of the W3C specification catalogue is 114 million words at the time of writing. If you added the combined word counts of the C11, C++17, UEFI, USB 3.2, and POSIX specifications, all 8,754 published RFCs, and the combined word counts of everything on Wikipedia’s list of longest novels, you would be 12 million words short of the W3C specifications"

https://drewdevault.com/2020/03/18/Reckless-limitless-scope....

No idea how Flow does it, but building a browser is nearly impossible.
"Not sure what the long term strategy is, but I hope going public doesn’t kill them — seems like a nice little business that could just coast for years."

Yes, it does seem just like that and I believe we are witnessing an entity (backblaze, in this case) trying to switch from one zone of attraction:

Nice little business that throws off a ton of cash and grows organically but doesn't make anyone a billionaire ...

... to another zone of attraction ...

Scaled up enterprise that requires a sales and marketing effort (and accompanying infra) capable of revenue generation that matches the demands of an IPO and public shareholders ... and could possibly make someone a billionaire.

There's a big, deadly valley between those two zones of attraction and you have to push very hard to make that change. Very unlikely any kind of corporate culture or "human touches" survive that movement.

" ... seems like a nice little business ..."

Sometimes that's enough for people. Sometimes it's not.

Sometimes you paint yourself into a corner where the (IPO) is the only choice one has.

I wish them the best.
>Civilized people need not apply to either end of it.

That's a big part of the problem. We are gradually transforming our economy so that bigger and bigger chunks of it are run by people living in miserable conditions, driven there out of desperation. The media cheers it as giving another chance to disadvantaged, and goes out of their way to redirect the average person's ambitions away from accumulating wealth. And if you oppose it, they will just claim that you hate all those poor people, rather than disagreeing with the lowering of the average living standard. The end game is slums for everyone (except the ruling class of course).
Maybe this one? https://news.ycombinator.com/item?id=26733423

We have been talking about how to support customers who want to use python. At least for me it isn't very appealing, seems like it could take a lot of attention to keep up with what's expected.
U.S. Census Bureau Data Reveal Decline in School Enrollment For All Age Groups
Yep got locked out of Google for no reason and it was impossible to get in touch with a human. Extremely rage-inducing. There needs to be far better consumer protection on a government level with big tech (mostly Google and Twitter/FB, not so much Amazon or Netflix or Apple). Some of this is just unacceptable. I was reading one case of a person who had their name/image associated with a convicted rapist on Google and they couldn't get hold of a human to have it fixed. This kind of thing just shouldn't be allowed and there needs to be large fines going out. The onus should not be on a small time individual to fork out tens of thousands of dollars on a lawsuit.
That sounds like a great setup! Do you have a repo or write-up about it?
Mockswitch: Mock Services for Continuous Development
Hello Hackers, we built a Mock services platform for enabling end to end development, integration testing, auditing, API testing. Please give it a try :)
Through the looking glass ….
(NB: Post author here)

We're thinking about doing a post on them at some point in the future!

Any specific questions we should answer?
I wish the article explained what the hacker can do with this data. The most I can think of is that it allows people to take loans on behalf of others.
Grenfell drama Value Engineering exposes how cost-cutting cost lives