skysight-inc/HackerNews huggingface dataset:
From what I've seen, whether you get cut is based more upon how discretionary your specific project is rather than whether you are a contractor or an employee.

If a project is equally discretionary contractors will get cut first and without warning but I don't think that makes as much difference.

By discretionary I mean that cutting back won't cause immediate damage to the bottom line or easily visible long term damage to the company.
So how you wrote same app that have half a gig of dependencies in NodeJS ?

I have 10+ year Perl app that never needed fixing but I don't present it as an example of Perl being better than everything.

Also JS is a particularly bad language in near-every respect and not even in same category as C so I dunno why you compare them in the first place.
You might be interested in Rust's either crate (not built-in): https://docs.rs/either/latest/either/
Meanwhile half the slide decks I see are built on Google. You can't even get to the slides without phoning home.
Since 2014 I don't trust my macs. There is no Apple computer without LS installed on in my company. Actually, if LS is not available, I will not use Apple computers at all. Period.
Well, Martin Fowler is a tech guy who writes largely for an audience of tech people. It’s that surprising that tech jargon would find its way into his musings about a piece of tech he’s learning about. And certainly doesn’t have any bearing on Mastodon itself.
This guy had 3 billion dollars in stolen crypto and didn't flee the country? Insane.
Forensic experts are a good information source on this: https://arxiv.org/pdf/2002.12506.pdf (Windows 10)

"Required diagnostics" seem reasonable: https://learn.microsoft.com/en-us/windows/privacy/required-d...

Do note that "optional diagnostics" seem to include collecting filenames/authors/modification dates for Office files; the names of installed and removed applications, hardware information (with serial numbers), process execution history, Start Menu pins, app usage history, and more: https://learn.microsoft.com/en-us/windows/privacy/windows-di...
I'm American. I'm a heavy libertarian and you are absolutely right, the US government is probably doing the same thing with local social media corporations.

This does not mean I believe we should give the US the same treatment as the CCP. The CCP openly enslaves people of other races and does not respect basic human rights.
I wonder how many of these have been delivered in Bay Area. I see at least two Rivians every single day. I took a ride with a friend of mine in his Rivian and I was very pleasantly surprised. The car had definitely a wow effect on me.
Yes, I'm sure that's what happened. The money withdrawal scenario is the classic example for locking in any database programming classroom but not everybody went through that or remembers it.
> "We can solve any problem by introducing an extra level of indirection."

It's worth keeping in mind that this isn't a fundamental law of the Universe. Not all abstraction layers are equally good. Just because it's possible to do a bad job at something doesn't mean we can't try and do a good job.
I remember saying the same about Donald Trump. All these people kept warning me, and although I didn't vote for him... I said, let's give him a chance. I really wish I could go back in time and take their warnings more seriously.
I've found generators to be a great way to keep separate concerns separate. Now you can have a function whose job is to figure out what the next thing is, then consume it eslewhere as a simple sequence.

In the past I'd have a function accept a `visit(x)` callback, but then I had to invent a protocol for error handling and early cancellation between the host and callback.

The ability to just `yield x` and have done with it is a breath of fresh air.
Two options:

1. Don't type units like that.

2. Allow the * operator to multiply a time-unitful value with an untimed scalar and disallow using it with two time-unitful values.

