skysight-inc/HackerNews huggingface dataset:
“Everything you need to know to not write obscure programs in C++ is to learn C. C can provide with every basic concept you need in order to be able to program anything that you want. […]

Learn operations on strings, dynamic memory management with boundary checking, control flows, simple and abstract data types, etc.“

_If_ you start with C, I would skip the “operations on strings” part. C doesn’t have strings. It has a set of poorly designed functions that operate on sequences of contiguously instances of char* that satisfy the constraint that they contain exactly one char* whose value is zero: the last char in the sequence.

Nowadays, I wouldn’t start with C, though. I think it’s more distant from modern C++ than python, go, or scala (yes, you can write C++ in C style, but you shouldn’t)
Monarch butterflies are tracked by people, who use the unique identifiers on the passive tags to identify butterflies and record where they were spotted/captured. The tags themselves are no more than a sticker designed to stick to butterflies without impeding or harming them - they started making them in 1992, afterall.

GP is talking about active tags that get their coordinates by using GPS satellites and (I assume) phone home in some way.
> but they can and do make them for customers only.

Starbucks doesn't anymore after the PR incident couple of years ago. There are 15k Starbucks in USA.
There have been Couchsurfing alternatives for years and years. BeWelcome is a registered non-profit in France that has been around since ~2008, while Trustroots (also a registered non-profit) was founded in 2014 to provide a site whose web infrastructure could develop more quickly through hackathons, and would be more friendly to alternative travelers like hitchhikers.

The only reason some people saw a need for Couchers is because they wanted a site that was a more faithful clone of Couchsurfing, except without Couchsurfing's recent turn towards paywalls. However, people who have been involved in internet hospitality exchange for many years are concerned about this kind of duplication of effort. There were also concerns about Couchers’ non-profit status in the beginning, but one does have to give them credit for swiftly resolving that.
Interview with String Theorist Michio Kaku
A 615-megawatt facility coupled with 60 megawatts seems a bit low on the storage side. The more common approach I have seen with solar panels is 75% capacity for about 3-4 hours running time.

It should be quite clear that neither solution are even close to enough power to bridge the gap and require additional energy in the form of fossil fuels. It will be less fossil fuels than if the nuclear plant was exclusively replaced with fossil fuels, but it will be more fossil fuels than before and it will be adding to global warming in a time where the planet can't take more.
People are asking Amazon to change the driver’s schedule to include time for bathroom breaks between deliveries. Presumably drivers only decide to pee into bottles because Amazon gives them tight deadlines to meet, not because they prefer bottles to bathrooms.

The scheduled bathroom break time would have to include time to drive to a usable restroom. Others in this thread are discussing challenges related to that.
That's what Facebook says.

But Facebook has no history of lying right? /s
Why would the data being public stop robo-callers from using the list?
Having a temporary variable to make code more readable is hardly a 'clever thing'
Theres a game called TransOcean: The Shipping Company on Steam: https://store.steampowered.com/app/289930/TransOcean_The_Shi...

Theres a sequel to it, although I've never played it. First one wasn't too bad, the economics wasn't too complicated, but worthy of playing.

Sequel: https://store.steampowered.com/app/350110/TransOcean_2_Rival...
Recently discussed: https://news.ycombinator.com/item?id=26637526
Yeah and afaict actions on fork PR's are off by default. This is akin to fixing a sinking ship by plugging your fingers into holes as they appear, not how you build secure systems: default deny on all logical+physical capabilities, central authorization policies for grants, defense in depth for layering those.
Sure, I guess. The pall it put everybody under killed the table, though. Even the dealer was sad for him, and I assume a dealer at a rural U.S. casino has seen things.
Is this available to people outside of the US as well and is there a guide for setting this up? Last time I used twilio for a basic sms gateway there was a lot of clicking and typing.
The best I’ve found is to simply reject all calls not in my contacts. Real callers leave a voicemail, which gets transcribed.
The "Wat?" Talk got quite a few example and is hilarious.

