skysight-inc/HackerNews huggingface dataset:
Lisp macros are still just code, code that executes at compile time instead of run time. Code generated in response to an Java annotation is only loosely associated with the annotation itself.

Annotation Oriented Programming arose out of Java's lack of powerful and general abstractions like first class functions. Lambda syntax for "single abstract method" interfaces has largely addressed that problem, but the use of annotations as the primary higher order abstraction mechanism remains in Spring and similar frameworks.

Lisp macros are part of the day to day tool set of every day Lisp programmers. They should be used with restraint, but can be debugged and analyzed with the same development tools and skill sets as other Lisp code. Java annotations belong much more firmly in the realm of framework authors. Writing Java applications often involves using annotations, but very rarely involves creating annotation and generating code or new behavior based on them.
True, sorry, was just really wanting to point out how easy such a thing is, then got distracted on a tangent on why I don't want windows embedded in my vim.
Aren’t RDF stores synonymous with triple stores?
I imagine they get up when the sun rises (about 9am their time) and go home / retire before the sun sets (about 9pm).

Their days are only "long" in the sense that they probably go to bed after midnight. They still have the same average number of hours in a day as anyone at their latitude and altitude.

That is why all the over-complicated time systems are dumb. You don't actually give yourself more time. You over-complicate reality to suit cultural norms like "the sun rises at 6am" despite the fact most people will grow up never moving that far from where they are born. If the sun rose at 1am people would sleep from 4 to 12, not try to force a standard time schedule of 6am sunrises on an entire population. They already don't - people get up generally around their sunrises everywhere on Earth - they just change clocks to make that sunrise always be around 6am.

Time zones and DST are an accommodation for moving across time zones so no matter where you go you can use the clock as a reference to solar noon, except in the dozens / hundreds of instances where you cannot. The consequence is that the complicated system is hard to track, makes cross-zone communication and scheduling a nightmare, and causes legitimate accidents when people do not know where the date lines are, when the times change, how they change (I think there is a stretch of Russian border where you can go 3 hours forward and backward in time in about 100km).
Best-selling introductory psychology books give misleading view of intelligence
The Commerce Clause:
>Article I, Section 8, Clause 3: [The Congress shall have power] To regulate Commerce with foreign Nations, and among the several States, and with the Indian Tribes;

Here's an example. Suppose I'm driving down the highways, and I arrive at some town and I decide to stop for lunch. I see a parking space, but it says I can't park there at certain times. But every city in the country sets its own clocks. How do I figure out what time it is? That's a pain, right?
As far as I remember it's not even an appropriate TZ for Beijing. More like central China time.
This is, I think, the moral equivalent of checking to see if the program has started executing a “while(1) ;” loop (e.g. by finding that the current instruction is a “jump $pc”, ignoring multithreading). Although it definitely proves that a program doesn’t terminate, the converse is not true - most “interesting” non-terminating programs aren’t just busy-looping infinitely, they’re just performing computations that happen to have no way of ending. Similarly, a Life machine might just sit there and push gliders around in a circle forever, without sending out an infinite stream.
I found most insightful the following comment by David Edmondson

> Something drilled home to me at my Cornell planning program was the American idea of rural as utopia, urban as dystopia. As my professor would put it, our culture strives for a return to the Garden of Eden – it’s seen in our art, our land-use patterns (pre-
and post-independence), our mythology, and our politics. Even Philadelphia was laid out with that idea in mind.

I think that is one of the core issues. The idea of having your own home on your own plot of land is something that is deep in the American psyche.

And it is something that can be accomplished. Why is there not more remote work even at the big tech companies? If everybody was not forced to crowd into Silicon Valley in order to work for the large tech companies, Silicon Valley and San Francisco home prices would get much better quickly.

Many times, people feel like they are forced to live in cities, not because they want to, but because they have to for their job. If we promoted a culture of remote work, then people could live where they wanted, more wealth would get spread out through the country rather than being concentrated in NYC and Silicon Valley, and the affordability of living in cities would rise.
Well, you can get an iPhone 6S for ~€500 (actually 5% more). That's not 4y old, it was officially released less than two years prior to the XZ1.

