skysight-inc/HackerNews huggingface dataset:
"""But the researchers were able to identify a few reasons for what happened to the Green Line: Jockeying between two different understaffed agencies with little experience managing large projects and consultants, a laissez-faire approach to allowing stakeholders’ expensive ideas to be added to the project scope “even if impractical,” and public pressure for more as the project dragged on and the demand for transit options increased.""'

Inexperienced managers, poor planning, and feature bloat.

This is the failure of many a project.
> Given the extensive tests written against sqlite, rewriting it from scratch in any language, even a more modern/safer one, would ultimately end up with a buggier program.

And yet, people keep finding use-after-free bugs in sqlite3 that allow attackers to escalate the memory corruption into arbitrary code execution... bugs that have affected major projects, including iCloud and Chrome; here are a handful: there are lots more even from just the past year :/.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1363...

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-9327

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1387...

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-2022...

The reality is that programming in C is just such a horrible thing--making it so easy to accidentally make mistakes that don't merely lead to "your database is corrupted" but escalate all the way to "the attacker is now running their own code on your computer"--that we simply need to stop doing it (preferably 15 years ago: there is really no excuse to not be at least using the C++ compiler to compile all of our C to get at minimum templates, deconstructors, and better type checks), get everyone else to stop doing it, and then actively go through and scour the ecosystem to remove it all, as every line of C running on your computer is a liability.

The underlying thing to appreciate here is that the goal is to make these kinds of mistakes not only much harder but impossible: I simply don't need tests to prove a Rust program (which I say as an example: I am not one of those Rust advocates that you see... I actually hate the language for not having exceptions and I even dislike some of the key people involved in both Rust and Cargo, and so my noting the dominating superiority of Rust to C should come as a pretty strong/sobering commentary; it is unfortunate as I honestly think they are making decisions that have been holding back widespread deployment of Rust, and yet they think they are doing well... hopefully they will claw their way out of the pit soon: at least some progress was finally made recently?) is at least better than sqlite3 apparently is in practice :(.
You can disable any iOS device's WiFi by hosting a WiFi named %secretclub%power
Most (modern) Chromebooks allow you to run any linux software you want.

Just because you have the ecosystem lock-in to force something new down the throats of users doesn't justify doing it.
Without the appeal to authority of citing Franklin though, it's not a quote that holds as much water when inspected on its own merits.

Trading liberty for safety is the crux of social contract theory, so the absolutist interpretation of the quote is clearly devoid of worth. We can instead focus on "essential" and "temporary," and then perhaps it has value but we must then argue about the meaning of those words.

... Is the freedom to shout falsehoods with Facebook's megaphone without Facebook weighing in "essential?" How "temporary" is the safety we gain from Facebook tossing fact-checks on posts?
Creating a curriculum for self learning through excuses
I don't want you to do that.
I think hackers being possessive about sequences of uint8s is exactly as silly as claiming the number 2 as your own personal property.

Copyright is like an ABI: we made it up for convenience. It's just a construction, it isn't some inherently real thing.
I think you should stay off reddit (it helped my mood). I hope you get some help, but I'm not doing great either so I think I understand. All the best mate :)
> Allowing sideloading removes this protection, and apps installed that way could simply siphon all your data silently.

I don't have any iDevices, but are you suggesting that any iOS app has access to all of your files if the code makes it through the app store review? Because that would be a major issue in Apple's sandboxing in my opinion. I don't think you're right about how the OS security policies work, at least I hope so.
AFAIK, in Google's case the end application doesn't really see the "GRPC HTTP headers" but instead they convert an incoming HTTP request to one of their frontends and route it to multiple backends (sending effectively the HTTP body serialized via GRPC), and then the frontends will simply re-create the response by unifying them.

Not a Googler, this is what I understood from reading similar things over multiple posts. Feel free to correct me.
Because it’s from the Apple App Store, you can be reasonably sure it does what it says and isn’t monitoring your communications. You can also use permissions to deny it things like background app refresh or location data.
What will happen to research outside wealthy institutions if Sci-Hub shuts down? Are there alternatives?
They don't even agree with what they are supposed to support from freedesktops.org.

On Windows, Win32 doesn't do that by default because it would break backwards compatibility from those Windows 95 binaries being run on a Windows 10 2021 edition, so it must be a conscious decision to enable it.

UWP and WinUI work just fine.
Just look for all of the dead grasses where the spill is occurring for oil pipelines or patches of lush grasses compared to the other areas for water pipes. Or is that too simplistic?
So components that talk to the outside can't be unit-tested at all?
I kind of know (and believe) that inequality is growing. But reading this article makes me actually think the opposite: isn’t that actually a good example the equality is there? That is, the “affluent” simply realise that their place in life isn’t fixed and that if their kids wanted to have the same life as them those kids would need to work their butt off? In such a case I am very much not disappointed with the fact that affluent kids are also trying to work for that “space underneath the sun”.
The missing icon I'd like to see is "the work is mostly or all open source".
It's a significant differentiating factor.

With so many companies using LLVM or GCC there probably are a few where the job's output is mostly or all open source by default, and there are certainly other compiler jobs where it isn't.
Ask HN: Users of treadmill desks, how is the experience?
Sitting long hours has taken a toll on a lot of us due to the new WFH setups.

I'm planning to get a standing desk and place a walking treadmill under it because standing for long is bad for the knees too.

Looking for experience from those who've used a walking treadmill + standing desk setup
It's a really unusual setup, so I'd be surprised if there were a reference book on it. What makes it work is the engineering culture there, and not so much the tech stack recipe.

The unusual features are that you're expected to prioritize helping out a fellow engineer if they ask for help, even from another team; and there is a culture of being blunt with criticism. You're expected to be straightforward. I've heard a junior engineer bluntly tell the team that we're wasting time in a meeting, and everyone agreed, apologized and got back on track. This is on top of the standard cultural best practices of no-blame, psychological safety, team autonomy, mandatory work-life balance, etc.

The downside is a long onboarding process.
Another Workout App Here
paid: https://apps.apple.com/app/do-it-sp/id1574028335
free: https://apps.apple.com/app/do-it-with-ads/id1574221873
I hope your comment wasn't intended to be as hostile as it reads to me, but I do wonder what your experience was exactly, because there might be a misinterpretation.

From a technical standpoint, using const_cast to modify a constant is Undefined Behavior. This was explicitly specified that way to make constants inlineable by the compiler. Every compiler that I've ever used does this, it's a trivial but very effective optimization.

Proof by Godbolt: https://godbolt.org/z/djEdvee4s

Observe how GCC completely eliminates the contents of undefined_mutate_modulus (which it's allowed to -- UB means it can do anything with that function, and it chooses the simplest possible thing) rather than de-optimizing mod4_const like you suggested. Compilers are smart.
> If the EU forces Apple to allow side-loading apps I might actually buy an Apple smartphone.

This will result in different phones for different markets. For example, iPhone in Japan must play a sound when the camera takes a picture. This is not true of iPhones sold in the US. iPhones in some markets also are not allowed to have active 5G modems while, obviously, iPhones in the US are.

I think splitting the market will be fine. However, I suspect many side-loading-capable iPhones are going to have many more security problems and privacy breaches.

We’ll have to wait and see.
...actually, if SIP is off, you can, they're just PDF files! But yes it's certainly not a real feature!

/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/Resources
They pretend to care about consumer privacy by only encrypting on device and at the same time hand data over to governments through unencrypted iCloud backups.
I suspect so, still getting this error as of 21.39.00 British summer time.
The Mystical Experience Questionnaire
>what gives us the right to mess with another living being just because of curiosity?

When thinking about right, I usually go the inverse. What makes one not have that right?
MS is (slowly) reading off of the same script when it comes to security on Windows, as well.
Yes, and the history of municipalities raising taxes to actually cover the infrastructure/other costs is that residents that can move out to other municipalities still using the Growth Ponzi strategy to keep taxes low.
As someone who's just now diving into low-level programming on unix, this article is just what I needed.

Saving this for future reference.
You really want to make everyone special case this because 1 CT log server had a hardware failure?

This is not the first time a log server had to be removed due to a failure, nor will it be the last. The whole protocol is designed to be resilient to this.

What would be the point of doing something besides following the normal procedures around log failures?
I'd expect that kind of rhetoric from one of you lumpers.

Seriously though, the more I learn about speciation, the more I realize how imperfect our system is at categorizing life. Obviously lots of cases are pretty clear-cut, but there's so many examples where you almost have to treat every population as its own distinct entity.

My definition of species honestly changes depending on the context. For conservation efforts, if you don't look at the separation and genetic distinctness between populations which would happily interbreed if it weren't for geographical restraints, you're liable to lose both genetic diversity and location-specific genetic adaptations that may be present in one population. For human evolution, I don't know what it really matters whether we call it one species or twelve. It's a very artificial system that will never be 100% agreed upon by experts. Being hominid fossils, they'll be studied intently down to the tiniest sliver of bone no matter where they're placed taxonomically. We all like nice, neat categories, but life is much messier than our naming system wants it to be and I'm not sure I really care where we draw these lines. If I'm missing a good reason for it, please educate me.
While I totally believe that undue pressure from parents would cause kids to be unhappy the narrative that follows to justify that pressure is total non-sense. I mean they are literally claiming that anyone that doesn't manage to go to an ivy league school for college will be destine to live in poverty.

It's almost like this article is a subtle dig as merit based admissions. Back in the day you you could get into an ivy league school because of who you are now those poor kids have to work for it, and it makes them stressed, poor them. Surprised they didn't advocate for getting rid of standardized testing.
Many people work at home now, even if they work at wealthy institutions
Exactly. It may sound ridiculous but it happens all the time. You dig into the "unit tests" of the app and you find mocks for a db call, or an API call, or the system's date, or environment variables that some other part of the system will break if they are not defined (or all of the above). That's what I mean, these are all code smells that the code is highly coupled.
>It's worth noting that Venus is still probably a better terraforming target than Mars

This has always been my sentiment as well. Mars is a dead planet with no magnetic belts for shielding, and is just too far on the edge of the goldilocks zone. Also, if we can figure out how to terraform Venus' atmosphere, then maybe we can "fix" Earth's.
Indian space agency, ISRO, is planning for a Venus mission in 2026: https://en.m.wikipedia.org/wiki/Shukrayaan-1
Australia is basically "very poorly executed China clone" at this point. Weirdly affected by their propaganda but also totally lacking the organizational effectiveness.
Unless you can move your entire family, then movement implies travel at least twice a year in the US.
I mean... Urine has destroyed light posts, before, even in SF.

https://www.sfgate.com/bayarea/article/City-lamp-post-falls-...

>“We believe there was some contribution of dog or human urine on the base of the pole,” PUC spokesman Tyrone Jue said. “It has actually been an issue for us in the past. We encourage people and dogs alike to do their business in other places, like a proper restroom or one of our fire hydrants, which are stronger and made out of cast iron.” Urine accelerates the corrosion of the metal base of street poles, he said.

http://news.bbc.co.uk/2/hi/uk_news/england/derbyshire/293874...

>The six month monitoring survey is costing Derbyshire County Council £75,000. It was commissioned after a report found that years of exposure to the highly acidic urine from dogs can cause the base of the posts to crumple away.

>It is part of a national campaign after someone died when a light collapsed.
What you are asking can be implemented in the phone OS. Apple's macOS shows one way to do it - System Integrity Protection - https://en.wikipedia.org/wiki/System_Integrity_Protection ... you need to disable it in macOS to make any system changes, like installing a Kernel Extension. Another way is how you have to jump through some hoops to enable root or unlock the bootloader in some phones.
??

We don’t need copyleft in a world without copyright.
Brute Forcing Every Axiom Verge Randomizer Seed
Try starting with https://jekyllrb.com/showcase/

It’s actually pretty easy (on a technical level at least) to go from one of those templates to something that resembles scale.com. Bonus that it’s easy to host on GitHub for free.
It would be incorrect to assume this is a list of poorly paying companies.

Some of the companies in this list are known to pay very well for compiler type senior roles (and don't advertise that fact), some of them probably don't.
Strongly agree that idempotency should be understood as part of the application, and not as part of the transport.

I find it insightful to think about a transport layer that is much less reliable than the internet: traditional/snail mail. In a proper business communication, every invoice has an invoice number such that the recipient can know whether they processed that invoice previously or not.
Depends on the community of course. Sub-Saharan Africa leap-frogged copper and went to 4g/5G. Probably same for broader band.

Not too long ago 10 mbits was ‘broadband’, so, maybe various forms of wireless will be just fine. Certainly more flexible in terms of long term options
Blockman – Highlight Nested Code Blocks – VSCode Extension
Neural response to monetary and social feedback – depression and social anxiety
You should have a look at Vivaldi
I think you have your history very mixed up. The connection between Afghanistan and 9/11 was very clear to everyone.

(And in case you genuinely don't know: the Taliban were openly harboring Al Qaeda including Bin Laden. The US ordered them to either hand him over or allow the US to pursue him. They refused. So, the US eliminated the Taliban.)
Different write patterns combined with different SSD controller cache logic?
I noticed that he used a tube that's widely available but not in demand for use in guitar amplifiers. Smart move.
Yeah agreed. I think the signals in that case are the same people doing things like showing they're taking a Thursday afternoon off to take their kid to football, or actually taking a lunch break. At a certain point we are all adults, and have to be trusted but setting a good example has always been a sign of a good manager in my experience
For Stripe, there's two headers that can help clients with retrying or not: "Idempotent-Replayed: true"[1] and "Stripe-Should-Retry"[2].

Whether they're helpful in all server-side error situations I'm not sure.

1: https://stripe.com/docs/idempotency#sending-idempotency-keys

2: https://stripe.com/docs/error-handling#the-stripe-should-ret...
I know: it hurts, to see and feel all that. It really hurts. All the time.

BUT: It is pointless to go. Who shall prevent all the madness from happening when all sane people are gone? The world needs those people who go against wrong doers of all kinds.
Thanks now I need to install and test this Lean thing.
> Sideloading is a threat to privacy because it allows apps to ignore the consent requirements the App Store enforces. As it stands, if any app wants access to your contacts, your camera, your microphone, your photos, etc, it must ask first. Allowing sideloading removes this protection, and apps installed that way could simply siphon all your data silently.

There's no reason that the OS can't implement sandboxes and enforce protections for such data. There's literally decades of research on operating system security.

Besides, when we forgo system safety in favor of corporate gatekeeping, that isn't security. In fact, such a scheme is responsible for mass distribution of malware. Apple's App Store is responsible for distributing over half a billion copies of Xcodeghost to iPhone and iPad users[1], and that's just one piece of malware.

[1] https://www.vice.com/en/article/n7bbmz/the-fortnite-trial-is...
That's not really the issue. You would set up a proxy, log with your institutional account... actually even with access the sci-hub UX is vastly superior.
- Computed GOTO... ugh

- Indentation-based syntax isn't a programming feature, it's a lexical/parsing style religion. In my religion, it looks much cleaner than extra punctuation, superfluous keywords, and the visual noise of curly braces. What's worse is special column flags.

C F90 sucks
C F95 still sucks
C F18 probably still sucks
Recession and Automation Changes Our Future of Work
I’m not sure I see it as a hub. More like there’s events being held here.
> Practically though, it doesn't happen very often

It probably happens much more often than you think if you say this as someone with an insider perspective. I have had to integrate with banking systems and payment systems that use this approach, and it is extremely frustrating and comes of as a way of offloading work to the client. If a payment capture succeedes but subsequently always returns 500 an api client has to first query the status and then execute if-then logic for something that could easily just have been a retry of the request (3x the logic). This is acceptable since there are a million other ways to mess up idem potency so integrations kind of end up this way anyway. But the worst part of such an approach is debugging the issues as a client. A client cannot see the internal logs and therefore have to call support which will ALWAYS answer «the transaction seem fine with us» and basically just close the case to protect their KPIs. Im pretty sure this type of issue has a name but cannot find it (state client see dont match the real state). I dont mean to offend the work people put into these APIs, but I cannot see the good qualities of this approach other than saving development hours (and possibly saving one db query, but as an effect you get a status request plus another capture request as a workaround from your clients).
Real Estate for Sale in Soma Bay, Red Sea
Soma Bay is a coastal resort on the Red Sea in Egypt, 45 km south of Hurghada International Airport, self-contained community of Soma Bay is a peninsula surrounded on all sides by the sea.

Soma Bay features some Red Sea diving with its house reef and a variety of nearby diving sites.

Soma Bay also features one of the largest spas and thalassotherapy centers in the region. Water sports are particularly popular due to the prevailing winds which allow for windsurfing, kitesurfing and sailing.

Soma Bay also currently houses several residential compounds as its becoming more and more popular among both Egyptian and foreign tourists. Soma bay is prominently divided into Soma Breeze, Mesca, Reef Town, Wadi Jebal, Bay West, and Bay Central; among other areas.
Apple expanding outside of SV as it struggles to recruit and retain talent
I was going to comment, but you edited your post. Yes, it is worse than we usually think on the software side.
> Something like a Chromebook would have absolutely failed decades ago

Video game consoles existed decades ago, were locked down systems, and succeeded tremendously… starting all the way back in the 1970s with Atari 2600.

> because that’s how computers have always been

Phones before the iPhone allowed any app to be installed. J2ME. There was no precedent to do what Apple did with a lockdown like that, as far as I remember. Glad to be corrected but don’t forget to include the J2ME landscape in your analysis.
Just as Al Jazeera is Qatari state propaganda, BBC is British state propaganda. You can pull the wool over your eyes and disagree, but they're all state backed narrative machines.

The BBC works directly with the UK Foreign Office to push propaganda to destabilise other countries: https://thegrayzone.com/2021/02/20/reuters-bbc-uk-foreign-of...
Sadly SF has a lot of it and has progressively gotten worse.
The downside with “automagically” trying to handle idempotency is users may not be aware of it and retries may happen across different processes (maybe they are running their application on k8s with multiple pods), which doesn’t work with stripes default behaviour.

IMO the idempotency key should be required to be set and make the user aware that they need to handle retries properly.
Maybe you should close all your accounts on all social media and stay away from social media for a while. Social media sites like Reddit, and Twitter are designed to cause outrage.
> Some years ago we all went from svn to git and I am not really sure the improvement was worth it.

I used svn for years before switching to git. Trust me, git is a huge usability improvement, even for use as an individual developer or small team.

Merging in svn was significantly harder. Cherry-picking was unheard of, not to mention diffs and patches.
This is one of those sayings that I don't think is helpful. What it should be is: limit variable scope to the smallest thing it can be.

Nobody is being fooled about global state when you have a singleton database connection, event bus router, or network stack. I don't think your program is better when you pass in i/o functionality to every single class context in the constructor.

Similarly a mega-class that encapsulates everything your program does is also a code smell. There's no point to a private variable when everything can access it.