Presumably the requirement that * operands are the same is arbitrarily modifiable and go developers have control over what types operators take.
This was killing me when back when I was a Python dev. A "generator" is just a callable object made less reasonable.
archive.org is good for public domain content, which this clearly is not. The right place for this would be offline tape archive.
This is a discussion about smog and local air pollution, what are you even talking about?
Musk-led Twitter laid off some employees by mistake, asks them to come back
I don't have an misconceptions about flac, lol.
In a way they are though offering that; I'd assume the Enterprise editions should have ways of disabling many of those tracking via Group Policy. The OS would never be allowed to handle any sensitive information otherwise, even with an air gapped network.
I stopped using Twitter years ago - the signal to noise ratio is quite low and you have to spend a lot of time curating to even achieve that! Honestly, HN satisfies my needs for geek news and Reddit has me covered for my hobbies. I really don't see a need for these kinds of social networks any longer. At least not for me.
The example is indeed very good, but I think it is more about faking HKT with GAT and I'm not sure that was the primary motivation for GAT in rust.
I agree, same with popular multiplayer games for instance which could be exploited by memory safety bugs in the network protocol implementation. But these are cases where just implementing a couple of critical modules either with a memory-safe language, or using code generation (or both) to reduce the amount of 'manual bugs' go a long way. AFAIK exploits almost always happen in places where data comes into the system, so those are the places to focus on.
Kids my age don't use Facebook, and either way it's really not
I wouldn't believe Adobe, company known for shit security practices for decades now, to be any authority on the subject. They'd cut themselves with safety scissors
Good point, I do not know that. I've only ever touched the Pro edition (which later became Enterprise when joined to a domain).
> You gave links to highly edited videos. That is a fail.

Then why did the employees say what they said? In most conversations, you wouldn't have vitriol toward a certain set of political beliefs, yet the Twitter employees in the videos do express vitriol...whether the video is edited for the mass audience (like most news interviews/exposes are) or not.

Either way, our opinions here are moot. Twitter is a private company & it can do whatever it wants. If you don't like that, build your own social network & run it the way that you want to run it. You can even recruit ex-Twitter employees if they agree with your direction...

I for one, prefer the direction of the new Twitter & perhaps even more profound, more attention is given to alternatives that are open source. Building alternatives will enhance the space & create more innovation!

I agree with the sentiment of these Elon Musk quotes & it would be great for human progress if other social media networks also adopt these stances:

Twitter needs to become by far the most accurate source of information about the world. That’s our mission.

| Elon Musk

“I think wishful thinking is innate in the human brain. You want things to be the way you wish them to be, and so you tend to filter the information that you shouldn't filter.”

| Elon Musk

“The internet has been the biggest equalizer in history in terms of access to information and knowledge.”

| Elon Musk

“The extreme antibody reaction from those who fear free speech says it all.”

| @elonmusk
I honestly think the opposite.

When I learned generators from
Python the understanding of “a function that yields instead of returns” was very easy to grasp. And considering I already knew how functions worked & what their syntax was this was just an extra step (rather than starting from scratch). ECMAscript have taken a similar path to Python here.

This could also be because my mental model is they are just functions that have the ability to return to the stack at a later point in time, rather than “running to completion”.
Not really. The Colorado River Compact is a special monster that allocated more water than exists on average in the river.
> I do see comments like yours a lot - there's an emotional attachment and/or ego attached to the comment

Could you explain how it's emotional? It comes across as a pretty logical analogy to me - the author isn't suggesting that they don't like C (which would be categorically emotional), they are comparing it to phasing out something unsafe in another industry.
Astronomers Find a Black Hole in Our Cosmic Back Yard
“...when 'language-level memory safety' is essential for security, then there's something fundamentally wrong with the sandbox the compiled C code runs in.”

Doesn’t the problem then just become what do you write the sandbox in? If you have security-critical code that can’t be sandboxed, because it is the sandbox, then it seems that language-level safety is your only remaining defense?
>so as silly as it sounds,

why do you feel that sounds silly, as it sounds exactly like what I would expect them to have done. it was probably some intern tasked with the job as well. it's not like they were going to go back to some mastering format to have the streaming files created for the entirety of the back catalog.
What I'm most excited about is PoE++ (802.3bt) which can currently push 60watts at 48V DC to each device over ethernet lines. This means that I can run cat6 cable throughout my house and have power and data outlets in a simple ethernet outlet. I can now have a 48V rack mount battery bank, charged by solar, running all of my lighting and charging laptops, security cameras and what not.

