skysight-inc/HackerNews huggingface dataset:
This seems kind of inevitable with macros. They help the macro creator write code with new, "better" abstractions, but readers of the code have to learn the semantics of the macro before they can understand what's happening. The built in mechanisms of a language are familiar to those new to a program's code but macros usually hide something significant (otherwise why have a macro).

I've written fancy macros for assembly language programming to support my own looping, iterating, argument passing etc. but I noticed that the other programmers on the team weren't interested in using them.

On the other hand, I'm so grateful to John Wiegley for his use-package macro for emacs lisp.
As someone who's definitely not a 'fanboy' of Rust (and also has an advanced degree in CS) I assure you- no. Rust isn't needlessly complex- it does the bare minimum in most cases.
So? They live in the same solution domain for the same problem.
Moreover, Dhall can generate (typechecked) YAML and JSON.
Nor is FB. It is about major outages.
I'm afraid years of n-gate have shown that HN cannot do better.
Practices in React That Will Crash Your App in the Future
I think that one thing holding this back is the lack of a desktop keyboard with a touchbar display. If there was a normal sized keyboard where you could have a full keyboard and a TB display, that would help give an incentive to have more touchbar apps like pock.dev.

Unfortunately, so many people hate the current version of the touchbar that there hasn’t been much innovation in this area.
Windows laptops are far worse than the touchbar: replacing the function keys with volume, brightness etc.

The two worst keys are the touchpad lock key, and the WiFi key. Both of which "crash" the laptop when your average user hits them unintentionally: because either the touchpad stops working or the internet stops working. Absolute madness.
Working consumer protection agencies are awesome.

Earlier this year another Australian consumer won against Apple when they dropped their iPhone in a pool and it stopped working (after Phil Schiller said said you can drop it in the pool and it will be fine)
https://www.reddit.com/r/apple/comments/aiknf4/i_fought_appl...
That’s about the least interesting thing about Dhall. (It’s weird that they tout it prominently on the homepage.) There are so many flavors of syntax sugar for JSON, Dhall is a completely different beast.
I'm looking at this project page with a blank stare. Anyone care to explain why would someone want to do this thing ?

I usually never ask this question, because i often understand developers do things just for the challenge or for fun, but in this case i must say i'm puzzled. I don't even understand what the challenge is since "running python in a browser" is accomplished by a different project.
I think not having a dedicated GPU helps a lot too. Less heat, and one major component less that can break. In my small set of anecdata, consumer Macs outlive their Pro counterparts.
Did anyone notice how neat the HTML was for this article? For once HTML5 elements are in use, sections, asides, figures, correct use of tables - very nice!

Only this week did I discover that yahoo and gmail don't let you send zip attachments. I thought this was a bit silly but now I am agreeing with them!
Compressed files that contain themselves:

https://research.swtch.com/zip
If building tsunami-resistant buildings is too expensive, are there alternative options? E.g. mandate that everybody has easy access to an enormous ball of expanded polypropylene, with a hollow center and a tunnel big enough for entry. EPP is very tough and impact resistant, so it might save the occupant while it's floating in the tsunami. I don't know if it would actually work, but has anybody even studied this type of idea?
facebook absolutely is an infrastructure provider for a whole host of products including FB, Instagram, WhatsApp and more.
I guess that I was wrong, because they also mention IPhones in a different paragraph... but they talk about IPhones 3 & 4, so we're due for a new leak that includes the latest versions...

For Comparison, Google is mentioned 3 times and they probably are part of all the same programs.
Actually I tend to refer to it quite often.

However one needs to see the full picture, not only language grammar and semantics.

If I want to create a GUI application today, I will definitely use a mix of .NET ,Java, with C++ for the low level performance bits, because Rust is lacking in that area, in spite of being a safer language.

So, if C++ takes a lesson or two from Rust, and helps developers like myself to keep productive, while improved the security of the whole stack, then so much the better.