https://www.destroyallsoftware.com/talks/wat
I used to like how KDE could load a session in the background so when you logged in it was ready: for me the post-login takes as long as boot; which makes it annoying.

Not as bad as it used to be when the audio tape failed after 20 mins, but still.
Why not just use Python itself for storing configurations? You can be explicit about the data type and no need to parse anything
> And until there is the kind of assurance from some Linux distribution or whatever, all criticisms of the difficulty of getting a Linux machine running are valid.

Great, they're invalid! Off the top of my head, System76 and KDE both sell laptops running it. As both of them have distributions, and selling something is more or less as close to assurance as you can get, by your own logic here the criticisms are worthless.

I don't even care about "le Linux on the desktop meme", personally, I just find these criticisms incredibly lazy and transparently without merit.
A lot of math is based on word problems and has ambiguities from language. E.g. "Alice gives Bob half her apples and Bob gives Alice half his apples". The number of apples each of them has depends on whether the actions were simultaneous or sequential and whether "his apples" refers to the apples Bob just received from Alice.

That's a great example and teaches about race conditions too! But there's still a finite set of correct answers, and without showing working there's no way to teach them. And for all I know, this question might not work in languages other than English and isn't that one of the points of this whole exercise...
> I can't find any way to adjust the size of these media controls

I don't think there is any app which allows you to do so. Still the settings dialog has lots of options (more than alternatives).
I've heavily customized (minimized) Musicolet one time. Now I only have 5 tabs which I use the first 3 (playlists, now playing and folder-view).

The most important features for me is "search in queue" in playlist view itself (the narrow bar below). Also it is nice that it auto-generates the "most-played musics" in a separate playlist with counts of each item beside.

Maybe the default settings and layouts is not clutter-free but at least it allows the user to de-bloat and customize to his liking.
Toilet paper theft is concern too
I was thinking just a consensus among countries to individually enforce it (and possibly economic sanctions on those that don’t, but maybe not).

And I was kind of speaking hypothetically? Not saying it was an achievable goal. Just saying that if it did happen, then there would be little to no reason to be concerned about the energy use.
What about this data being public causes it to lose value? It seems like it would be a boon for lots of companies even if every other company has it.
I don't think mere possession is usually a crime, it's tied to the intent, which is more subjective. But if mere possession constitutes breaking the law then the 'crooked' label would be inaccurate.

Inchoate offenses [1] are pretty interesting in general - I'd like to hear LockPickingLawyer's take on it, if he hasn't already posted something interesting about it (please link if so).

https://en.wikipedia.org/wiki/Inchoate_offense
The community version of are Remobjects Elements is a joy to use. I am using it in a professional/commercial manner to write closed source libraries for iOS, Android and Wasm all written in Swift.
Down for it. With catala-lang.org for example.
The version of DSub on F-Droid is unfortunately years out of date since the dev had to pull in some Google library for Chromecast support.
I have not but I will, it seems to have the emulations that I can use.
There is an obvious fix for this, which is to allow drivers the time to find and use a bathroom, even if it is far from their route.

There is an obvious reason driver-employing companies don’t do this, which is that it would raise costs and increase delivery times, two things that all customers (both shippers and receivers) absolutely hate. The shipper that implements this unilaterally will instantly become uncompetitive vs shippers that maintain the status quo.

Honestly this is a classic case for top-down regulation. Because it forces all companies to solve the problem simultaneously, it should have little effect on the competitive balance. And companies with unhappy customers could blame the government. That also makes it hard to get regulation done. Voters essentially would have to support raising their own prices in order to help truck drivers.
I’m curious, has anyone actually tried urinating in a bottle here while on the road?

I tried it once, and found it so convenient I’ve done it multiple times now. These Amazon workers may be onto something. All those times I had to urinate so badly while stuck in traffic, I never realized a bottle could be so easy to use. I imagine if you’re in a delivery truck where you could stand up walk into the back it would be even easier, almost trivial. So what’s the big deal?

