skysight-inc/HackerNews huggingface dataset:
Metaprogramming is a fairly broad term, but some of the kinds of things I often find myself doing in Python are:

- Writing functions that make functions: often I'll find that I want a family of functions that all follow a the same general pattern. In Lisp this would generally be done with a macro; in Python it can usually be done by writing a function that returns a function. The "maker" function will generally have some parameters that fill in specific parts of the general pattern; the function that gets returned is therefore a closure over those parameters (i.e., it has specific values of them filled in). Doing this with a "maker" function is less error prone (particularly if there are a large number of variations on the general pattern) and follows the DRY (don't repeat yourself) principle, which I think is a very good one.

- Writing decorators that add a particular common behavior (such as logging or debug output) to a variety of different functions or classes or methods. This is a common case. (In fact one could argue that decorators in general are examples of metaprogramming.)

- Using data to construct code. Database programming is a common application of this: for example, I have a database library I commonly use (it's on GitLab here: https://gitlab.com/pdonis/plib3-dbtools) which constructs typed namedtuples specific to a database table's fields, and wraps rows returned from queries in them for easier field access. More complicated database ORMs use similar techniques.

Unfortunately I don't know of any good resources on metaprogramming in general.
In Portland, OR, there is substantial transit infrastructure, but the results are a bit mixed. Everyone agrees that it is easy to get around most of the city, but its suburban areas tend to experience the same low-density/high-prices phenomenon that is seen in other coastal cities.

Why? Last I read on the topic, it's because the market is factoring in the potential value of each parcel when built out according to what infrastructure dictates, but without actually building it. So small garages built 50 years ago are getting priced like 8-story apartments.

Actually building to meet the demand is the thing that lowers the rent, and that comes down to raising the inflow of building permits each year. That's the part that has to be solved.

One of the things that Japan does besides having a lot of trains is a standardized national zoning code that makes planning and permitting much more straightforward. Building in Japan is much more of a commodity, and the prices reflect that. And an example of relaxed building rules in the USA is Houston, which has long had a cool yet expanding housing market, but a car-centric one.

The effect of the combination of the trains and low regulation in Japan is that you get dense/cheap cities - and with fast trains, all of Japan acts as a "suburb of Tokyo". Trains and regulation gives you PDX. Cars and low regulation and you get Houston. Cars and regulation and you get regional SF.

By comparing these different outcomes something like a coherent theory occurs: population in the industrial era always tends to urbanize. If we restrict the flow in some way, we get high priced urban areas; the specifics of infrastructure choices are just one factor, and not necessarily the biggest. But population growth itself is a national issue and comes from other demographic factors(immigration, childbearing rates, death rates). And although Tokyo still gets bigger, which is indicative that urbanization isn't "done", Japan as a whole is on the decline.
They know this is nonsense and that the spec is wrong.

It's there for backwards compatibility, which is not nonsense. It keeps the old code running.
Nima Arkani-Hamed was one of three theoretical physicists featured in the wonderful 2013 documentary "Particle Fever".

https://en.wikipedia.org/wiki/Particle_Fever
I feel like this is where the "Apple in California" way of thinking really shows itself.

If you think about it, Apple really exclusively makes products for the normal consumer market, and then their pro products are exclusively aimed towards the two largest economic sectors in the state: Silicon Valley and Hollywood.

The Mac Pro isn't the Mac Pro, it's the Mac Los Angeles. And the iMac Pro isn't the iMac Pro, it's the iMac San Jose.

In Tim Cook, Phil Schiller's, and the rest of the exec team's heads the rest of the country needing pro might as well get fucked. All the scientists, all the artists, all the people who would love a Surface-type product you can ink with, all the music producers (including me) using iPads who bristled at them removing the headphone jack from that product, all the people doing business work, all the people needing machines for power users, all the starving professionals who need a machine they can upgrade: Apple thinks you can get fucked.
Everyone was expecting things to go a certain way so nobody noticed that the radio communication hadn't actually been made.

Had he tried to do something nonsensical approach/tower/CFI would have noticed and said something.
I know that but the PHP deserializer doesn’t know and gives me back an object instead of an array of one. If it’s two it detects an array.
Donating your copy whenno authoritative source exists is a great chance to retroactively update the past.

Anything that was not securely scanned by WBM but was donated should have a different and clearly denoted status, if admitted.
Isn't this part of why postmaster and abuse addresses exist? Perhaps a WHOIS entry that was specifically for security issues?
after reading through the comments i found this on hackaday,
its from 2018; seems germaine to the current topics in thread:

https://hackaday.com/tag/stingray/

the first paragraph is an intro speech of sorts then the real content begins. There is an interesting article linked in that part so i want to bring it to the fore.

https://www.eff.org/deeplinks/2018/04/dhs-confirms-presence-...

it seems that a number of factions may have been using "stingray" devices and thier contemporary equivalents for some time.
They do an estimated half billion in revenue every year, I'd wager there are more than 100 'good' positions within the privately owned company known to promote exclusively from within.
The CEO of Qwest did and he was subsequently jailed.

https://www.washingtonpost.com/news/the-switch/wp/2013/09/30...

From a YCombinator comment:
"The way that Qwest CEO Joseph Nacchio so meaningfully resisted the government that he was convicted of insider trading for telling people his company would be successful when it actually relied on a government contract that was pulled in retaliation, which he couldn't use as a defense in court because of national security concerns? For which he served four years in prison, and Qwest no longer exists? That sort of meaningfully resist?
The message to me from that case is clear—if the US government tells you to jump, you answer, how high."

https://news.ycombinator.com/item?id=20369120
Pornhub 2019 Year in Review
>Something car manufacturers still haven't cottoned on to.

For racing applications it's pretty common to have a multicolor LEDs as backlight for your gauges so your whatever gauge turns red when the reading is bad.

For normal cars the goal is totally different. They want to give you the minimum information needed to operate the vehicle and only alert when something is critically wrong. This is why proper oil pressure gauges went the way of the dodo in most vehicles.
It's worse than that. She made a reasonable blog post highlighting somebody's doubts of the LIGO response, got a reasonable response from LIGO, and acknowledged that she was satisfied with it. That was a perfectly fine scientific dialogue.

Then months later, she made a much more conspiratorially-toned blog post raising no new issues, but which linked only to her original post as proof that "doubts have been raised", not acknowledging the LIGO response, and generally painted scientists as liars. That is just incredibly disingenuous, and I see no motivation behind it besides wanting to fire up a popular audience.
The trick that made animation realistic
> This is a tough lesson for engineers to learn, but whether you are right or not doesn't even really matter, it's the relationships and how you present it.

Relationships are everything. How you tell someone they are wrong is important. You can shear a sheep over and over, but only skin it once. If you're going to skin someone, understand you're also ending a relationship.

Every person is different. At an old job everyone in the office thought a coworker and I hated each other. They would hear the fights coming out of our office while we fought for our ideas around a whiteboard. The reality is that we were great friends and still talk 15 years later. But, we knew each other and how to interact with each other. The people I work with now are different types of people, and would not respond that sort of interaction.

Finally, many decisions are not right/wrong or black/white. In fact any of number of solutions could typically work. If someone else is really passionate about their idea, then let them run with it. Either it works - great! Or it doesn't work and we loop back around to a different idea.
Thank you, I just bought it :-)
Rails is a great example. For me it’s one level further up from simple meta programming. Writing stuff for yourself is one thing but writing stuff that’s universally usable for a lot of people is much harder.
On one hand, sure, library science and forensic analysis are extremely important, and nothing lasts forever, especially without the care of curators. We aren't dismissing traditional nor classical archival methods, and they already have taught us much about how to do digital archiving. [0]