There are even PoE++ to usb-c adapters entering the market that do full 5/9/12/20v power delivery.
Anecdotal, but I started my consulting biz in 2010, when unemployment had peaked at 10% during the Great Recession. It was an incredible time to be a contractor because companies still had work to do, but were gun shy about hiring, so many of them relied on contractors to help out. I had more gig offers than I could accept.

It wasn't until a few years ago, when tech companies started their massive hiring sprees that contracting gigs really started to dry up. So while yes contractors tend to get the axe first in a downturn, at the end of the downturn it can be a lucrative business.
They're only overblown in that I haven't seen anything to suggest it is any worse than Windows 10, which was already horrible from a privacy perspective.
Traits you can change, and traits you can’t
Men also drive more. Taxi drivers, truck drives, cops, all those professions are male dominated. And at least where I live, it is man drive family car to work and woman is more likely to go by public transport to work. Man is more likely to be the one to drive when family goes somewhere (and some are quite territorial about it).
Well that's cool, it's just like Copilot but for confidential and proprietary information! I wonder if I can get a sneak peek into my competitor's quarterly reports using this suggestion feature...
Yeah, each of those corresponds to a folder on disk. However, each of my artists is auto-managed by beets[1] so I end up with one folder per artist, including one folder per "feat." artist (like in the screenshot). So this may be a case where my folders happen to align with the artists/albums, which might not work for you.

[1]: https://beets.io/
That's exactly how I would "modernize" the system. Maybe add a modern DSP equalizer for room correction, too - his receiver has two monitor loops.
Excel macros are risky because they offer a kind of privilege escalation. Most Excel built-in functions (that is, what you write into the cells) have limited reach. They impact that cell and (by reference) other cells, but not the underlying filesystem and other things. Even looking at the database ones, I'm not seeing a single function that writes to the DB but plenty that read from it, that's "safe" in that it would be very hard to abuse these kinds of things to screw with other systems or the host system. But macros can run arbitrary code and access whatever the user can access in a way most Excel functions cannot and can trigger arbitrary effects. The equivalent of `rm -r ~/` is not possible in straight Excel, but is feasible with a macro. C and C++ have nothing to do with that, it's the underlying privilege model that permits it.

There's a good case to be made for using better languages than C and C++ for large classes of software. Don't weaken it by making absurd claims.
Wow I had no idea Rivian made anything besides the truck and that thousands had been delivered.
> you are lucky if you even get to work on the second step

I've done over and over without any issues.

In order to work on second step you need two things:

1. A plan (at least a vague one) of how will you execute the second step iteratively (i.e. without rewriting everything from scratch).

2. Actual business need for step 2.

If you aren't able to execute step 2 without the Big Rewrite, then it's on you. Business doesn't want to take these risks.

If your business doesn't need step 2, then what are we complaining about?

I guess the only advice I have is stop treating step 2 as "step". It follows the same Pareto Principle: there's 20% of effort in step 2 which gives 80% of results.
Arc in safe Rust won't let you cause use-after-free no matter how much you screw up.
Ask HN: Uncommon Web Languages?
Recently I have been a huge fan of

