skysight-inc/HackerNews huggingface dataset:
PostScript at least has the excuse that it _is_ a programming language (for assembling documents for printing, but still a proper programming language) while PDF is supposed to be a fixed document format. PDF has far too much power for what it is supposed to do.

Microsoft got it right with (O)XPS -- none of that dynamic stuff that lets you do all kinds of naughty things to the system with a properly formed document like PDF can do.
So you think people shouldn't have a say on whether the minimum wage should be raised or on whether gays should be able to marry. Because, obviously, whatever the elite chooses is going to be okay for you, right?
On a more serious note,

> alias www='python -m SimpleHTTPServer 8000'

that'll only work on systems where python is python2

> alias speed='speedtest-cli --server 2406 --simple'

speedtest-cli automatically selects a server, invoking it without any opts at all is perfectly fine

> alias ipi='ipconfig getifaddr en0'

the interface name is not predictable, nor portable - `ip a`

Most if not all of these aliases seem rather pointless after all
Vintage car with no Bluetooth? Amazon’s new Echo Auto could be a good solution
Just one question for all HNer's here.

Once this trial commences, how long will it take for the final verdict to be out?

Not much acquainted with the US judiciary, but the initial chargesheet by SEC says they demand a jury trial.
Using flashrom [1] you can dump the contents of your SPI flash for the inspection and open the image with UEFITool [2]. Both tools are opensource and developed for years. Some people recommend to use chipsec [3], but it can less in terms of dumping and unpacking. The state of security in UEFI firmware is horrible, thing is overengineered and poorly written (bad code practices). Not to mention Intel ME/AMT/etc that also provide the easy way for attacker to persist and hide itself once compromised. Projects like coreboot [4] and vendors like Purism [5] allow the tighter control of your own hardware, but thanks to Intel it still has a lot of blobs of a bad code. Apple realized they can't trust Intel and other "BIOS" writers, so working on improving the security and codebase. Thus the state of affairs is slightly better on Macbooks. I believe x86 firmware world is beyond any hope to get any better and everyone should focus on building better hardware/architectures from scratch. Hopefully companies like Raptor Engineering [6] can shift the mindset of consumers.

[1] https://flashrom.org/Flashrom

[2] https://github.com/LongSoft/UEFITool

[3] https://github.com/chipsec/chipsec

[4] http://coreboot.org/

[5] https://puri.sm/

[6] https://www.raptorcs.com/content/base/products.html
One of the SEC's core jobs is to protect investors from corporate officers who lie to them about the state of the public companies that they are running. This is precisely what Elon Musk did.
Whistleblowing would be a good middle-ground here. Also, I don't think sabotage would be as efficient since FB would just restore everything in an instant.

The problem with whistleblowing is that the consequences need to be more direct and actually leave a dent. As it is right now, FB can absorb pretty much any fines they're hit with.
Hey HN, I've been building Intuition as a side project for a few months now to scratch my own itch. I believe that there are a ton of valuable insights sitting in the meta data in Git repositories and developer-focused tools (JIRA, Trello, Slack, etc.). This data largely goes untapped. This is my attempt at unlocking some of that value.

I focused on a couple of specific use cases:

* daily standup reports to replace or augment your existing standup
* historical activity reports for sprint retrospectives
* code change notifications so you can know when to provide just-in-time feedback

It isn't anything too sophisticated just yet, but I've already gotten a decent amount of value out of the tool in working with my own team.

Thanks for checking it out! Please let me know if you have any questions or feedback. It would also be awesome to hear what sort of reporting you would want to see next.
It blows my mind that we can compress a magnetic field with chemical explosives. I wouldn't have expected them to interact much at all.
it is indeed used in a few top 10 apps
In America, it’s common to be able to vote on 20+ items in a presidential election. Plus, each state is responsible for conducting its own elections.
You heard it here first, folks. Kick out the visionary who has started three billion-dollar companies, and bring in some neutered CEO who is fluent in corporate-speak to take over operations. Surely, this is the correct decision - These men like Elon are too unstable to run the companies that they have spent their entire lives creating! Thanks, ckastner.
A perfect recreation of the Enterprise-D in an "Experience" that you just walk around, would probably not have been a problem for CBS if that's all it was ever going to be used for. I think the problem for CBS was that anyone could take the model and assets and turn it into either a game, or use it for CGI to place behind actors filmed in front of green-screens.

