skysight-inc/HackerNews huggingface dataset:
Undefining the macro definition of a standard function is an approach described in the very ISO C standard itself.

I have the 1999 version of the standard in PDF form handy. Let's see,

7.1.4 Use of library functions

1 [... snip ...] Any macro definition of a function can be suppressed locally by enclosing the name of the function in parentheses, because the name is then not followed by the left parenthesis that indicates expansion of a macro function name. For the same syntactic reason, it is permitted to take the address of a library function even if it is also defined as a macro. The use of #undef to remove any macro definition will also ensure that an actual function is referred to.

Nothing dubious about using #undef to remove a macro definition of a library function.

There probably isn't a select macro; the #undef is just in case there is one, so that when we #define our own, we don't get a diagnostic about a redefinition with a different token replacement sequence.
There's more to it than that.

"...more than double the state’s gas tax to 44 cents a gallon, double the driver’s license fee to $60 and raise the vehicle registration fee to $148. The driver’s license fee is now $30; the vehicle registration fee is $98. It also would significantly hike the registration fee for electric vehicles, from $17.50 to $1,000."

$17.50 → $1,000 is one heck of a jump. As is $98 → $148. For some reason I find the doubling of the driver's license fee as less offensive. Maybe because it doesn't have to be paid every year.

One way that Illinois is a lot like Texas is that legacy auto dealers are enormous sources of political contributions.
Even regardless of me being pro-AMP or anti-AMP, I'm not sure what you're trying to get at here.

- Google has settings for search and a page for these settings. For example, I have sometime in the past went to that page and set my preferences there. And now they're taken into account when I use Google's search. Like settings are wont to do, y'know.

- We already know how search without AMP works.
> why does DDG send me to AMP links?

As a DDG user, I've never noticed this. Can you link an example?
This is incorrect. Edits are made locally and sent to the server. The server merges the edit with any edits it received in the meantime from other clients. So the server serializes the rebased edits.
An utterly ridiculous article. Uber may not be a great business, but it's a great product, useful and practical for its customers, both drivers and passengers, in big ways.

Of course it includes braindead bleating about diversity in reference to a company whose service benefits minority customers the most.

If there's a problem of mediocrity and small thinking here, it's the author's.
This is what happens when society views itself through a prism of most popular (i.e. social media). Certain topics and ways of communicating are more viral so they "win." Signaling allegiance and conviction without accompanying reasoning is easy to do, easy to digest, and contributes to the ongoing popularity of the desired message. It is a great strategy and is effective to the point of being required. If your opponents do it and you don't you will lose. The real problem is people thinking (and being lead to think) that the social media discourse corresponds to reality.
Anecdotally I think most people read too fast and see it as some badge of pride. Read slow, reflect or reread important passages, and you will take a lot away from a book.
Club for the Future
For both the main problem is that there comes a point where you lose track of what's happening.

I think that the main problem with lectures is that each feels very simple during the intro and very complicated towards the end. Generally there's some steps that you just missed. It's hard to pause the lecture and go back. Each additional minute of being lost then feels like a waste of time. The audience is generally at different wavelengths (some are advanced in some ways, some advanced in others).
I think that lectures are the worse medium, I personally prefer books.

With book, you need to make a difference whether you picked up the book because you have a concrete question or if you want to read it and memorize it.

The way I read is that I read a book in 5 passes (each time with different speed and for different purpose).

Pass 1 (10 minutes): Develop a lattice on which to put information. What is the book really about? Try to memorize the Table of Content, read the index (there should be some words you are curious about, you've been seeing them a lot but if prompted you'd draw blank. If there are no such words, why are you reading this book?). After this pass, your comprehension might be like 5%.

Pass 2 (2 hours): Casually skim the book. You won't remember much but you'll start seeing some connections. After this reading you should be able to tell what are the things the book say that you already know, and what things are new to you. Expected comprehension 15%. You should be familiar with the vocabulary of the book, but you might not know the exact meanings.

Pass 3: (n hours): The longest part. You might realize that some chapters are actually not as great as you thought and vice versa. You should understand like 60% after this.

Pass 4: (m hours where m < n): Solidify what you missed. You should be able to follow and reproduce authors reasoning. Maybe 80% understanding.

Pass 5: Again, go through and pick up what you missed.