On the other hand, clearly the Internet Archive is a competent digital archiver, and they've earned the capital-A "Archive". They publish a larger digital commons than anybody else, I think, especially at the low low price of gratis.

It sounds like your entire complaint is in two points. First, that IA doesn't ask (much) permission, which is unsurprising. The history of libraries is not one of asking permission, but of simply doing it. The public has been convinced repeatedly, over the decades, that libraries are good for them, and this public support helps insulate librarians from corporate interests.

Second, that IA doesn't employ enough women. I can't help you with that, but you are free to improve yourself.

[0] https://en.wikipedia.org/wiki/Disc_rot
On a semi-related note... News helicopters: why? How are they justified at this point?

It's crazy to me that we're flying entire people on fragile, noisy, polluting machines over dense urban areas so the 7 people still watching TV can look at... traffic?

I think this should go away entirely or be done with (drum roll) drones.
'Carpenter' is a far more suitable comparison because almost zero of software is written 'for abstract reasons'. Software is almost always written for practical reasons.

Real carpentry involves an immense amount of detail, nuance, and a number of micro-skills you'd never imagine just to do mundane things.

It also keeps the analogy that a lot of people think they can be carpenters because they 'can build a deck'. But even building a deck, well, can be quite hard and require bits of skill that can take years to develop. A lot of people think they can write software as well. Though it's possible to hack things together quickly, it takes years of focus to 'get good'.

I suggest that nobody in the educated class wants to compare themselves to what people often consider 'blue collar workers' whereas the comparison to 'artists' evokes a more supposedly distinguished aspiration.

Having known enough 'master tradesman' frankly I have more respect for them than most artists I know. That said, I'm not sure where in the quality range the artists I know sit.
Whenever I fix or setup computers for friends/family, I sneak in Firefox + DDG. Every time I've asked if they've noticed a change with "the internet" and internet search, I've only ever got "nope" or "there's a duck now". No mention of "it's worse" or "I want it changed".
Ok so your original response to the comment is factually incorrect. Unless you think deducting capital losses and retirement accounts should be gotten rid of.
Interesting, although the features might leak into other codebases and services too, at which point compiler directives won't be enough.

