skysight-inc/HackerNews huggingface dataset:
I'm trying to understand this one, even if most of my ASM knowledge is from the 8086 era. My guess:

* When an interrupt, debug exception, ... occurs, the CPU pushes stuff on the stack as part of the task switch.

* The stack is managed by 2 registers: SS and (e/r)SP. To change your stack, you have to change both registers. If an interrupt happens and you've changed only 1, stuff gets pushed on an invalid stack and you're toast.

* To fix this, the CPU has a wild card: When you change SS, you get exactly 1 instruction that will not be interrupted. The idea is you use that instruction to change (e/r)SP and make the stack valid again. If there is a need for an interrupt, it will be delayed for 1 instruction.

* Now this being a security problem, what would happen if you use this second instruction to switch to kernel mode ? It turns out the delayed interrupt happens before the first kernel mode instruction, but in the kernel.

* And you can trigger the right kind of interrupt with debug exceptions and single stepping.

* And if you do this, the kernel tells the debugger not about the debugged program but about the kernel. Oops.

So to fix this, I suppose the kernel checks the debug exception info from the CPU, and if it is debugging the kernel it fixes things up so you go back 1 instruction.
To be honest these are premium prices: https://system76.com/laptops
Bathroom of 7/11. I was doing freelancing while still in college and we were traveling for a tournament in Lewisburg. I realized that I let a bug slip into production and had to get a fix out immediately. So there I was middle of nowhere, PA, connected to nearby Wendy's committing code fixes, while the guy in the stall next to me had crazy stomach problems. Somehow I still believe that the smell of Wendy's burgers that guy had were responsible for me writing about 50 lines + couple of tests in less than 10 minutes.
Scala is a very confused language and specially about the use of Options vs null. I find that Rust and Swift enforce Options a lot better.
I'm sure some genius could come up with a marketing campaign around "Fartless Beef".

Here, I'll give it a try: "Think outside the butt."
It's funny because it's (partially/mostly) true.
Uber will resume testing self-driving cars in ‘a few months,’ CEO says
As a Malaysian, this win is so amazing. Literally against all odds. I’ve never been more proud of my fellow Malaysians.

Najib had control of the Election Comission, Registry of Socieities, Attorney General, Inspector General of Police, and his own political party.

With this power he shamelessly gerrymandered, deregistered the opposition coalition, appointed someone to proclaim him innocent in 1MDB investigations, locked up the opposition leader, and sacked critics within his own party including the deputy prime minister and a VP.

Then there was also the EC who set voting date on possibly the most inconvenient date, new laws to bar advertising of the opposition prime minister candidate’s face, the Sultan who spoke out against the opposition and the Agong who stripped some opposition leaders of titles.

This is indeed a historic moment.
I run nodejs server, postgresql db server(configured to use low memory), installed android studio, developing an react native android app on emacs with i3 window manger on a crouton based chrooted debian os. I am really surprised i can do all these without much delay. Chromebook is really working well for me. The only problem is the samsung chromebook i use has only 8 gb of ssd and after all these i have about 2 gb left. I hope google takes the low ssd memory chromebooks in to account.
He leads a breakaway party (the Malaysian United Indigenous Party [1]) that jumped over two years ago from the ruling party to the opposition coalition. That party is only a bit over 10% of the coalition that won this election (12 / 113 seats); he's basically a figurehead/placeholder with good name recognition, holding the spot until the leader of the largest party in the coalition (Anwar Ibrahim of the People's Justice Party [2], with 49 of the coalition's seats) finishes the jail sentence for his politically-motivated sodomy charges.

[1] https://en.wikipedia.org/wiki/Malaysian_United_Indigenous_Pa...

[2] https://en.wikipedia.org/wiki/People%27s_Justice_Party_(Mala...
Going by the descriptions here, riding the bus in the US is worse than riding one in India.

In Germany, smoking on a bus is unthinkable, and the bus drivers (and other passengers) will throw you out pretty much immediately if you lit a cigarette.