Reading this way, is way more engaging than reading things linearly. The structure of the book will imprint on your brain. You will skip around a lot (that's a good things). The worst part about learning is that you don't know what to do when you are stuck. Sometimes, doing your best and coming back later (maybe once you've read the other chapters) is surprisingly productive. Hard things become trivial. Maybe you can even do more than one solution to each problem.
That might be inconvenient, because aircraft staff sometimes needs to talk to pilots or make them sign some documents.
Consider the breath of human knowledge before and after the invention of the printing press.
A good thing to keep in mind is that you will have access to any newly derived conclusions you made during the reading of the book. The brain likes to repeat itself and when you read you are training yourselves to repeat the thoughts of the author on the subject, you might not exactly be able to recreate said thoughts but does this really matter?
Fukuoka - at least you should get your title right.
> the worst high-speed-rail disaster worldwide

Yet 100 people survived with injuries rather than dying. An airplane crash frequently kills all aboard.
I use Google on Firefox and I never saw an AMP page. Each time I see a topic on HN about AMP I feel like I live in a nice parallel universe.
The title feels incomplete. It should be "why books don't work for <something>".

Books may work better for some people for some purposes, but books do work.
Thread about China, Culture, Huawei, IP Theft and 5g
The New Silk Roads by Peter Frankopan – The Present and Future of the World
Diabetes Community Growing Stronger Because of a Mobile Game
"The only way to fix the privacy issues with prefetching is for the search engine (not just Google--Bing, too) to serve the prefetched page from their own CDN."

Except Google is probably the biggest threat to privacy on the planet. You're not "fixing" the privacy issues, you're making things worse.
Academics can be the dumbest smart people.
How do you know what businesses have cameras to count visitors before going into the business?
> A HTTPS mirror:

Why?
I think it's a great ability - and a great option. I'd like this to be optional with sites and browsers. Give users the ability to change these settings.

Give web sites a way to say - thanks for visiting, we noticed you are using a browser that.. or search portal that strips info form us.. would you please click to enable sharing this small bit of info.. more about how we use and what info here..

Something like this could help sites and users. I'd like to toggle it myself. I like how startpage scrambles url queries, but I would turn it off for some sites, whitelist them like some are with ublock etc. I also don't like how p-hub and some others keep queries in the url, and would like an option to scramble, with the site, via browser settings, proxies, whatever it takes.. to give more options, more choice.
The cockpit door was reinforced and can’t be easily broken down now. That has achieved effectively the same thing.
60 Minutes Australia Exposé of 737 Max (Full Episode)
Which companies do you mean specifically?
It appears to be a "back button", e.g. if you click through some sub-menu items on the settings screen, you can see it clearer and it has this functionality.
A good book that also touches on this subject is: "moonwalking with einstein the art and science of remembering everything". It also covers the subject of priming and why its important.

People used to memorize entire books by studying them for years. In a time before printing presses were a thing it was considered normal to spent long long hours learning the contents of a book by heart.
I don't think you can really compare the prices of this kind of low-data, many-sim offer with consumer stuff.

Recently I talked to a national (Portugal) operator who offers M2M SIM cards and their price for national only cards is 0,19€/MB, international one similar to this 0,27€/MB.

Twilio's price is pretty good compared to what they've got.
Why you should be designing for your 73-year-old self (2017)
"most ... readers don’t absorb the intended knowledge. Failure is the default here."

All I could think while reading the article is, "If this medium is so ineffective, why is the author using it to transmit his information?" But then, maybe I didn't absorb the material well enough to get the point, which strengthens his argument! Genius!
Hyperactive Comets Hint at Origins of Earth’s Oceans
The worst syllogism in modern politics: Something must be done, this is something, therefore it must be done.
What would make your project really useful is if a user can choose a level of detail to get a summary of a given resource (book, course etc) in her preferred format. Perhaps, I just want a 5-minute summary to read or a 20-minute audio summary to listen on my commute. This is of-course a hard problem to solve via software, but manual summarization can go a long way.
No, why would it be? All those people working for Facebook, Google all the other companies abusing our privacy are making a ton of money and we're all paying the costs.

Why should we tolerate that? They are worthy of contempt.
Grav Flat-File CMS 1.6 Released
> But this is a tracking script, no?

No. This is self-hosted analytics, no 3rd-party involved, the way it's supposed to be.

Tracking involves a 3rd-party. Be it Google Analytics or Cambridge Analytica UserTracking (TM).
I was thinking BART ten car trains carry as many passengers as two 747's or five 737's.
As long as its not vocal it should not interfere with his ability to read and process information of said reading.
Half the passengers survived the recent plane crash in Moscow. vOv
> and he was astounded that engineering meetings were sometimes full of people shouting at each other.

I'd bet (there's no way of really knowing obviously) that back then, that worked perfectly fine because those people for the most part actually held their opinions loosely. Oh, they wouldn't give them up without a fight, but what was Correct trumped personal opinion. I don't think there's very much left of this in modern culture, even among those who think they behave this way, at least on certain topics. Distinguishing between reality and one's perception of reality does not come naturally.
Maybe not every minute, but in Japan, the same track can handle a new bullet train every few minutes, like clockwork. The throughput is enormous. And the footprint of a track is much, much smaller than a single runway, so it's not uncommon for even modest rail stations to have 15+ tracks. Chicago O'Hare has the most runways of any airport in the US, at 8, and they aren't all usable at the same time, since they intersect, and wind direction varies. And that's an enormous facility.
There is a vast difference in this aspect; a []SomeStruct makes two allocations (one for the control structures, one for the data), which might be on the stack or not. Conversely an ArrayList<SomeClass> makes a linear number of allocations; each object in it is separately allocated.

As you say, value types are coming soon, but they don't exist now, so right now there is a lot of difference (and in practice will be for a long time, because not everything is going to migrate to value types immediately).
Unfortunately that also requires a regular Fi account to be active ($20/mo)
I’d make the assumption that any client/server connection has some sort of logging mechanism? I don’t think browser fingerprinting and large scale cross site tracking is good but it seems a hard to take issue with being counted when visiting someone else’s website.
I find this fascinating. Maybe it's because I can read books, have been doing that since I was 4, and it never crossed my mind that my books weren't working. Apparently something must have happened with education or attention spans in the last 20 years, as pretty much all my peers could read books and had similar feelings about them as well before that.

Sort of a PEBCAK issue. I can't use this resource (that people have been using and praising profusely since the Gutenberg revolution of the 15th century until circa 1994), hence this resource is broken.
> It’s about explanatory non-fiction like the books I mentioned above, which aim to convey detailed knowledge.

Source (for the last half of that sentence)?

I don't think writers like Richard Dawkins or Nassim Nicholas Taleb write books "to convey detailed knowledge".
I read books like this primarily because I enjoy them, but also to broaden the mind. I'm not expecting to be tested on my understanding of the content!
2022: Google is shutting down GitLab.
Having people go through a metal detector and scanning their baggage on entering a train station is very viable and occasionally done (I think Paris did that). But usually checks are fast since they have to conform to existing train schedules.
How will that help memory latency, which is the biggest bottleneck to most programs?
> Which I think Azul and perhaps a future evolution of the new JVM collectors would have something the say about.

That something is much higher memory requirement for same size workload as compared to Go.
Get Your Girlfriend back. How to attract your girlfriend back after broke up
Exactly!

And I'd argue that our attention span has been shrinking ever since the scroll arrived with web. We tire out sooner when we are forced to track lines that are always moving (animating vertically)… to the effect that more than half [1] the readers don't scroll at all.

Whereas with physical book transitions (page turn) happen only 'in between', line tracking is much easier and we don't have to turn the page until ready to consume the next chop of text.

[1] https://slate.com/technology/2013/06/how-people-read-online-...
There's a lot of places with packed lines however bombs aren't that great in open spaces. A similarly sized bomb on a plane would kill a lot more people. Most mass casualty bombings seem to involve multiple coordinated attacks in dense locations and still don't get near the death toll of a single medium sized airplane.
I disagree with you. People have very different styles when it comes to absorbing information. I fully understand why that kid would choose to listen to music instead of random coffee-shop noises. Music it's repetitive and easy to ignore whereas environmental noises might be more distracting. I often find myself able to concentrate easier with music than with random sounds or even silence in some cases. Silence makes my mind wander and stray away from what I'm trying to pay attention to.

I've also read Adler's "How to Read a Book" and I don't think it's as useful as you make it out to be. Annotating is good but nowadays you can take notes easily on your phone which I found myself doing for each book I read/listen to. Also one of the advice you find in your example is how truly reading a book means reading it more than once. He mentions that the first read should be superficial and fast in order to prepare you for the second, more thorough read.
WTL is built on top of ATL. Both use C++ isms, like curiously recurring template pattern.

WTL is definitely "deep" C++. Templates, multiple inheritance, and more.
Political might-or-might-not stories aren't substantive enough to be on topic here. They're cousins to announcement-of-an-announcements.

Note how they had to give this one a booster shot with 'It's outrageous'!
Does gsc show the search terms used to find each page these days? It's been so long since I used it, not sure if it's changed or I never knew where to look.

Way back in the day, aw stats, webalizer, (and similar server side stats) would show which keywords were searched as totals, and show which pages were found by each set of keywords (and totals for each page / key phrase) - this info was valuable. I've not been aware of any way to gain that info since the google changes some time ago.
That’s incorrect, any kind of stimulus takes away some attention.
Clean and Consistent Express.js Controllers
You forgot about cracking ipmi hashes, this has been an incredibly popular way to steal wallets off servers.
Cool, looking forward to the talk.

My first job as a software developer was writing AutoCAD extensions (in "AutoLisp" so you can guess how old I am).

Even if I don't work in the field anymore the topic is still fascinating for me.
You only get at most about 1500 cars per hour per lane. Or 25 cars per minute.
In my mind what California needs more than a high speed intercity network is a medium speed high capacity train system between cities and surrounding commuter settlements.
To tidy up dirs's output:

d () { dirs -p | nl -v 0; }

The numbers in the left-hand column correspond to offsets from top-of-stack. So, if you see

$ d
0 ~
1 /var/log/apt

to switch back to /var/log/apt, you could type:

$ pushd +1
> In CY2015 we became the most popular on-premises software development lifecycle solution

[citation needed]
Why falsificationism is false
Just as the only thing I can add:

> how did they come up with 2^10 number?

I'd guess common interpretation of Moore's law as a doubling of computing power every 18 months. 2002 was 17y ago, so you end up with ~11 doublings. Discrepancy can be explained by ballparking.
I’ve often wondered if it’s possible to induce psychosis and symptoms of schizophrenia in a subject via environmental conditioning. This seems practical to test these days, given the expanse of information possessed by large tech companies, and their lack of regulation. Perhaps this would be related research for a larger automated behavior control initiative. Does anyone have any pertinent references or info?
That's cool! How do you deal with tracking while it doesn't have GPS signal?

WiFi I suppose, using a mapping from BSSID -> lat/long, like Mozilla Location Services or Combain.

What's the power consumption like from attempting to get a GPS lock? Luggage presumably spends most of it's life indoors. I imagine a WiFi scan uses less power than attempting to acquire a GPS signal.

I'm a hobbyist when it comes to hardware/IOT, I've been working on something similar but for RV's instead of luggage. Much harder constraints when it comes to luggage! RVs have power and room to spare.

Oh, you could put a small generator on the luggage wheels, to charge it a bit while wheeling the luggage around!

Sounds like a fun project.
gas taxes do not even come close to paying for road maintenance.

https://www.citylab.com/transportation/2015/05/debunking-the...
I think it would be interesting to let the language mode control the rope, or delegate subtrees of the rope to a mode. This way, you could represent things like lexical scope in the tree of the rope, and a language-specific tokenizer could further reduce the complexity of syntax formatting.

Emacs has the concept of "faces", and many Emacs major modes have proper parsers, lexers, and even some static analyzers that they use to apply the faces. If the rope resembled the AST, then many of the issues Raph talks about could be greatly reduced by localizing edits to their area of influence. If you edit inside a token, and somebody else deletes that whole token, then it is pretty clear how to resolve that. You could conceive of natural language modes which produce humanistic hierarchies, or modes with internal formats other than text (which may have a cached text view on them) like spreadsheets or debuggers.
I don’t understand why a Hyperloop is the next logical step. Making a low pressure tube is probably pretty hard at scale.

Every design is trying to minimize air resistance. Why not wrap already existing high speed rail lines with a cheap air barrier then create a wind tunnel inside rather than a vacuum? If you could move air at a similar speed to the train you could achieve wind resistance that is effectively negligible or even negative.

Am I thinking about this wrong? Is the energy required to remove all air from a tube significantly lower than pushing air through the tube while a train moves?
According to this[1], Illinois state gas tax goes all over the place.

- 2½¢/gallon to the State Construction Account Fund.

- $420,000/month for boating safety

- $350,000/month to improve railroad crossings

- A "sufficient" amount to legal fees

- A "sufficient" amount for the administrator and supervisor

- $30 million/year for vehicle inspection

- "Amounts ordered paid by the Court of Claims"

- Fuel tax payments to other states

Then, of what's left...

- 17% to road construction

- 28% to a road and bridge program

- 27% to all municipalities, divided by population

- 9% to Cook County (Chicago)

- 10% to counties other than Cook, based on the number of drivers licenses issued

- 9% to the townships and road districts, based on the number of miles of road

Sounds like Illinois to me.

[1] https://idot.illinois.gov/Assets/uploads/files/Transportatio...
Pseudo-intellectual clickbait. I hate that I know this will get bazillion upvotes here simply because of phrases like "carefully-considered cognitive model at their foundation".

> but the medium does have an implicit model

No, it does not. There is no such thing as universal cognitive model "for books". Every writer has his own. That's why there are so many different structures and styles of presentation. That's why some books are much easier to absorb than others.

Fuck, I don't write books (yet), just articles, and there are tons of different ways to handle this "mental modeling" even for short texts. It's not even always a good thing to pay too much attention to such models. Most writing is not propaganda where the only point is to imprint someone's brain with the desired information and opinions. It's a conversation. Accurately capturing your own mental model of the subject is usually far more valuable than overthinking the mental model of the reader - because you will have many different readers and (unless you're doing propaganda/marketing) you don't want to create something that appeals to a kind of faceless "average consumer".

The fact that modern books (even educational non-fiction) are a "lossy format" is usually by design, even if people don't think about it too much. It is not always the case and it was not always the case. For example, religious texts were designed to be "lossless". Epic poems were designed to be lossless as a verbal form and that continued to shape them when they were captured in writing. You can make a pretty good argument that deliberately lossy writing was a far more recent invention than writing in general.