And if Rust continues to improve, maybe one day Android Studio, XCode, VS, will provide an end-to-end mixed language experience, and OS frameworks, for Rust just like they do for C++ nowadays.
It is exactly this which Greenpeace has latched onto for their propagande. The fact that it is true in only the most trivial way is not understood by those on the receiving end.

The end result is a voting population primed to vote against their own interests.
Decades ago, he stole a tree branch. Now he is the Durian King
> You just get the malware Javascript served.

Which happens on any link you click on Reddit, Hacker News or Facebook. Unless you don't click on them and only visit website that you consider trustworthy, you get the exact same risk. Actually even if you may feel that a link is trustworthy, it doesn't even means it actually is, like it happened for the past Firefox 0-day exploit. This guy nearly got it by trusting that [0].

[0] https://robertheaton.com/2019/06/24/i-was-7-words-away-from-...

> That's not theoretical (like your "but HN could deliver malware, too), that's reality.

My textual example was to discredit the Forbe example. I have an hard time understanding your point about it being theoretical. Are you actually refering to my other example about links from HN that could contains malicious Javascript? That's to know if you check links or you click on them arbitrarily with all the risk that come with it.

My point is that malicious Javascript is extremely rare and when it does happen, it's targeted and doesn't use ad network. Theses vulnerabilities are gold mine and it makes no sense to put it on an ad network and hope that you'll get enough out of it before it get caught and removed/fixed. Selling it to the highest bidder or targeting a specific group of people make much more sense.

If you have any example of where an actual malware was spread using ads, I would be happy to learn about it.

I'm also curious to know if you block Javascript and if you do, why do you block ads on top of that?
Texas State Real Estate Forms
Our vet has been just fine with us feeding our cats Friskies wet food and I believe uses that himself, which while not quite the cheapest thing out there is half the price of a lot of other brands. Interestingly a lot of the formerly considered-expensive or medical-suggestion brands are now actually cheaper than the bulk of the available foods, just because their prices didn't change as new brands came into the market.
Yeah, I'm way more interested in hemp fabric than I am in CBD products. Nylon fishing nets are a massive source of marine debris... what the heck did fishermen use before plastic was invented? Hemp, of course. Until it was made illegal. I would very much like to see a return to hemp nets wherever possible.
Yeah pretty much and it's quite stupid for Amazon to keep recordings forever. What use could they possibly be, a year or two max for retention should be the case.
I don't remember much more insects 10 years ago.

(Actually, I don't remember, because I moved from the countryside to the city centre, and rarely visit countryside, but that's the point).

But I remember that the number of insects varies significantly depending on how much rain was that year, how far is the forest, how hot it is, and even what time of day it was what I was spent time outside.

I don't know, maybe it's very local climate change in your town, because the forest was replaced with high-rise buildings. Maybe you and your friends grew older and started waking up later/earlier.

So, no, random people on the internet opinions are interesting but do not contribute anything significant to the climate discussion.

And these personal experiences only give more confidence and more arguments to climate change deniers.

Unlike pointers to scientific research.
Yes, I made a decision to reject incrementally updated archives. It was a feature back in the day, but as you say it also leaves dead zones in the archive. For a rarely used feature, it's a dangerous feature.

These "invisible" dead zones can be used for malware stuffing, or to exploit ambiguity across different zip implementations, those that parse forwards (using the local file header as the canonical header) and those that parse backwards (using the central directory header as the canonical header).

For example, a malware author might put an EXE in the first version of a file, and a TXT in the second version of that same file. Those that parse forwards get the EXE. Those that parse backwards get the TXT. Of course, the spec advocates parsing backwards according to the central directory record, but implementations exist that don't do this.

The goal of @ronomon/zip is to scan email attachments at the gateway and reject zip archives that might prove dangerous to more vulnerable zip software running downstream (MS Office, macOS) etc.