I've also never heard of people peeing in the bus, let alone encountered that, even though I regularly use public transit at all times of day and night.
It would be interesting to see more transparency in the data about the carbon footprint of what we eat. My personal feeling is that plant-based food from across the world has a smaller carbon footprint than local beef, but I haven't seen any data. You may be right. In either case, eating more local food and more plant based food are both good trends.
Yeah, just like they invented Unit/Void singleton in functional languages.
Q: why were you writing code there and not afterwards?
Don't get me started on the other best, "Best of Breed". Nothing in software or programming is a binary system, best and dreadful.
Two years into my programming career, there's still almost nothing I do that isn't just implementing the best way someone else thought to do it. And I still have a lot more to learn before I would start off on my own. My only problem with best practices is that sometimes there are too many and living up to them all would take all your time. And some of them are just evangelists for niche ideas and it's hard to tell.
b2b business is based upon best practices though, you cannot have a startup mentality (hack or disrupt) when its legal consequences would outrisk the possible gain
The x86 ISA and its implementations are now in the spotlight of the whole security research community. There is probably a lot more to come since it accumulated a lot of cruft in the name of backwards compatibility.

I hope we learn a lot, and take the time to record the experience, for coming platforms like RISC-V and others.

Why is there no big CAVEATs document from intel detailing weird quirks. I strongly assume the intel arch engineers are well aware of many of those counter-intuitive behaviours in their products.
Mainly comparing what you can get for a similar price in terms of CPU speed and memory size for half the cost. Their $920 laptop compares to a $500 Dell. In theory this is worth it because you're paying for that awesome Linux integration, but in practice more people buy the Dell laptop so more people are invested in making it work for daily use.
Hmm I wonder how many employees s76 actually has? because in the reply from s76 it hints towards a rather larger company than 21 people.

"System76 is also focusing on several other time-intensive efforts (like building a US-based manufacturing plant, designing in-house products, and building a well-received GNOME-based OS for both System76 customers and any interested users)"

Like shit if they are designing and building a manufacturing plant with 21 people in house whilst also maintaining normal business selling and maintaining hardware... My hat goes off to them...for either being amazing or being so crazy stupid to think they could pull it off!
This is one example of many instructional resources that people in the SCA have put online over the decades.

Spending time perusing knowledge sites other than the latest JS framework tutorial does tend to produce sharing of this kind.
I've had my System76 Lemur for a couple years now and have had absolutely no problems with it.
> how I don't have to worry about it fading like the next programming fad.

I'm not sure I understand this bit. What other programming language has "faded" and how has it "faded"? At least since the more mature age of software, which I'd say started around '95 or so (so 20+ years).
>So are you saying that you don't allow them to say no to the first-stage, and have it pop up immediately after, or that you pop it up every time they open the app?

Basically we lock them from going further in the app by repeatedly showing the dialog immediately after a "no" answer, because at that point they need to scan barcodes and if they can't then the entire app is completely useless anyway.

>I don't think it's innately condescending to ask someone for permission and outline exactly what you need the permission for, but I don't know the copy you are using.

It just feels like it to me. We found it difficult to explain how you MUST say "yes" to the next prompt, it's for barcode scanning (which explaining this alone feels condescending, the app is called "x barcode scanning" FFS), the app cannot function without it. Just asking to ask alone feels wrong. I want my applications to be as easy to use and straightforward as possible, and doing stuff "automatically" rather than making the user manually do it is like 40% of my job, so it feels really wrong when I need to make it worse in that way.

>Have you tried putting the reasoning on the second dialogue or is this a native one that is uneditable?

Yeah it's the native one, so you can't change what it says.

It's tough, i can understand not wanting to allow websites to spam notifications constantly, but the "you only get one chance" really sucks.
We were collecting microgravity data. Found a bug. Couldn't waste the flight, they cost $20,000 per flight.
Because the actions that would be obvious outcomes of the identified problems are pointless to suggest, they will never happen.