I believe this is a lot more tractable with Unision's[0] content addressable hashing. It's kinda made for that although more with an eye towards updates to distributed systems.

[0] https://github.com/unisonweb/unison
You never know.

For example, about Sabu etc: https://sites.google.com/site/avalonlogsefnet/

Oct 29 12:28:53 <Cambion> we have logs that date back to 1993 and identify pretty much everyone from nickname change to nickname change
Oct 29 12:28:59 <Cambion> phone numbers, everything
Storage speed has really outpaced CPU speed for the decade zswap has been out. It still has its place but if you have modern flash storage it may well be a throughput drop and power usage increase to enable zswap (particularly with the default algorithms).

Latency for pulling single pages has never really been limited by CPU performance, that's always been faster and will probably never change due to physics.
99pi has an episode on them.

https://99percentinvisible.org/article/concrete-airmail-arro...
When somebody pretends to be neutral and unbiased and then goes on to give a one sided narrative containing information that they know is false and leaves out the many valid counterpoints to those claims and brands the people who would defend them as morally compromised, then it's pretty obvious what's going on.
Well there’s a button on the drone to disable the altitude restrictions, I’m not sure why you’d disable the ADS-B transceiver unless you are just trying to cause trouble.
Yes, this is why HTML, CSS, HTTP are all dead as open standards, right?
Towards a Convention for Table Ordering
I agree with the concern about bogus reports from automated scanners -- Tarsnap gets a lot of those (run against the website, even though Tarsnap's bug bounties explicitly exclude the website!).

I suspect that if this is useful at all, it's not for serious testers but rather for people who stumble across issues by accident. There are times when I've had to phone a number in whois to report a problem, because all of the contacts on a company's website went to customer support or marketing -- and there was one occasion when I didn't report something I noticed, because the whois was anonymized.
We could have a government agency to fund it, since it’s in the public interest!
Yea, I do graphics programming mainly and I suppose console development resembles embedded to a certain degree. I guess part of my preference is that I really don't have a choice. The codebase I'm currently in can take minutes to dozens of minutes to compile. This is compounded by the fact that just loading the engine takes a long time, and loading levels/assets to get to the point where I can reproduce the bug again takes more time. I have to deal with heisenbugs a lot, so necessity has more or less forced me to learn the toolchain (or never get anything done).

It is true though that if there are bugs in the toolchain, it affects me a lot more. For my personal projects, I actually avoid windows and "fancy" GUI based tools. I also painstakingly write all my code so they either compile fast or can hot-reload.
Yes! To be clear it is the second blog post/video that I am criticizing.
Yes, I realize that's the intention. My concern is whether ultrasound might unintentionally break up the tumour and release cancerous cells to spread throughout the body.
It seems like a lot of programming ideas are just ways to manage spaghetti rather than reduce the spaghetti. I worry that a lot of programming is a sort of local minima, where people dig themselves into a hole that they can't iteratively dig themselves out of. Something like this, which allows you to write code full of cross-cutting concerns and lets the programmer fool themselves into thinking they wrote clean code because they swept everything under the rug - that kind of tool is just going to dig deeper holes.
I can't tell you exactly how I got out of that situation because it was a gradual change. But one thing you should do is practice. Practice being funny, practice body language, practice following the thread of a conversation, practice being interesting. Practice this with other people, and catch every bit of feedback that you can: try to infer what their faces tell you, if they're comfortable with you or not, what do those people like and dislike. Try to stay away from other awkward guys, you can't learn anything from them unless they're sociable, which means they're not totally awkward. You'll also find that a great deal of people will try to take advantage of you. Try to stay away from people that ignore you when trying to talk to them, or don't hold what you say as important. If they dismiss you, then you must have the courage to dismiss them.
The communication failure begins with management. Don't blame the employees if there are no mechanisms/systems/processes in place to report your managers.

You're right, it will build up a grudge that gets launched uphill. That's what I did, after letting my manager litter my codebase for months until he made the big mistake of telling me to shut my mouth, giving me a reason to go to HR.
This can also seen as Twitter getting out ahead of https://www.congress.gov/116/bills/s2658/BILLS-116s2658is.pd... (press release at https://www.warner.senate.gov/public/index.cfm/2019/10/senat...) -- which would call for NIST to define:

model technical standards by which to make interoperable popular classes of communications or information services, including—

(1) online messaging;

(2) multimedia sharing; and

(3) social networking

(And all within 180 days ;-) No small feat.)
Location: Brazil (currently), Europe (citizen), USA
Remote: Yes
Willing to relocate: Yes
Technologies: Ruby, JS, Python, VBA, HTML, CSS
Résumé/CV: https://www.linkedin.com/in/marcos-cannabrava/ , https://github.com/marcoscannabrava/
Email: mpcannabrava@gmail.com
I was once publicly told by my immediate supervisor to stop reading a book about XML (back when XML was new) when we started using XML for new web services.
A curated list of online forums
Honestly I’m not sure with the 160 covers. It’s just another one of those things in our medical system that is priced a bit too high to make sense for a good number of folks. I would like to see healthcare be more accessible.
RFC-3986, section 6.2.3:

For example, because the "http" scheme makes use of an authority
component, has a default port of "80", and defines an empty path to be
equivalent to "/", the following four URIs are equivalent:

http://example.com
http://example.com/
http://example.com:/
http://example.com:80/
Alex Lew gave a great talk on using PP for data cleaning tasks: https://www.youtube.com/watch?v=MiiWzJE0fEA
Oh well-well, elaborate please about their scale. Bigger than Twitter, bigger then Netflix. Just give us some proof about that.
Mozilla's DeepSpeech TensorFlow Based Speech-to-Text Library Bindings for Vlang
What's wrong with emailing webmaster@domain.tld?
I still have a Class C registered to me personally from way back in 1993.
Theoretically an x billion dollar dividend results in the exact same outcome for a shareholder as an x billion dollar stock buy back. Not sure the time value of money factors in.
This seems to me to be vaguely like manipulation...
It works best on recruiters, people actively looking for job seekers.
They are fantastic at loosing their best talent to the western counterparts. Nothing fantastic at all for a big company within other reaches.
must be a lot of reads. I've read enough that I get prompted for a social login, but never so much that I can't [x] out the prompt.
I don't. He can be a bit of a space cadet at times and sometimes get stuck on the wrong things, but I would never call him incompetent.
I had misremembered the specific CFR section: it was 14 CFR 25.203:

https://www.law.cornell.edu/cfr/text/14/25.203

The specific issue seems to be the sentence: "No abnormal nose-up pitching may occur." The 737 MAX engines cause abnormal nose-up pitching at high enough AoA, if their pitch up moment is not compensated somehow.

Here is the page that first led me to that section:

http://www.b737.org.uk/mcas.htm

Still digging for more info.
> IPv6 is just as rare as IPv4

Well, it’s not? There are 2^64 /64 IPv6s compared to 2^32 IPv4s in total. Unless you meant to say a /64 is as expensive as an IPv4.
What law in The US? In ancient times, like 40+ yrs ago, before the first big extension / copyright automatically granted at moment of creation. It used to be req to send copy to LoC to earn right to enforce copyright.

I've published several books the LoC does not have.

Also the national libraries aren't the sole archives of culture. Univ and private libs preserve all the important stuff government has not the interest or budget for.
Once you get to codebase sizes like... an OS, a programming language's tools, a database... this sort of thing begins to look awfully simplistic.

Instead you have to properly clean tech debt from time to time.
This depends on culture actually.

However you order it, though. Be honest and direct, and include corrections to give them a path forward. That's the best way to end on a positive note.
This is research, it's valid part of anyone's job.
Yes. It creates another problem on a different level, which is that creators now try to hack the algorithm and generate contents that are more likely to be recommended.
No machines _we know of_ _in the present_ are conscious.
Our ignorance about whether that's possible or not is not a proof it's not possible.

Besides, why would it matter if the observer is conscious or not?

Our psychology is biasing our reasoning about these thing, leading us to attribute something magical to the process that make us "us". It's understandably utterly disconcerting to lose the ground under the sense of self that we inhabit, but that's not a reason to discard, a priori, a line of questioning reality. I know it's hard to shake this uneasy feeling off, even for non-religious people.

But let's imagine for a moment that whatever the substance of our consciousness actually is, it can be forked/cloned into copies of itself that no longer share the identity after having been cloned, yet retain the memory of past events (external or internal to itself). I realize this is a bold assumption, but arguably less contentious to accept than whether machines can ever become conscious (perhaps because it sidesteps our innate aversion for outgroups, non-biological entities being extremely outgroup).

Now, imagine you fall asleep and get cloned in two, and the two resulting persons are put, still asleep, in two rooms (room 0, and room 1). After an hour they wake up. They both have copies of your memories and both have a copy of whatever-the-thing-that-holds-consciousness is (soul, matter, different kind of "stuff", not really relevant, as long as it's not incompatible with the "cloning postulate"), so in a way, they both think they are _you_; they feel a direct continuity with what they were before falling asleep and getting cloned. They'd have no way to tell which of the two entities they are though.

Imagine now being one of them. You get out of the room and peek at the room number on the outside of the door.
Which number will you see?
Tldr? Video seems extremely clickbaity