Now you could argue they could have waited till somebody did that and then tell them to stop, but with such a high quality model available it would make a game or film so much easier and cheaper to produce that they could likely see several projects using it, and have to fight several legal battles to stop them.

If they kill this now, they don't have to worry about that possibility.
I hear you.

When I'm working with a chainsaw I'm 'accurate' to within several millimetres.

Through a tablesaw or bandsaw etc I'm closer to 1-2 millimetres accuracy.

It's rare I need to get to thickenesser levels of accuracy (0.5 millimetres, say) ... but I usually work with more forgiving softer timbers.

A friend of mine does some seriously precise metalwork - down to 'thousands of an inch' (he's English, but has lived in AU for some decades). It's beyond my realm, though the level of accuracy transcends measurement systems -- whether it's thousands of inches, or extra zeroes after the dot for fractions of a mm -- it's a matter of tooling, or, as I say, gradations on your rule!
dock is one of the oldest apps on macOS, was rewritten in swift when it was announced.
No this is simply what they are good at it's like a vaccine it won't help you against mutations or something that was engineered but it's not a reason to not vaccinate when it's does cover a large number of other infectious diseases.

So unless you going to say that vaccination is survivorship bias because we don't have them against some diseases I really don't see your point.

Windows Defender will block virtually every common infection these are what most people get hit by, it will also block virtually all ransomware and you can see just how much the ransomware "market" got hit once they implemented it to see that it is effective.

Yes it won't protect you against NSA or some high end hacking group that writes completely custom malware to target single individuals but you are also not likely being the target of these.

But you are likely be target of the 1000's of known threats that are spread through driveby attacks, infected media and pretty old stuff you'll be surprised just how common 5 year old infections still are.
Holy return of tuple spaces! Are there any features for controlling consistency, or is it just YOLO last write wins?
As someone who has actually interacted with leave voters it most certainly didn't mean that for everyone. Taking such an extreme position and then claiming that it's what the people voted for is farcical.
Thanks. This looks familiar, but I thought I had seen something similar in a blog form. Edit: Found it! https://dendibakh.github.io/blog/2018/01/18/Code_alignment_i... https://news.ycombinator.com/item?id=16198171

FWIW, this is what the function looks like at 0x10070:

0000000000010070 <_Z3fibl>:
10070: 48 83 ff 01 cmp $0x1,%rdi
10074: 7e 32 jle 100a8 <_Z3fibl+0x38>
10076: 55 push %rbp
10077: 31 ed xor %ebp,%ebp
10079: 53 push %rbx
1007a: 48 89 fb mov %rdi,%rbx
1007d: 48 83 ec 08 sub $0x8,%rsp
10081: 48 8d 7b ff lea -0x1(%rbx),%rdi
10085: 48 83 eb 02 sub $0x2,%rbx
10089: e8 e2 ff ff ff callq 10070 <_Z3fibl>
1008e: 48 01 c5 add %rax,%rbp
10091: 48 83 fb 01 cmp $0x1,%rbx
10095: 7f ea jg 10081 <_Z3fibl+0x11>
10097: 48 83 c4 08 add $0x8,%rsp
1009b: 48 8d 45 01 lea 0x1(%rbp),%rax
1009f: 5b pop %rbx
100a0: 5d pop %rbp
100a1: c3 retq
100a2: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
100a8: b8 01 00 00 00 mov $0x1,%eax
100ad: c3 retq

Edit: It's interesting to note that there's only one recursive call to the function, not two (you get two calls if you compile with -O1). It's also interesting to note that -Os generates an even smaller version with only one recursion, but that ends up slower (~6.5s).
If Linux included functionality to have the firmware legitimately push applications at boot time you’d be able to just remove that functionality.
Excuse me but the wet lawn mower clippings mixed with cinnamon and spicy chai with a shot of 5w40 for texture that is currently in vogue is not "good beer". I want a beer I can drink, not one I have to endure.
My point is more for Tesla being in the news than Musk. If the two are split an uninteresting, board appointed CEO will need a different marketing strategy as Musk will likely take the soap opera effect with him.
Who are the "elite"?

I'm guessing they're not the elected representatives of the people, right? Otherwise, there wouldn't be a problem with them making the decisions they've been elected to make.
California and other places have shown referendums can be be a mess. Sometimes you do need people in government who can at least know some of the lay of the land / consequences making decisions rather than the population voting on broad concepts that may not even get them what they want.
The purpose of making the process difficult is deliberate, to dissuade users from doing so.
Have you seen what the SEC has been doing to crypto? You're telling me the chairman appointed or Trump couldn't stand to benefit from their decisions? https://www.investopedia.com/tech/bitcoin-vulnerable-sec-man...
And that can be criticized even if you support the right to choose. They should have cared how.
By long term do you mean less than two years? He could have come back after two years of boring leadership.
Adopt an Entrepreneur Mindset to Enhance Your Career
Conducting an Interview Loop–Part 2: Sending Cold Emails
Are there any plans to provide browser detection in the worker API? I imagine it's possible to implement as a user now, but may be clunky to provide a dataset to work from. This seems like a killer feature to have on edge workers to allow serving optimized builds for based on browser feature support without paying the overhead of client side detection.
I think our biggest problem is we bundle a huge part of the "criminal" spectrum together.

The fact that we incarcerate for drug possession seems pretty strange. Petty crimes have way too high of cost in and out of prison.

I associated with a boy in highschool who shortly after graduation murdered two unarmed people in their home with a sawed off shotgun. I would consider him a very bad person.

Both the petty and the extreme carry the same label. Each join the untouchable class.

I'm not sure how to fix that, but it's an issue worth solving
That'll definitely be nice, for people already using the language, but I don't know of anyone actually held back by that. I'm more concerned by issues like lack of a good concurrency story, and lack of a good cross-platform story (differing behavior on Darwin/Linux, no Windows support).
> If you are putting millions of dollars at risk based on a cryptic tweet, you are failing at your job as much as Musk failed at his

The SEC lets companies make corporate announcements on social media. If a company says "I was just acquired for $900 a share," I would consider that material information worth trading on. If a company says "funding secured," which has a very precise and technical meaning in corporate finance, in a corporate announcement, I would consider that to be similarly material.

Our capital markets won't work if straightforward misstatements in corporate announcements are permitted.
It looks like the 10nm process problems caught Intel very unprepared, which suggests bad news were not traveling as quickly and as far as they should. This is an issue with companies above a certain size.
I live for these kind of zingers!
You must be new to Capitalism and Apple.
>Funding was secured in the sense that the potential buyer had the funds.

If you're blind to this whole story, I suppose you could believe that. Who was the "potential buyer"? We heard VW and the Saudi fund, both who said it was nonsense.

Beyond that, according to the complaint, nothing was discussed with the board and there was no possibility that small shareholders could remain (or institutional investors for that matter) if Tesla went private. There was no discussed price. Musk wanted to "burn the shorts"; he was trying to do so for months. Whoops.

And have you considered that this is only just beginning? I mean, it's not impossible that this blows over, but it's also possible -- with a DOJ investigation ongoing-- that this whole thing implodes. The world is tiring of the games Silicon Valley plays.
You're absolutely correct.

You know those little desk fans that come with a USB now and also an adapter to plug into the electrical outlet. I don't plug those into my laptops ever - who knows if there's a payload on them.

I will say this. I currently work, and have worked at, a few secret and top secret facilities - and the number of people I see plugging those (and similar) devices into their laptops is scary.
I'm personally hoping that Brexit, combined with a lot of the more nationalist governments that are beginning to pop up across Europe, is going to lead to the EU moving away from the combined European government it's been angling towards and back to the combined economic network it originally began as.
Yes, it'll be our first official LTS release. I think the specifics aren't yet released but I think the intent is to make it more like the RHEL LTS policy & lifecyle.
A New Way to Count Qubits – Syracuse University News
It shouldn't propagate, but the whole thing should be magnetized at that point, right? While you've got that electro magnet on you could probably stick fridge to the big iron magnet you've created with the container?
If you can find a good Javascript library for doing it you can build it into your Worker with Webpack.
And broadly speaking by the cube of the distance from the source apparently. But in this case it decays from a mind-boggling starting level by everyday life standards.
If that camera is 5 meters away from the source the field there is still about 10 Tesla. I think that's about an order of magnitude more than most MRI machines for clinical purposes, and those already warrant a good deal of care with effects on metals.
Reduncy, avoid vendor lockdown, Worker KV is amazing. On the billion scale it is expensive.
> ... the divorce rate as a ratio of divorces to the total number of married women. So, the divorce rate’s decline isn’t a reflection of a decline in marriages.

Cool that they ruled that out, that was my knee-jerk assumption.

> Young people get the credit for fewer divorces because boomers have continued to divorce at unusually high rates, all the way into their 60s and 70s.
That's emacs, not bash. It only works when "set -o emacs"
https:// with no extra options is still very much prone to downgrade/stripping attacks, and first-time connections to an https:// site are particularly vulnerable since a lot of the extra hardening options (HSTS in particular) can be nullified through TOFU.
Haha, I had assumed someone would mention that.

But most Lisps are pretty rough-and-ready about these sorts of things. IIRC, Scheme requires the body of the lambda to be a single expression, doesn't it? And then you just cheat your way out of it with (begin ...).
Very nice. Grails and jQuery both fall into the "really cool, but not the 'current hotness'" category. I would argue that Grails in particular is very under-appreciated these days.

Switching to Grails was a very positive experience for us. The only real downside has been the way version upgrades have sometimes been moderately painful. But at least part of that is our fault, since we fell WAY behind the current version at one point and had to upgrade an app from 2.2.3 to 3.3.6.

Anyway, if you haven't looked at Grails yet, or haven't looked at it recently, give it a look. Just because something isn't the Fad of the Day doesn't mean it isn't mondo useful.
>Kick out the visionary who has started three billion-dollar companies

So the fact that he may be a fraudster is irrelevant to you?

By the way, he didn't start Paypal or Tesla.
Not if it's the right kind of epoxy...
I keep thinking he MUST be smart right?

Or did he get a winfall on Paypal and now throws a bunch of money at talented engineers?

I remind myself smart engineers might not be talented leaders.
Unstable? Do you have any idea of the history of Elon Musk and his companies? Obviously you don't, and obviously you are talking out of your rear. You should read up about Tesla and SpaceX in 2008 if you want to learn about the conditions that might make a man unstable. Posts like these make HN readers look like vapid, patronizing high-schoolers.
Isn't by suing him they hurting the investors more?
That of course depends on what you think it’s supposed to do.

PDF is not just a representation of paper, you can for instance also build forms.

It would be nice if there was a separate ‘static paper’ only extension/mime type but there isn’t.
Right, and you price the rent based on that risk profile. A price that is absolutely going to be higher than the mortgage, unless as another commenter pointed out, there are incentives & tax breaks that cover the cost you would otherwise bear.
Mycli: A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting
This is an absolute no-brainer. Mosquitoes are flying disease vectors that deserve to be eliminated. In the Americas, they're an annoyance, but in many other parts of the world, they cause millions of deaths per year.

Many studies have shown that the extinction of mosquitoes would have little if any ecological impact. I think if we had to worry about malaria in the Americas, we'd have eliminated mosquitoes years ago, and this wouldn't even be a question of whether or not we should do this.
American Woman Accuses Ronaldo of Rape
> Kick out the visionary

That wasn't what the SEC proposed in their no-guilt settlement. It was Elon giving up the Chairmanship and appointing two independent directors. That isn't crazy. It wasn't dethroning the king. It was adding sensible checks to a situation that screams for them.

That offer was rejected. The SEC's response is to hem to the statutory punishment for public, material misstatements in a corporate announcement by senior officers.
Discussed once already. Lots of good points made in the comments.

https://news.ycombinator.com/item?id=18068003
Why don't you tell us, what horrible things has he been doing to crypto? And how will the SEC chairman and Trump benefit?
Most of it won't be because the C++ constexpr version has the same IO call and runs in <0.1s.
> If you can't blame them for picking a poorly defined option out of some jingoistic notion of what the UK should be, what can you blame anyone for?

How's the view up there on that high horse?
It's mind boggling the number of users that google products have.

I couldn't imagine my code impacting 2 billion users, but the chrome team has to every goddamn day.
I am very much looking forward to forthcoming posts describing the actual architecture and specifics -- this is a great high-level overview, but I hope and expect they will expand on this expose soon.
Hacker says he'll livestream deletion of Zuckerberg's Facebook page
From HN Guidelines:

If the original title begins with a number or number + gratuitous adjective, we'd appreciate it if you'd crop it. E.g. translate "10 Ways To Do X" to "How To Do X," and "14 Amazing Ys" to "Ys." Exception: when the number is meaningful, e.g. "The 5 Platonic Solids."
Wow, I had no clue about the space bar shortcut in htop. Thanks!
I’m not sure medication needs to be involved. I don’t care how superhuman you might think you are, if you work 100+ hour weeks for that long, it’s going to mess with your mental state.
How Businesses Can Leverage the Use of Technology
>TL;DR I want Captain Ahab at the helm, chasing his White Whale, swinging for the fences.

I want people with the integrity not to commit securities fraud.
Assuming the laws don't change. Also, you're just externalizing the cost to everyone who pays taxes. Not my favorite business model, but carry on.
Keep in mind that all modern routers are also tiny computers running a Unix variant like busybox. They can run arbitrary programs and they’re connected to everything you have by default.
Most people selling drugs make around minimum wage in the US. What makes it attractive is you don't pay taxes, a small percentage get rich, and most people have few options.

I would assume the most gang members in Madagascar are making even less.
It's a pentesting technique, used to assess the level of effectiveness of user training.

While your final comment is accurate, it is impractical as usb mass storage is still required in many places. Also, you can't effectively block HID, and an attacker can use HID disguised as or in a thumb drive to successfully attack a network.
Hacker to Live-Stream Attack on Mark Zuckerberg's Facebook Page
Yeah everybody always skips right over Gen X ... The NYT covered divorce in a better article with a better graph four years ago[1].

The life lesson here is that the things Boomers say are going to happen to other generations are actually going to happen to them instead. They said we were all getting divorced but that was them not us. They said that video games were going to rot our brains but in reality it was them and Fox News, not us and Nintendo. And on and on.

1: https://www.nytimes.com/2014/12/02/upshot/the-divorce-surge-...
I see how that could be confusing; I'll add clarity around pricing. Currently it mirrors the way serverless computing is priced - per second of compute time per instance. So, your second example is correct.

I started with $0.003 per second, because it aligns with existing cloud-hosted grids. An example pricing model is ~$200/month for 2 parallel instances with 1000 min. Assuming unlimited parallelism, you get $0.00333 per second. 20+ parallel browsers on existing services are at least a couple thousand every month.

I don't think remote grids are the best solution for every test performance problem, and for some test loads, local runs can be faster. That said, pricing weighs into the remote vs local decision, so I really appreciate the feedback.
>but if you spent 10 years in prison for a bank robbery, you're probably are not going to get hired at a bank after the background check

I kind of find this example hilarious. It‘s not like people rob banks out of passion. They probably were in dire straits at the time and saw no other solution.

Now this person uses her time in jail to get the education necessary to work in a bank and you wouldn‘t hire her (providing them a steady income and thus financial security) out of fear they would come and rob their colleagues?

EDIT: I agree with you of course, it DOES depend on the crime. Think: pedophile working in ...church
> now they are gasping for breath in the competitive environment

That statement is beyond hyperbolic...