For example, a key issue identified in this discussion is the perceived career risk of being friends with women at work. Stories have been shared about harmless comments that came back to bite innocent men years later, or being described as creepy, and of course, we've all seen the string of high profile men losing their jobs based on mere tweets.

An obvious action that could address this is for women to stop collectively insisting that they never lie and that they should be able to shoot down the career of any man based on nothing more than a complaint to HR. But there is no sign this will happen, why would people give up such power.
Sanity check, does gcc support all of these?
The fine point though is that asserting != believing. In population with largely anti-Israel feelings asserting it may give you short term political benefits.
Oh i forgot to mention i have installed android on the chrome book and i can run react native android app on the chrome book.
This is one of the first times that I know of that the Linux kernel and Windows kernel developers discussed a security issue together directly. So while the fix was much simpler than Meltdown/Spectre was (Linux was fixed with a patch that was written in 2015) overall, the communication between different OS kernel developers right now is very good.

And yes, it is all due to the horrible Meltdown/Spectre problem and how that was handled. We were not allowed to work together for that problem, and we do not want to that to happen again.
It definitely had it's quirks (e.g. the notify-send modals which didn't provide a way to manually close them), but it's still the DE I find myself most productive with.
In my city, a new project was started that did precisely that. Dedicated bus lanes for almost the entire route, bus stops spaced about a mile a part, and 8 busses per hour.

It received massive criticism when it was constructed, as there already was a functioning network and the project was quite expensive compared to other bus lanes. It did become a massive succes, as its a viable alternative to the train for commuters due to the shorter travel time.

They are in the process of replacing the diesel busses with electric busses, first on the short routes and in 2020 on the longer routes.
LXDE/LXQt is what I think of when I read your descriptions.

It's Openbox (which is a really capable, lightweight non-tiling window manager) plus a panel plus Xfce Power Manager and similar applications to handle the desktop environment stuff.
Couldn't have anything to do with Apple losing their tax dodge now could it?
Introduction of the world's first 8-hour working day in Barcelona in 1919 (2006)
What about my freedom to choose an ISP? If this is really about freedom and not just another cash grab, why doesn't Pai regulate that monopoly rules are illegal?
Friendly failure messages with simpleUpload.js error handler XHR object
It's awesome that going vegan is becoming trendy. Companies are starting to see that creating products that are environmentally friendly actually has a positive effect on their bottom line.
Librem 13 is pretty good so far.

I just moved from my x230 (FHD mod, coreboot, and x220 keyboard) and the only thing I miss is the trackpoint so far.
Usually when I'm working on a site's performance I do actually suggest a smaller framework.

Most people think they need React because it's popular/cool when really it's super overkill and they'd be better off with a lighter MVVM framework that still gives them components.

That's why I'm a big fan of Mithril, Inferno, and Preact. They're so much smaller than Angular and React.
Google Docs, sheets, slides, and a big one is Google Classroom.

But what I like is the analytics. It is all about taking the gut out of matching students and teachers.

I have 8 kids and you get a link with everything broken down by kid and can drill down.
That is a trap and why people give that advice so freely. Sure, today you just want to parse these files just the once an never again, ever, really I mean it.

Can you determine if it's <html><body>Yes</body></html> Vs <html><body>No</body></html> well sure and even more complex operations also 'work'.

However, if you control what's going on then don't use regular expressions it's wasteful overhead. If you don't control it then you can't tell if it will stay like that, which is the trap. Things that don't change the meaning like swapping the order Attributes which does not change the meaning will often force an update to your regular expression.

PS: It's also why these are called best practices not physical laws.
Counterpoint: NYC subway. Big fucking deal they're some crazies. The subway is great.
For people who have little / no experience with Linux, an easy low-expertise required install makes all the difference.
Not for readability. Checking for NULL becomes second nature after programming on a real world C project for a while. I cannot recall the last time I forgot it.