Not that I'd recommend getting one. iPhones have never been the best bang for buck product, especially not the substantially older but barely cheaper older models. But you're exaggerating a bit here.
And that's the important thing. :-)
They are not suggesting centralization. They are suggesting bcp38 [0] This comes up quite often and people argue back and forth why they (the ISP's) can't or won't do this. Bcp38 simply requires ISP's to egress filter out IP traffic that does not belong to them.

[0] - https://tools.ietf.org/html/bcp38
As a bad physicist ("physics is the art of approximation", some prof said during my studies): Indeed, you only have to model the relevant aspect(s) of the system, which may be completely unrecognizable as the system.

I guess it's somewhat more true in programming, because if you have only ten lines, can you even call it modeling?

That said, I like to say that the best kind of code teaches you something new abou the problem it's solving. Some invariant, widely usable simplification, etc. Still not the same as modeling the system as such, though.
Building a Content-Based Search Engine II: Extracting Feature Vectors
We could call them lauds, prime, terce, sext, none, vespers and compline.

Fun fact: noon comes from “nona hora” (ninth hour), which actually was mid-afternoon.
As mentioned already, I dont see whats hard to understand.

High end android are similar to high end Iphone.
Low end android are similar to...nothing in the iphone world.

So people with money who like Android buy Android
People with money who like iPhones buy iPhones
People with low money who like Android buy Android
People with low money who like iPhone...buy Android

(there's the used market that make things a bit more complicated, but I still think the data would work out)

I'm still going to enjoy my Galaxy S9+ in a week.
Launching Version 11.3 of the Wolfram Language and Mathematica
How many security-critical bugs have been found in libc in the last ten years?

I know that in principle Rust is safer, but I am wondering it makes sense to re-implement code so heavily audited as libc.

Wouldn’t it be better to redirect the effort to some other less audited code?
If none of your test cases ever hit some lines of your functions, it seems pretty clear that your tests are missing functionality.

Of course, hitting each line with a single test doesn’t guarantee your tests are “sufficient,” but pragmatically it seems like a reasonably good and easy to understand starting point.
The Japanese came up with such a 'temporal hour system'. An ingenious clock to display time that changes with the seasons is this Myriad Year Clock built in 1851

https://youtu.be/1moRfIXCfak?t=886
I'm not sure that it is more widespread on HN than other places.I cannot think of anyone in my life that is very enthusiastic about Facebook--the people I know have either quit it or just tolerate it.
Cheers for this. I'm old and that's why I thought it was BBCode. Markup is such a loose term that I couldn't figure out what the problem was. You've put it to rest now though, I get it, whew.

Learned something new, pedantry FTW!
In the same way you just picked two you liked and decided to call them amazing, despite being pixel rehashes. Rude.
Are there any valid technical use-cases for IP spoofing? i.e. setting the source address of a UDP packet as one outside the originating network?

For example, on the server side, BGP hijacking and anycast routing are enabled by the same bug or feature, depending how you look at it.
Location: Portugal

Remote: Yes

Willing to relocate: No

Technologies: HTML, CSS, Sass, DOM, JavaScript, ES6/ES7/ES8, TypeScript, Flow, JSON, AJAX, HTTP, Web APIs, RESTful APIs, SVG, Bootstrap, React, Angular, Ionic, PhoneGap, Cordova, jQuery, Wijmo

Résumé/CV: https://nunoarruda.com/resume.pdf

Email: nuno@nunoarruda.com

Hi, I'm Nuno, a Result-Oriented Front-End Web Developer with a strong technical skill-set, attention to detail, and 16 years of experience. I have a passion for translating beautiful designs into functional user interfaces and building great web applications.

I actively seek out new technologies and stay up-to-date on industry trends and advancements. Continued education has allowed me to stay ahead of the curve and deliver exceptional work to each employer I’ve worked for - both full-time and contract.

I've successfully delivered projects like a CSS UI library used by 17,000 employees, a mobile app that now has 15,000+ users, and an award-winning payroll system. I've done frontend work for Adobe, 21st Century Fox, Bayer, among other companies.

I've been working remotely for the last 5 years for clients worldwide and I can be flexible in order to have overlapping working hours with a distributed team.

PS: I'm looking for freelance/contract work.
I agree, besides with most of the tech we use people can set their notifications to not get disturbed while they are sleeping. I don't really care if my lunch is at 20:00 or 12:00, but when I work across time zones and there is a mismatch because of seasonal time change it can get really infuriating. Pilots adopted UTC for similar reasons a long time ago, except in their case the potential mixups had a high risk of fatality rather than annoyance and inconvenience.
>Boss, clients, etc won't allow me to.

That makes _them_ the problem; anyway the local government should publish a one minute notice: "Remember I'ts # PM., it's time to leave work!" (on TV+radio+twitter) and that's it.
Or if you go far enough north, Alaska, the shift is pointless because of the midnight sun/all day dark depending on the season.
Lots: https://www.cvedetails.com/vulnerability-list/vendor_id-72/p...
If a primary source shows up on HN with a link to relevant research from their lab, that's great! That adds wonderful value to HN. I don't think we need to read nmca's comment as a demand.
This is a valid method of deciding whether a program hangs. Another very simple approach is searching for global state recurrences (if your program goes back to exact same state at least once, and it is deterministic, then it never halts).

Note this has no bearing on the Halting problem though (famously proven impossible). You cannot decide whether an arbitrary very complicated program halts -- it may do all sorts of weird stuff that doesn't involve any of the previous behavior (having necessary subfunctions never terminate or global recurrence) -- it could try counting up to infinity until a certain complicated binary function of the number is true, then you have to decide the truthiness of this arbitrary function. In general you face a self-referential problem: imagine you try deciding whether a program of size N halts if it runs for too long. You'd need a program (say of size K) that produces a function f(N) of maximum running time for programs of size up to N -- then you could just check whether a program runs for more than f(N) steps. But by definition your program cannot run for more than f(K) steps, thus it cannot output a number greater than 2^(f(K)). Thus your program can only decide finitely many instances, and is not an algorithm (instead it is a sort of compressed look up table).

The proof of the Halting problem undecidability is more general, but uses similar self-referential arguments.

I like to think of it this way: an algorithm is really a compressor function. It compressed an infinite set of (input->output) relations into a finite program. But some infinite sets are inherently incompressible -- think a string of random numbers -- and in particular the set of all programs. Incompressible (actually finitely compressible) sets must exist because otherwise you would have infinitely many different sets that are output of finitely many programs, which is obviously impossible (this is the pigeonhole principle).
Many years ago, I lead a small team of very talented software developers. We built "execution trace disassemblers" for in-circuit emulators. Basically, they took an array of bus cycles recorded from the bus of a microprocessor based system, and re-created the instruction stream (expressed as assembly language instructions) that must have been executed to result in the given set of bus cycles.

It was an interesting problem to solve. Generally speaking, it was a search problem, constantly looking for evidence to confirm or contradict an assumption being made about some bus cycle (e.g., "Was the instruction data in this i-fetch data cycle executed by the processor?") and then, if the assumption seems solid, reasoning about how the state of the processor (e.g., the general registers) must have changed.

Once it got started disassembling a trace, it learned the contents of the general registers, and we were able to annotate the reconstructed assembly language listing, to show the actual data that was operated on.

It was a very cool piece of software for its time, which was the late 1980s / early 1990s. Eventually, though, microprocessors got internal caches, which made the problem much harder. Some microprocessor vendors though, provided undocumented features that allowed us to snoop what was happening on-chip.
You're talking about the Commerce Clause?
The SE isn't 5 years old, it's the same internals as (and newer than) the 6S.
Wow, that's an interesting sub. They've formalized a lot of the HN community standards into hard rules, and brutally enforce them. For example, this[1] post has 36 comments, and 10 of them were removed for either not being substantive, not backing up statements of fact with a source, or some other reason, and another is reminder of a top level comment to include sources.

I'm not sure they haven't gone too far to some degree here, especially since the offending comments were deleted, not just hidden, so it's hard to see whether the mods are justified or not in all cases.

I subbed in any case, so I guess I'll get a chance to see more to make a more informed decision.

1: https://www.reddit.com/r/NeutralPolitics/comments/81f8wf/are...
Most places in Xinjiang have an unofficial local time that they use in addition to official Chinese standard time. See:

https://en.wikipedia.org/wiki/Xinjiang_Time

One can imagine in Kashgar the ridiculousness of Beijing time is even more noticeable than in Urumuqi.
I would like to see the data for the top end phones. Comparing the iPhone to the Galaxy, Note, and Pixel, who has the brand loyalty?

Many people pick Android because that is what their cell phone provider has for cheap.
Also of interest is japaric's steed [1] -- a rust standard library (not a "C lib").

[1] https://github.com/japaric/steed
As a reservation holder, I can answer fairly quickly: Not really. I suspect many early issues will be worked out by the time they finally get around to building mine.

And most importantly: there is no other car I want more that I can afford. So I will tolerate some quality issues.
It would put Florida onto Atlantic Standard Time. The simple description of how to get there is to shift to DST one summer and never shift back.

The same thing has been proposed in New England, if enough states agree to do it simultaneously.
Most of them are silly, some of them are true. It is super integrated, it is fast, and it is opinionated. User-first is debatable, but it's not exactly publisher first and it's definitely not (external) advertiser first. No idea what well-lit means.

I guess the takeaway is that the garden is great, build the walls higher?
Gonna go on a tangent here. I'm always curious about stuff like this. Everyone and their mother wants to replace C, but what's people's answer to it being a part of POSIX? I mean it's literally a part of the standards family, and no one seems to address this. I can never take aspiring C-replacements seriously because no one comes out and openly says, "This is how we replace C."

They're all really just claims that C is bad, and we shouldn't use it. Okay, well how do you replace it? Or was that never the goal to begin with and you just want me to use this language?
This worries me. First, any study of neurology it must be kept in mind is done on a specific population. The neurology of a Papua New Guinea highlander and an upper middle class white kid from the suburbs of NYC are not going to have the same brain development. Brain development does NOT proceed as a consequence of aging. This is a dangerous and destructive myth that gets perpetuated all the time. Brain development proceeds as a consequence of experience. If you eliminate experience from a persons life, you will eliminate brain development.

We can see this clearly in the very young. An infant must master binocular vision by about 3 weeks old, or else they will never master it. Putting an eyepatch on an infant because they are "not ready" for binocular vision or because their brain "isn't mature" in the region responsible for that would damage them for life. A child must be exposed to the general concepts of language before about age 5 or else they will remain incapable of learning any sort of language-based communication for their entire life. Likewise if you were to restrict them and keep them away from language exposure because their brains are 'not mature' or because they're 'not ready' for it or whatever, you would do them grievous harm by actively preventing brain development.

There are similar critical periods and developmental milestones like the Existential Crisis where children develop an understanding of death as the end to life and understand their own mortality around age 10. It was always thought that neuroplasticity pretty much disappeared after adolescence. I've always wondered if that was a consequence of the way the life experience of a person in a western society changes after adolescence. That is typically when almost all experience of novelty comes to a grinding halt. Jobs are taken up, spouses found, routines established. And without unique experience providing intense stimulus to a brain, it will stop developing. Absent those stimuli, it never would have developed in the first place. It is the origin of growth.

If we start to see neuroplasticity decreasing even earlier in members of our society, I would not be terribly surprised given the degree to which adolescence has been either criminalized or heavily regulated. And we will pay the price for that.
Sure, but zoning is largely done for economic reasons. And cities without zoning (e.g. Houston) end up similar to cities with it. I don't think it changes that there's not an active effort to segregate cities or keep people with alternative lifestyles away.[0]

[0]: There was some of this in NYC when Robert Moses was the central planner, but it's hard to argue it's continued today.
Any rights not granted to the Federal government by the Constitution are reserved by the states and the people by default.
Wow, those are some very nice buzzwords. But really...

Wouldn't the most economical way of bridging value from the real world be to just take real money, rather than have it inefficiently pass through hardware and electricity costs? Aka, trading ETH for tokens like every other token. I mean I COULD pay my barber with sacks of potatoes...or I could just give him cash.

As for the argument of not needing exchanges, you don't need an exchange to issue tokens. You send ETH to a smart contract, and it stores the address. This already works and is decentralized. If you wanted to TRADE those tokens, you do need an exchange. So this mining scheme doesn't really solve exchangeability at all.
I think the Poirot series is superb, but some of them suffer from stretching the runtime -- the best ones are about 51 minutes long, whereas the longer ones (which includes all of the last few seasons) click in at 1 hour and 29 minutes, some of which are based on short stories, not novels. As delightful as Poirot and his mysteries are, these are also admittedly somewhat shallow, implausible puzzles that rely on acting and cozy English nostalgia to entertain, not deep characterization or touching character arcs. Stretched to two hours, there's often not enough meat to hold one's attention.

David Suchet is a national treasure, though. I wish he would be in more movies and shows.
Some (most) CCs will allow prior recurring charges to continue with an old/lost/stolen CC number for some period of time (potentially until the expiration date) so you can avoid that headache.

In the case of my AmEx, I have some monthly charges still using an old number from 3 years and 2 stolen cards ago. Discover used to offer this too, though I don't know if they currently do.
I believe (though am not sure) that the tweet is posed in the context of San Francisco Bay Area. The Sunset neighborhood, which is shown in subsequent pictures, is a neighborhood with remarkably lower density than the neighborhoods in SF that lie East of Stanyan. Likewise, the proposal to ensure that zoning is more permissive around mass transit stops (pushed by Weiner) is specifically attacking cities that have refused to increase zoning density despite the inflix of residents.

I also do think bringing up this distinction is important. A conservative, landed gentry has controlled Bay Area cities and their zoning laws for decades now and are ferociously resisting a change to their ideas of normal. The article presents examples with how this gentry specifically casts the pro-urban Bloc, with a hammer and sickle flag, and hippie clothing, not to mention the minorities falling out of the buildings. Folks who made those images seem to explicitly see high density housing as not only an affront to the look of the neighborhood, but an afront on their values. To deny that this is a war between 2 different views of the way a city should behave culturally, and to explicitly ignore the anti-queer and anti-minority imagery, is to be both intellectually dishonest and inaccurate.
Not even a little bit the same; timezone are extremely crucial for communication, if people outside the state don't have to look up the current timezone to understand "3:00 PM" means exactly the same one month from now that's a win all round.

Also, now that everyone has a powerful computer in their pockets its extremely useful to register the times without changes based on regional laws.