1. Imba (https://imba.io/)
2. Mint Lang (https://mint-lang.com/)

and have been quite impressed.

Are there any other languages like these for the web which takes uncommon approaches and tries to make things faster, easier?

Elm is another which I know about and have played with.
Fair enough, seems much more correct: A class is a type representing both state and behaviour.
Doesn't this seem crazy counter-intuitive. Turn gas into heat, water to steam energy to electricity, then transmit the electricity, then turn the electricity back into heat. Versus turn gas into heat, water to steam?
By remote business I don't mean "that one guy who is a contractor LLC",

I mean a 50 person team with no office (i.e the new COVID standard). Yes, you could use the "CEO's house", but then he's gotta actually live for a significant amount of time there and receive mail for the company?

None of this really makes sense, and the laws (or interpretations) have not been updated.
Plasma undergoes extensive processing that inactivates many viruses that would not be inactivated by current blood processing. See https://www.pptaglobal.org/safety-quality/pathogen-safety
I think gcompris might be what you're looking for. It runs nicely on Raspberry Pis and there are several activities that are suitable for three year olds, as well as activities for older learners.
Thanks for the example! I guess we consider switch/case in different situations then. I usually make use of switches in simple mappings and switch/case seems more readable and idiomatic to me there:

type CountryCode =
| "CH"
| "US";

function nameFromCountryCode(countryCode: CountryCode): string {
switch (countryCode) {
case "CH": return "Switzerland";
case "US": return "United States of America";
default: // exhaustiveness checking
((val: never): never => {
throw new Error(`Cannot resolve name for countryCode: "${val}"`);
})(countryCode);
}
}

...instead of...

type CountryCode =
| "CH"
| "US";

function nameFromCountryCode(countryCode: CountryCode): string {
return ({
'CH': (() => 'Switzerland'),
'US': (() => 'United States of America'),
}[countryCode] || (() => {
throw new Error(`Cannot resolve name for countryCode: "${countryCode}"`);
}))();
}
Only if your work is so important they can't afford to let it go undone.

If a company has to cut costs they cut the positions they can do without, and in those positions consultants are cut out first.

Of course if you aren't easily replaceable or they actually need you then they won't cut you, but even then, if it really comes down to it consultants get cut before employees that are equally as important.
People just have lost the ability to comprehend the concept of federation because everything in the current internet is walled gardens. There is nothing Mastodon can do to "fix this" without giving up on federation.

But people understand how federation works. They see it happen everyday with e-mail. You just need to tell them it works like that and they'll get it.
On multiple occasions Delhi has exceeded 999, which is the maximum reading on the government monitors. I recall being there with 1000+ AQI levels. It's extremely saddening as most have no choice but to endure the toxic air.
I've tried, really.

The recurring pattern with Linux is that:

- Trivial things don't always work out of the box

- Even after spending considerable time on the command line to fix it, things break semi-frequently

I've had setups that I've loved in the past, only to have it fail for some silly reason. i.e. too many kernels have been installed because of updates and suddenly /boot has no more space.

I have a job to do, and sysadmining my laptop is not it.
Wages trump safety standards for global apparel workers
> worse things like breach of export control laws

The entire Department of Defense runs on PowerPoint, along with all of their contractors. It is not at all uncommon to produce slide decks that are either classified or covered by ITAR; this is a disaster waiting to happen.
Forgive my thread hijacking, but I suspect this is a place with people who might know the answer to my question.

Given that I have a pair of reasonably nice speakers but a lack of convenient wiring opportunities, I had thought to come up with something like an RPi based amplifier connected to each, with WiFi linking the two to form a stereo pair.

I.e. I have two speakers. Putting both of them near mains electricity is easy. Having wires connecting both to the same amp is a PITA. What cover thing could I do?
> it may ask your permission

I wonder when that is? Because I haven’t used PP yet, and it didn’t ask me. Of course, we use Office 365, and maybe my boss turned it on globally?

Does anyone know where the setting is?
I use "simplewall" [1], a firewall to windows. What I like about it is you get a popup window every time a new program want to send data out, then you could block or accept it or temporary accept it. It's crazy how many programs that wants to talk to the internet constantly.

[1] https://www.henrypp.org/product/simplewall
> because SOMEONE with money would do it until the prices adapt

But they are. Your premise is wrong. This just headlined the Financial times 2 days ago[1]. This and the last quarter have been record profits for energy companies and that's not even counting local profits, which are also at record heights.

1. https://www.ft.com/content/0d84255c-84ba-4462-b80a-859335285...
Stockholm syndrom, amiright? No seriously.. Windows has a continuous stream of security vulnerabilities. Linux has cryptsetup, dm-verity, secure boot signing, TPM, proper sandboxing, QEMU, etc.
I was expecting at LEAST some screenshots lol
Thanks, had an 802.11n one sitting here and just tried, though seems like it doesn't want to join an existing network. Even when I had it create a network and joined, macos Ventura didn't seem to see it as Airplay device.
Yes, good point!

Like many weapons systems, patents can certainly serve defensively as well as offensively. In this case, defending against others using them as offensive weapons.

Patents can also have some marketing value.

The one thing the do NOT do is universally stop infringement in real time, which is what people think they do.

If you have a new product/technology, a large company that wants to use it will simply go ahead and litigate it later. You will have a ticket to sue them. They'll have their defensive wall of patents, and maybe you'll make a deal and settle out of court. If not, you'll try to stay afloat and if you manage to fund the suit, in 9-15 years after all the appeals, maybe you get a big judgement.

If it's a small or Chinese company, they'll just run with it, you can sue them, if you're lucky, you'll get an injunction to have products seized at the ports by customs, and you'll never collect a penny at the end because the company will be long dissolved. They'll have stolen some of your market with impunity.

Medium-sized companies might actually respect a patent, because they are intending to stay in business, but don't have unlimited resources.
If you did then I dont understand the point you're making with the given example.

with the language you've got

* the creators of C
* the developers writing software (tool/library/whatever) with C
* the users which use this software

If the software has a security issue, the cost will have to be born by the users, not the developers.

That makes it (imo) directly opposed to your argument, as its technically the same as with the carcinogenic substance

* the creators of the substance dont get cancer
* the contractors using it to build the house dont get cancer
* the people that live in the house get cancer

(but the people that use software written in C dont ... die, which is why I agree that its wrong to equate them)
This is why you need runtime and compiler diversity in your cicd pipeline.
One thing that always drives me crazy about these is that it's not really a great example of how to actually write a query. "Copy values from wireshark" makes a bunch of assumptions, the main one being "the query you saw is the kind of query you want."

Just blindly copying flags off of a packet isn't really a good practice for software development. What if the packet was not recursive? I'm sure 99.99% of the people reading that have no idea that non-recursive packets were possible, or even what it means.

Instead, read RFC 4.1.1 and figure out what the flags mean and why you'd use one or the other.

https://www.rfc-editor.org/rfc/rfc1035

And by reading the actual format document you can start looking for vulnerabilities. For example, what happens when the various COUNT numbers aren't correct in a response? What if you get an error response code but there is response data? What if the implementor used signed instead of unsigned numbers for COUNT?

This is a bit better than SO, but not by much. You're not writing a DNS query, you're hacking someone else's DNS query and sending it over the wire.
That all may be true, and be even more worrying.
Getting a 504 when I click the link. Is anyone seeing this issue?
It is a client/server system, but pulling from $n hosts instead of just 1, spreading out the load and also downtime risk across all $n hosts. And the reason I mentioned the "ratio currency" is your use of the word "tolerated" here: BitTorrent isn't the mafia, it's just a protocol that offers the ability to share pieces back to the Internet. As another concrete example, aria2c (https://github.com/aria2/aria2#readme) behaves similarly: using BT to download, but then exiting without attempting to seed anything
You're right it sounds like he's a real nice guy and sitting on 3.36 billion dollars for a decade sounds like time served to me. I just can't get behind the concept of "Why did they arrest me for X when there is something wrong happening over there?" It just doesn't work that way, there are plenty of things happening ant the same time and you're just making some weird assumption that the IRS bitcoin task force could have been some completely different department chasing a completely different crime.
How will undefined operations change with your new layer of abstraction?

Anyway, you are really claiming that a sandbox capable of running C programs will solve more problems than writing your code in Rust?
Yes, it definitely makes a lot of sense to write the sandbox in a memory safe language like Rust. Not even the most die hard C fan would argue against that ;)