On the contrary, I wish C had INT64_INVALID etc., which would facilitate some APIs considerably. Of course that's a dream that would require something like 72-bit words, where one byte is reserved for flags. This would also be a dream for GC flags...

Also, since Hoare et al. the tooling has gotten much better. Valgrind catches really almost everything.
I believe the last half of your message (ie. a virtual assistant) is going to be really big in the future.

It should be able to handle basically any rote tech interaction for you, from shopping, people screening, service issues, non-personal mails, you name it. If for example the back-end service issue channel on a shop ran a matching protocol then the issue could be logged in fractions of a second, the savings in time for both you and the company in question would be huge. (Of course raising problems if you can't afford your own assistant and now need to call in manually to the 3 human operators that are still employed).

Combine that with a physical assistant (robot) that can handle the physical tasks such as bringing the shopping inside and storing it, managing cleaning etc and you're going to have a winning combo.
Googles business model is selling manipulation as a service.

The idea that google is doing all this work on AI to make the bait through which they collect your data more attractive but won't then use AI technology to make their _core sellable service_ better for their paying customers is weird.

Of course they will do machine learning to provide an 'optimal price API' so businesses can gouge you more effectively.

Of course they will do machine learning to find recovering alcoholics to target your booze more effectively.

This type of thing is Googles reason to exist and since we're all so cheerful about unconstrained capital if they don't do it someone else will.
And in Germany it's national holiday. Really great.
I went with it because if a project had binaries at all, there was likely a .deb tested with ubuntu. If there were drivers for linux, they were likely tested against ubuntu. Ease of installation is rarely talking about the install screen; it's talking about everything just working without having to dig around the internet, and installation is a good proxy for that.
I think we have a mini-Microsoft now in the space. It's nowhere near as big of a problem because Canonical doesn't have that tight of a grip on the industry, but I get the feeling a lot of "officially supported" things only support Ubuntu and users feel it's stuck to Ubuntu with whatever their stock choices are, just like nobody can use a different OS because all their Windows software is "stuck" on whatever the newest version they "force" users to upgrade to.
Downvoted, and I want to explain why. It's not because I disagree (I do), nor for the tone (tho it's unpleasant), but because it presents what only looks like reasoned argument on the surface, while suffering from internal logical inconsistency. Your comment isn't legit dissent as a persecuted minority, it's nonsense.

You say "...it's not climate change, it's [X,Y and Z]."
But you list things that are perfectly consistent w/ dire warnings from consensus scientific community that global warming is _definitely_ real and _probably_ anthropogenic (tho this latter is less important).

Then (paraphrasing),
"things have been getting warmer for a long time so it's ridiculous that there was a tipping point in 2015".

And you detest people who don't follow this "logic".

Next we have a half-baked strawman arg about blaming capitalism...

You're right that pollution is a massive problem, but while true it's also (nearly) irrelevant to the question of ocean temp.

I strive to avoid feeding trolls, but posts like this that only look substantial on the surface are even more corrosive and imho worth calling out.
Just going to point out here that this kind of article (detailed instructions on how to make something historical, with plenty of exploration into said history) is plentiful in the SCA (Society for Creative Anachronism). The author was an SCA participant of many, many years.

Well worth losing an afternoon exploring.
Enhance your Java Spring application with R
US Gov't Agencies Move to Adopt IPv6 as Demand Grows for New Devices
Farewell from the Pineapple Fund
What struck me the most was the business decision from Google to have it make reservation calls, and not take them. Granted, the technical complexity between the two might be an order of magnitude, I don't know.

They are purposefully "giving" it to millions of customers and rolling out features with time, instead of holding out for more research and actually selling a phone assistant system to businesses. I think this speaks volumes in and of itself, and I would interpret it as a sign that competition might not be so far behind.