Also, as you say, I don't think incrementally updated archives are used much. From what I could see, there were no false positives for rejecting gaps between referenced local files on a small sample of 5000 archives.
There are quite a few online shops selling Luxottica, it is that they use their brick-and-mortar presence as a front for their online business.
I've already specified that I'm using Cherry MX Brown in my Comment. No?
> No one would say japan is wrong for shutting nuclear down.

Many people say that, including those best placed to know.

> Also it's been at least a 20 year struggle to find a place to put all the nuclear waste, also highly politicised and vastly expensive.

All you need is a warehouse. Sure, a reinforced one, a nice one. But there is no need to put the waste kilometers under the ground. It's only so vastly expensive because some people will feel better when it's 'out of the environment'.
Show HN: A Mac Desktop App to Manage S3 and Dynamo
I imagined they’d expand it with more functionality, but I don’t think it’s getting any update in the new models?

At the minute it doesn’t do much except replace your function keys with a display. If it could render the dock or maybe take over some of notification centre, it might have some novel functionality.

What I’ve been trying to do so far is see if I can integrate it with emacs through a dynamic module, so it could render the modeline.
Using the same logic, you could argue that people will just use unsafe and shared pointers everywhere if they have a deadline and they can't get their code to compile.

This is an organizational problem, not a language / tool problem.
There’s no point for you to see. I asked a question: whether the original poster could see the political climate in Norway realistically scaling.

Maybe they’ve figured out something we in the US haven’t.
Sure, you are absolutely right.
Hopefully, we will have it in the future
When is the Xcode integration coming?
It looks that Dhall has been inspired of the Elm language [0] and it's formatter.

[0]: https://guide.elm-lang.org/
I mean there's a whole book on the subject, it's just that most modern folk cast it off as fairy tales for ignorant superstitious people. But the more I read about it, the more I feel like we have the same problems and neuroticism as people did in Jesus' time.
UCLA professor stole missile secrets for China, faces 219 years in prison
I understand that you don't want to release prematurely but what I don't understand:
Why don't you release your code from the first line written? I start committing to Github right from the start. Others might already want to follow your project or even contribute PRs. I'd definitely be interested. Maybe at least create the repo so we can subscribe to activities ;) Best!
OK, we've changed to that from https://www.cbc.ca/news/health/dog-food-dcm-fda-1.5199186. Thanks!
Looking at that chart, I find it even more annoying that nuclear and renewables are played off against each other. As if environmentalists were worse than the coal and oil lobby, and not very much opposed to them. Why not join forces, why use nuclear to diss renewables, if you'll forgive putting it in such a silly way? And no matter how great it may be, nuclear being finite, renewables would look "infinitely" better in a chart of that.
Warning: this is a podcast. Would have been nice to have had the highlights in text form.
Nvidia GeForce RTX 2060 Super Review: 4K Gaming for US$400/INR 35K
I just purchased an Apple-refurbed 2015 MBP. It was a little surreal to be paying almost full price for a 4 year old model. The list of "pros" for the purchase decision was mostly a mirror of the "cons" of the more recent generations.

Overall, the 2015's are reliable machines with only the relatively minor annoyances of the battery recall and the "staingate" anti-glare coating issue.

Really hoping Apple returns to the ethos of their older designs, with serviceability and modularity higher on the list of design goals.
How is that about capturing wealth? It's about preventing the spread of NATO to Russia's doorstep.
The Iraqi invasion was itself a reaction to Kuwaiti slant-drilling, a nonmilitary attempt to capture wealth.
IMO forgiving yourself for your mistakes is much healthier than hating yourself for your mistakes, which is what I see out of secular people.
New firms help startups keep track of their owners
Reading articles like this make me quite sad, not because the described lifestyle is unappealing to me (I'm a vegan who doesn't drive, avoids plastic, and is "off-grid" on solar power), but because on an individual level, these efforts are so pale in comparison to environmental destruction caused by military, industry and large-scale commerce, I consider bragging or evangelizing them to be vain and even a bit egoistic.