To discard the urine, I will typically pull over to the side of the road and open the door slightly to empty the bottle discretely. I’m trying to think what the best bottle to keep in the car for this purpose could be. Something made of glass and with a long neck is ideal, to avoid spills. A wide mouth is also helpful. Maybe something like a yellow hydroflask.

From now on, when I do a long road trip, urination will no longer be a reason for me to have to stop and pull over. If this saves me time, I imagine it would save an Amazon driver time AND money.
Its basic strategy. LGBT groups wanted tolerance in the 1970s, but now sue you out of business if you don't make a "transition-party cake". Same could be said for Muslims in Europe: they want tolerance now because their numbers are small, but when they get the majority, they might want to change a few things.
https://www.usnews.com/news/politics/articles/2021-03-22/col...
I'd argue that the right approach is to replace the ISP router with your own and disable uPnP, for your own security. Otherwise its only a matter of time before you see this again. You cannot count on having only trusted devices on your network.
BillionToOne (YC S17) Is Hiring a Health Care Product Manager
There’s a short book by Stroustrup called “a tour of C++” that shows you the essentials. Get the 2018 edition.

Then read some code and write some code. Don’t worry about efficiency. You can read the “core guidelines” as well which are quite useful, but for a complete beginner many of them will be more than you need.

Like Lisp, C++ is a multi paradigm language: you can write procedural, o-o, and other styles of code. It has a pretty powerful type system.

Don’t worry about old, c-inspired c++. If you know C, as a learner consider c++’s relationship with C to be no different from Java’s or even Python’s relationship with C: some common syntax and conventions. Of course C++ is indeed more tightly coupled with C, but if you think of it that way you will make your life significantly harder, especially when starting out.

I find c++ pretty convenient for rapidly prototyping something that runs reasonably quickly. Then if I care I have enormous power for optimizing...but it’s often unnecessary.
Hugh of death likely. I can download it correctly from here: https://marcodiegomesquita.tripod.com/
Starting Forth is a great programming book. One of the best I have read. I picked it up last year when I wanted to learn Forth for the purpose of programming ATMega with FlashForth as an alternative to using Arduino IDE or C. Forth really shines when it comes to probing hardware thanks to its interactive nature. However, you are pretty much on your own if you want to do anything beyond basic stuff like making an LED blink. There are some great resources like https://arduino-forth.com/ to help you get started. Just don't expect everything to be magically abstracted away similar to using the Arduino IDE.
It is also probable that the drivers are unable to find public restrooms to use, even if they had time to have bathroom breaks.

For example, I live in a very big city, at the city center but there are not any public restrooms nearby. People with emergencies are have to do their business in the public.
That about 1 Starbuck for every 600km², hardly a replacement for public bathrooms.
On a long enough timeline everything and everyone can be compromised (or the institution fails before then)
Interesting numbers in the linked tweet in the article.
5M accounts for the Netherlands exposed. Almost 1/3 of the population. Compared to Germany where “only” 6M are leaked, not even 10%.
EWWWW what if you miss????
Pervasive unconstitutional police state... good?
> I think the only reason it fell from grace is the simple fact that it came from an era when best implementations of it were commercial, and that's not something that is acceptable in this day and age.

I love Lazarus, and Delphi before it, and Pascal before that ... but I gotta say, the language, readable though it is, is a pain in the rear to write.

An instance of a class is not the same thing as an object.

By default, the file open/read/write/close routines don't return error values so the caller has to do extra work to check statuses after each use of these functions (IIRC, those error codes from Assign(), Reset(), etc weren't thread-safe either!)

Some conditional expressions cannot have parenthesis (compilation error) while other conditional expressions must have parenthesis (also a compilation error).

Some builtin functions can't be easily 'wrapped' because while the function may take variadic arguments, the language doesn't allow the programmer to write variadic argument functions.

It's death by a thousand cuts; each little problem, surmountable on its own, adds to the overall friction when developing.