Or maybe I'm reading this wrong?
Patched production via a blackberry on a merry-go-round at the state fair. My daughter insisted on ride after ride and production was down.
Optionals are a better alternative to null. They compose better (i.e., they nest) and play nicely with data abstraction (i.e., you can define an abstract type that hides the fact that its underlying representation is optional), unlike null.
Guide on Building an Audience and Preselling Products and Services
Task Spooler for Linux Commandline
The maternity ward waiting for and after my wife gave birth. Don't judge if you haven't been through it: with real life labor there is a LOT of waiting before the big dramatic moment you see in the movies, and afterward, a lot of sleeping for both momma and baby. You can go a bit stir-crazy from all the excitement and confinement. Gotta calm down the nerves with something.
Spotify Removes R. Kelly from playlists - part of Hate Content & Conduct Policy
> utterly charmless

Really? I find them utterly beguiling :-)

http://www.girdersandgears.com/models/hs-stabilstreetcar.htm...

http://www.girdersandgears.com/erector-zeppelin.html

> global ... appeal of Lego

Oh, I know. It just falls flat with me. I'd happily decorate my office with Gilbert constructions like the pictures linked, but never Lego ones.
Swtich to lightdm from gdm3 and you'll be able to choose it in the login screen.
"Looking to nab Nvidia's GeForce chips? You need cash and patience

GPU shortage equals four-month wait time for buyers"

https://www.theregister.co.uk/2018/03/30/nvidia_geforce_chip...

But you are missing my point. Google is not dependent on Nvidia.

Really does not look like Nvidia could do what they need anyway. Doing their new text to speech on Nvidia I would not expect to have a price point to make viable.
Inside a church while it was at service. Good thing there weren't many people attending otherwise I guess it would be quite uncomfortable.
Douglas Walton has been my go-to on these topics for years. For those interested in a more professional presentation of some of the concepts used in this blog post, try this:

http://www.dougwalton.ca/papers.htm
Which features do you see causing problems? If constexpr has been fantastic, and outside of that, I mostly benefit from broader metaprogramming power.
Dragonfly descends from FreeBSD so it makes sense that it's affected.

The other BSD's have different kernels and vastly different development histories as well.
Rolls-Royce Debuts Its First SUV, the $325,000 Cullinan
I think the GP is pointing out that people tend to overestimate how powerful these techniques are and that using the term AI might have something to do with that.

Not that it isn't impressive: it's just that we are pretty far off from anything resembling what "Artificial Intelligence" may come to embody (ignoring, for the moment, all fuzzy definitions of intelligence).

It's like building a paper airplane and worrying about the aging effects of space travel at light speed: maybe a good thought experiment but not that big a concern right now.
Similar in the Netherlands, plans for a tram line, turned out to be to expensive, got changed to bus line with dedicated lanes. Even though it was built to make an eventual transition to a tram easy, this seems to work better in hindsight than dedicated trams.
> "Naming this field AI was a poor choice."

Amen!
I coded every day I went to work on New Jersey transit into New York City with the following setup:

- Ipad Mini in a case on the coat hook on back of the seat

- Amazon Essentials Bluetooth keyboard

- RasepberryPi3 with two wifi cards

- IPad connected to one wifi card from above and other wifi card hooked into my phone's hotspot

It was great because I could have the IPad at eye level and my keyboard in my lap.
Being able to detect whether the ‘real’ device is listening won’t help much there, won’t it? The villains wouldn’t be so stupid to copy that feature to their recording device.

Also, you’re safe as long as you don’t buy and configure such a device (that may change if speaker recognition ever gets so good that devices other than your own will recognize your voice and bill whatever you ask them to do to your account)
Yes, I am. But from a Youtube channel called "Hoffman Academy". It's aimed at kids below 15, but I like it.
literally, sitting in the street, next to the Vatican to fix a bug before a demo with the Holy audience
Those are prices I'm comfortable paying for a ThinkPad, XPS, or Macbook. And all of them run a Unix variant (Linux or MacOS) very well. System76 needs to be offering similar levels of build quality and support for those systems to be worthwhile.