Don't get me wrong: avoiding animal products, long-haul flights, plastic shampoo bottles are all worthwhile, but not for the reasons stated. They do not even begin to address the large systemic problem of climate change and ecological harm. They make us feel good, like we're "doing something" - and perhaps that's by design while the real perpetrators of our own extinction go unpunished and even unrecognized. It is "bumper sticker" activism while what's actually needed is a radical shift in collective consciousness. How do we organize such global action for effect?
> The light helps in situations where the other person isn't near their MacBook, too. You'd obviously never take a charging cable from someone's laptop that might be low on juice. But if the light is green, you can.

If they were doing any computation with the lid closed, that's not going to make you any friends.
It's not "devs" -- it's shortsighted business staff focusing on short-term goals rather than longterm value and user happiness. Now that Wired is paywall and has been upfront about its shift to paywall and affiliate revenue, be prepared for more dark patterns like the ones you articulated.
Not really. They were profitable, they just invested heavily in infrastructure (warehouses) and developing new services (AWS).

They may have been unattractive by wall street's standards (eg. Pay outs) but they were far from unprofitable.
Coal and Nuclear are both expensive, they just get their hidden subsidies in different ways.

Getting rid of them therefore won't cause economic depression, just affect the profits of specific well connected people, so they'll hang around longer than they should.
As far as staying up to date on technology, I am heavily in favor of using boring technology (see http://boringtechnology.club) for my own projects. The biggest consideration for me is, will this tech still be around in 5 years, and will it have required me to do a full scale rewrite or massive breaking changes upgrade?

I've gotten a lot of mileage out of Django for that reason, as even with the Python 2-3 thing, Django has been very stable compared to a lot of web stacks I've seen. It's 15 years old, and I fully expect it to still be around in another 15 years.

React was being adopted by companies when it was still at version 0.12, and while it did end up staying around, it was not guaranteed. I would have been hesitant to use it at least until v1.0, and probably would rather have waited until v2.0.

Now React is the frontrunner and unlikely to go anywhere. They've also maintained backwards compatibility mostly from what I've seen, as Facebook has 180,000 or whatever odd components they don't want to rewrite.

I wouldn't use Elixir/Phoenix currently, unless it was extremely helpful to the project, just because it's a less mature technology. It sounds like a wonderful ecosystem, but if I'm making a business decision, risk is what I'm wanting to minimize.

This is the biggest reason I was sad that VueJS seems to be flirting with a large breaking change. I had thought Evan originally said they _wouldn't_ be pulling an Angular 1 to 2 rewrite the whole framework, and though this doesn't seem as bad, it still is a different way of doing things.

You know what hasn't changed in 10 years? JQUERY! Ha!

So as far as how I'd keep up to date, my answer is that I'd try to choose a preferred tech stack that is stable and try to get really good at it. Django has been the only full stack framework I've needed to learn in my 8 years of contracting, and that's worked well for me.
Radiation is just a straw man. Nuclear power plants are like coal plants without CO2, except they are much bigger. The massive amount of water needed to cool down a nuclear power plant takes it's toll on the river ecosystems, sometimes to the point where the nuclear power plant has to shut down to prevent irreversible damage. Then there are the fish that get caught in the coolant system. To them nuclear plants are like those giant Minecraft mob farms that automatically kill monsters without player involvement. A truly magnificient killing machine.

http://www.neis.org/wp-content/uploads/2018/01/Its-the-water...

But to be fair I only consider our inability to build reactors cost efficiently (less disruptive cooling systems cost more $$$) to be the major roadblock to nuclear power. Just look at every HN submission regarding nuclear power. The vast majority of posters are in favor of nuclear power. So where exactly is the political opposition? I only see coal dependent communities as roadblocks but every non coal technology shares this problem.
C++ has accumulated complexity over decades, and the committee is working on making things easier for beginners. Usually it works, mine-fields like string_view aside.

Rust has accumulated its complexity over four years, and it's already comparable to C++. The thing that worries me the most about Rust, is how the language will look like in another 10 years.
And summer interns are there.
Free Chatbot Platforms for Superior Customer Engagement
That honestly seems like the most likely answer.
They are blaming a culture that according to the author was inherited from McDonnell Douglas.

The iPhone is certainly an Apple product just like the 737MAX is a Boeing product, but would you attribute the success of the iPhone to NeXT/Jobs culture or Apple/Amelio culture?
For a pragmatic, really readable configuration file format, TOML never disappointed me ( https://github.com/toml-lang/toml#user-content-local-date ).

- This is human readable contrary to the JSON family and its {} abuses.

- It is not space / ident base contrary to YAML that becomes very quickly a mess to write and a mess to parse.
Im pretty sure the mysql install wont let you set a blank root pw. And it will only listen on localhost by default.
There are many cases where the customer requirements dictate release adoption timelines (for business, regulatory, and/or logistical reasons), even on SaaS platforms. The way you deal with this in practice is running several releases in parallel in your production environment. This is messy and expensive so you optimize your release process to minimize the number of versions you have to support.

The other common scenario is when deploying new releases is intrinsically extremely expensive in one or more dimensions. Some data infrastructure SaaS can be like this. Again, in these situations startups correctly optimize their release model differently than e.g. a website.
I have just passed a FAANG interview, but I'm leaning towards another offer at about 70% of the offer likely from the FAANG interview for a number of reasons (commute and impact I can make are the top two). The offer I'm considering is at a company where two ex-FAANG were in my interview panel.

It happens frequently enough.
I wonder whether focussing on strengths would be better than minimizing weaknesses here. There have been companies with their tech in shambles, yet managed to do really well because the market pulled a product out of them. Bad tech made life certainly difficult, but it wasn't a show-stopper. There are also far too many companies who will score well on a test like this, yet fail because they weren't able to provide compelling value to the world.

This is however an excellent checklist for self-evaluation. I found the point about feature flags insightful - having them as early as possible so you can build a culture of testing sooner.
You might want to ask the HN admins to rename the title for this post, then.
Funding Inko's Development
Strongest earthquake in years rattles Southern California
It seems so easy to reproduce, just install Lubuntu and run the Twitch dashboard for a few hours. I'd be surprised if there wasn't already a bug report, a cursory search of bugzilla shows several hundred bugs containing the words like "hang" and "freeze".

And, again being frank, I don't care enough to bother with scouring that for one that seems related enough to add to it, and then again reproducing the problem and collecting the appropriate logs and etc. And if experience is any indicator it'll just languish in their bug database for months or years anyway. I've got shit to do man, so I'll just use a product that works, thanks. It is not my responsibility to fix yours.

And I only brought it up because someone mentioned how much "better" a product Firefox is and my experience differed.
Apple's bread-and-butter is products. To the extent that they shift their focus from their products, they jeopardize profits and every other measure of business success.

Good QA is part of being focused on products. So our response (or lack of response) to glitches like this in their software is very unlikely to affect their overall approach. Either they're product-focused or not: if they are, they'll be profitable and QA will be good. If not, they'll eventually fade away anyway.

... All to say, if you want to see issues like this fixed, I suggest reporting them and not worrying about it.
Perception that other races look alike rooted in visual process, says study
For people who are used to the Corel method, Inkscape works almost exactly the same.

I personally could never get used to the Illustrator way.
Does this thing support localstack?
But the bulblet and bought a used 2013 15” MBP after a year in Lenovo exile. Cost me $600 for a six year old computer, but it feels great.
"is implies ought" is indeed a fallacy, and even learning that biological instincts, say, support conflict, doesn't mean conflict is good. On the other hand, it is a good thing that we understand that humans and their underlying instincts have been more or less unchanged since the dawn of humanity as evolution works on very long time scales. "Cavemen" had as much internal life as we do ourselves -- they just didn't have as much technology.