What I really like in Pascal:

1. Programmer-defined range types: enums are not a replacement for those.
2. Bounds checking on arrays; I'd rather crash with an exception than silently overrun the array.
3. Nested functions (although, now with almost all languages supporting anonymous functions nested functions probably aren't really needed).
That's a good idea, I wonder whether such apps exist.

Just wanted to point out that you _are_ able to pee anywhere, you might not be allowed to, though.
It's a viable business only where there is plenty of traffic. (Assuming constant occupancy is not conservative!) In such places in the US there are already retail businesses meeting the need, as well as selling snacks, etc. The problem is everywhere else, such as the residential areas where many deliveries take place.
Jacob Appelbaum character assassination was pushed from the White House
Besides the JS version, the Maplibre project also maintains a FOSS fork of the matching mobile libraries at https://github.com/maplibre/maplibre-gl-native
Once more a sad story about so called plug and play devices doing weird stuff. I prefer getting my hands a bit dirty using:

- FreeNAS / NAS4free / OpenMediaVault (for Home-NAS)
- OpenWRT / OPNsense / PFSense (for Home-Firewall)

Nearly Plug and play with this Hardware:

- Dell T20 / T30 / T40
- HP Microserver N54L / Gen8 / Gen10
- Linksys WRT 1200 / 1900 / 3200 / 32X (https://dc502wrt.org/)
- Alix APU
Wasn't Facebook just trying to lecture apple about privacy?
As always, the spying agencies are NOT particularly interested in your actual messages, but your metadata.

They want to know who talks to who. Limited data? What a bunch of horseshit.
Almost right. On the basis of their political affiliation, mostly.
This also started a few weeks back for me, more unsolicited calls/texts.
I think it is available for people outside the US.

https://support.twilio.com/hc/en-us/articles/223179908-Setti...

I would recommend using the Studio workflow which is GUI based and easy.

https://support.twilio.com/hc/en-us/articles/115016033048-Fo...
Hard to believe anyone still thinks of the NYT as “prestigious” these days.
I doubt the claim, but the sentiment I think is valid. If you think about what data these entities are holding, it's not unique to a single database or entity. Your name/address/phone/ssn/etc. Is likely stored in so many places that the probability it gets leaked from at least one eventually I'd say is very nearly, if not 100%.
My favourite tax rule (from Slovenia) is that tax-evasion isn't a tax-deductible expense
The director who gave us The Force, inspired 2001, and changed film
C++ is a value semantic language. Copies are implicit and references are explicit (expressed in the syntax). Many other languages are reference oriented, and references are implicit and copies are explicit. Both have pros and cons, and in both you sometimes want to cross the aisle.

When you consider that references in C++ need to be explicit you have the following solution:

https://gcc.godbolt.org/z/PGbc46cxK
It's what I have done for years. Only costs $1/mo for the number and a couple hours learning their API.

Your existing cell number can be ported over to Twilio if you are patient.

The only problem is trying to use the number for 2fa. A growing number of banks (like Capital One) block Twilio services from recieving their SMS.
Hence my question. Per site guidelines I assumed the most generous interpretation of the poster's comment, which to me means they found those sites and do not consider them official. In that light, I was curious what they would consider official.

I prefer to take a hardware vendor's opinion as to whether that hardware is supported by Linux. They have some skin in the game, and have the resources to test the hardware, whereas many Linux distros will rely on user reports.

I imagine Ubuntu and Redhat have more resources to validate hardware and so those sites are likely more reliable, but once you get to niche distros YMMV on their compatibility matrices.
Chip industry battle royal: Arm throws down the gauntlet at Intel’s feet
Put a monetary cost of holding user data, and a steep monetary cost on losing user data.

Ex, pay x amount per month in perpetuity for each piece of information about a user your keep. And have to pay the "net present value" of those payments if you lose the data.

Having to pay for hoarding user personal data changes the incentives from gobble up as much as possible, to instead only pay for a users data that is worth the cost to your business.

And as an extra incentive to not hold unneeded user data, know the costs you'd pay if it was breached.
I recently purchased a phone that had the Facebook app preinstalled. If I had to guess, the mere act of connecting to WiFi caused a whole slew of info to get sent.
I still go with the assumption that everything that is sitting somewhere in some server will be leaked. Having unnecessary data is the problem
*there were none
I'm not going to go into my background as if that were some added credibility like you seem to think your background is. A point stands on its own, not based on the authority of the person making the point.

> if there's no proof that the money is yours, you can't claim the ownership, taking it away from you it's easier.

You seem to have little clue how cryptocurrencies even work here. You can't take someones crypto without taking their private key and you won't even be able to know how much crypto exists in someones wallet without the private key.

Now of course someone can put a gun to your head and demand your private key, but they won't have any indication that you even OWN a private key with crypto whereas with fiat they can just raid your house and claim the cash.

In no circumstance is it easier for a central authority to take crypto than cash.

I'm not sure what ledger you think will prevent criminals from taking cash from your house or bank in the same manner. If you think a thug with a gun can't demand your bank login the same as they can demand your private key then you really don't know what you're talking about. I could relay personal experience, but again I don't consider arguments from some notion of anecdotal authority to be valid so I'll let you just google the situation if you'd like where people at gunpoint are made to withdraw cash from ATMs. It's common enough.

Again, there's no situation where crypto is easier to steal than a countries fiat.
Somebody needs to make a bot/AI that regularly posts semi-contentiously titled articles like the above because they spawn some of the best discussion threads on HN, I learn something new (or try something new) every time..
Thanks for the 'option-tab' trick!
I wouldn't know what resource to point without having a lot more context. And even if I had, I don't feel qualified to properly give you a diagnostic.

All I can give is my anecdotal evidence. Most of our development teams apply TDD most of the time. We're working on a mature (5y) enough codebase to have a stable foundation. We do lots of integration testing and our testing is not without issues (it's slow, some of it is flaky, lots of test fixtures that are a pain to manage) but those issues do not come from TDD and are being dealt with piecemeal.

The only downside of TDD I've personally witnessed in practice is tendency to write superfluous tests. They either don't test anything useful (e.g. things already guaranteed by types) or leak implementation details. But we encourage developers to improve those tests and the engineering team is overwhelmingly positive that TDD has been a net win for productivity.

We try to deploy as much pair-programming as we can and the TDD methodology is specially improved by this. It helps dealing with loose ends from the task description or the technical kick-off and double-checking if the task acceptance criterion makes sense. If one developer of the pair has to take off halfway through, the most important bit is already agreed upon and the code review is much easier later on. Or if the pair-programming starts halfway through, the arriving developer can read the tests to catch up and help make the other tests pass.
SEEKING FREELANCER | Remote Inning | Python/Django Developer | Full Stack Developer (Django + React/Vue) | Remote (India) | Full-time or Part-time | https://www.remoteinning.com

Remote Inning is looking for Django Web Developer. We are looking for developers with qualities like consistency, reliability, working independently and communication skills especially written skills apart from tech skills.

As we are a remote-first company, you can work from a place of your choice. The position is open to candidates based in India only. Full-time salary is 15-25 LPA and hourly rate is $20-$25.

Why work for us?

- International projects

- Great pay

- Write blog posts for the company blog

Job description: Worked on complex Django projects and React/Vue experience is a plus. https://drive.google.com/file/d/1o7YRPQAwJIX3mQ92JNzAzdmXdtX...

Email us at hello@remoteinning.com with Resume. Mention your development experience, motivation for applying to us and links to relevant projects.
This news is from jan29
https://www.theverge.com/platform/amp/2021/1/25/22249571/fac...
Dear Spotify: don’t manipulate our emotions for profit
This is from jan29
https://www.theverge.com/platform/amp/2021/1/25/22249571/fac...